summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/T16270.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_fail/T16270.stderr')
-rw-r--r--testsuite/tests/parser/should_fail/T16270.stderr12
1 files changed, 7 insertions, 5 deletions
diff --git a/testsuite/tests/parser/should_fail/T16270.stderr b/testsuite/tests/parser/should_fail/T16270.stderr
index 323d9c93e3..40a986879e 100644
--- a/testsuite/tests/parser/should_fail/T16270.stderr
+++ b/testsuite/tests/parser/should_fail/T16270.stderr
@@ -4,7 +4,7 @@ T16270.hs:3:13: warning: [-Wdeprecated-flags (in -Wdefault)]
T16270.hs:8:1: warning: [-Wtabs (in -Wdefault)]
Tab character found here, and in five further locations.
- Please use spaces instead.
+ Suggested fix: Please use spaces instead.
T16270.hs:8:12: error:
Unexpected semi-colons in conditional:
@@ -14,14 +14,16 @@ T16270.hs:8:12: error:
T16270.hs:13:8: error:
Unexpected do block in function application:
do 1
- You could write it with parentheses
- Or perhaps you meant to enable BlockArguments?
+ Suggested fixes:
+ Use parentheses.
+ Perhaps you intended to use BlockArguments
T16270.hs:14:8: error:
Unexpected lambda expression in function application:
\ x -> x
- You could write it with parentheses
- Or perhaps you meant to enable BlockArguments?
+ Suggested fixes:
+ Use parentheses.
+ Perhaps you intended to use BlockArguments
T16270.hs:18:22: error:
Illegal record syntax (use TraditionalRecordSyntax): {fst :: a,