summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/T16270.stderr
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2021-03-10 15:28:48 -0500
committerBen Gamari <ben@smart-cactus.org>2021-03-10 16:58:50 -0500
commit115cd3c85a8c38f1fe2a10d4ee515f92c96dd5a2 (patch)
tree19214707fa15f127d05ae515c74cff7e85776a7c /testsuite/tests/parser/should_fail/T16270.stderr
parent30ccf9ed1f592531dac9f3d750278fac6303c3e4 (diff)
downloadhaskell-115cd3c85a8c38f1fe2a10d4ee515f92c96dd5a2.tar.gz
Use GHC2021 as default language
Diffstat (limited to 'testsuite/tests/parser/should_fail/T16270.stderr')
-rw-r--r--testsuite/tests/parser/should_fail/T16270.stderr37
1 files changed, 17 insertions, 20 deletions
diff --git a/testsuite/tests/parser/should_fail/T16270.stderr b/testsuite/tests/parser/should_fail/T16270.stderr
index a74bdeb8f0..6aecc3b264 100644
--- a/testsuite/tests/parser/should_fail/T16270.stderr
+++ b/testsuite/tests/parser/should_fail/T16270.stderr
@@ -1,71 +1,68 @@
-T16270.hs:2:12: warning:
+T16270.hs:3:12: warning:
-Werror=missing-space-after-bang is deprecated: bang patterns can no longer be written with a space
-T16270.hs:7:1: warning: [-Wtabs (in -Wdefault)]
+T16270.hs:8:1: warning: [-Wtabs (in -Wdefault)]
Tab character found here, and in five further locations.
Please use spaces instead.
-T16270.hs:7:12: error:
+T16270.hs:8:12: error:
Unexpected semi-colons in conditional:
if c then False; else True
Perhaps you meant to use DoAndIfThenElse?
-T16270.hs:12:8: 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?
-T16270.hs:13:8: error:
+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?
-T16270.hs:15:6: error:
- Illegal datatype context (use DatatypeContexts): Num a =>
-
-T16270.hs:17:22: error:
+T16270.hs:18:22: error:
Illegal record syntax (use TraditionalRecordSyntax): {fst :: a,
snd :: b}
-T16270.hs:18:5: error:
+T16270.hs:19:5: error:
Illegal record syntax (use TraditionalRecordSyntax): p {fst = 1,
snd = True}
-T16270.hs:20:6: error:
+T16270.hs:21:6: error:
Illegal symbol ‘forall’ in type
Perhaps you intended to use RankNTypes or a similar language
extension to enable explicit-forall syntax: forall <tvs>. <type>
-T16270.hs:21:8: error:
+T16270.hs:22:8: error:
Unexpected semi-colons in conditional:
if True; then (); else ()
Perhaps you meant to use DoAndIfThenElse?
-T16270.hs:23:10: error:
+T16270.hs:24:10: error:
Illegal keyword 'where' in data declaration
Perhaps you intended to use GADTs or a similar language
extension to enable syntax: data T where
-T16270.hs:25:12: error:
+T16270.hs:26:12: error:
Illegal bang-pattern (use BangPatterns):
!i
-T16270.hs:27:9: error:
+T16270.hs:28:9: error:
Multi-way if-expressions need MultiWayIf turned on
-T16270.hs:29:9: error:
+T16270.hs:30:9: error:
Multi-way if-expressions need MultiWayIf turned on
-T16270.hs:32:6: error: Illegal lambda-case (use LambdaCase)
+T16270.hs:33:6: error: Illegal lambda-case (use LambdaCase)
-T16270.hs:35:5: error:
+T16270.hs:36:5: error:
Use NumericUnderscores to allow underscores in integer literals
-T16270.hs:37:5: error:
+T16270.hs:38:5: error:
primitive string literal must contain only characters <= '\xFF'
-T16270.hs:43:1: error:
+T16270.hs:44:1: error:
parse error (possibly incorrect indentation or mismatched brackets)