diff options
author | Daniel Rogozin <daniel.rogozin@serokell.io> | 2021-04-26 18:33:06 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-04-27 21:58:32 -0400 |
commit | 9ead1b35e193b07e82af289cc85ab4b26cf89df6 (patch) | |
tree | 44c48619a52d6250291752495df455dcdcaa5d7a /testsuite | |
parent | 484a8b2dcc84d012621bdc24da8cb68ae07b159b (diff) | |
download | haskell-9ead1b35e193b07e82af289cc85ab4b26cf89df6.tar.gz |
fix #19736
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/parser/should_fail/T16270.hs | 2 | ||||
-rw-r--r-- | testsuite/tests/parser/should_fail/T16270.stderr | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/tests/parser/should_fail/T16270.hs b/testsuite/tests/parser/should_fail/T16270.hs index 4967eeb5ce..d053b98f60 100644 --- a/testsuite/tests/parser/should_fail/T16270.hs +++ b/testsuite/tests/parser/should_fail/T16270.hs @@ -37,6 +37,8 @@ n = 123_456 s = "hello ωorld"# -- note the omega +lam = \ -> 0 + -- a fatal error. k = let diff --git a/testsuite/tests/parser/should_fail/T16270.stderr b/testsuite/tests/parser/should_fail/T16270.stderr index 5bb5bea99b..6666ac7963 100644 --- a/testsuite/tests/parser/should_fail/T16270.stderr +++ b/testsuite/tests/parser/should_fail/T16270.stderr @@ -64,5 +64,8 @@ T16270.hs:36:5: error: T16270.hs:38:5: error: primitive string literal must contain only characters <= '\xFF' -T16270.hs:44:1: error: +T16270.hs:40:7: error: + A lambda requires at least one parameter + +T16270.hs:46:1: error: parse error (possibly incorrect indentation or mismatched brackets) |