diff options
Diffstat (limited to 'testsuite/tests/parser/should_fail/T16270.stderr')
-rw-r--r-- | testsuite/tests/parser/should_fail/T16270.stderr | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/testsuite/tests/parser/should_fail/T16270.stderr b/testsuite/tests/parser/should_fail/T16270.stderr index b4460b9cce..8ecb9a3e84 100644 --- a/testsuite/tests/parser/should_fail/T16270.stderr +++ b/testsuite/tests/parser/should_fail/T16270.stderr @@ -2,79 +2,80 @@ T16270.hs:3:13: warning: [-Wdeprecated-flags (in -Wdefault)] -Werror=missing-space-after-bang is deprecated: bang patterns can no longer be written with a space -T16270.hs:8:1: warning: [-Wtabs (in -Wdefault)] +T16270.hs:8:1: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here, and in five further locations. Suggested fix: Please use spaces instead. -T16270.hs:8:12: error: +T16270.hs:8:12: error: [GHC-75254] Unexpected semi-colons in conditional: if c then False; else True Suggested fix: Perhaps you intended to use DoAndIfThenElse -T16270.hs:13:8: error: +T16270.hs:13:8: error: [GHC-52095] Unexpected do block in function application: do 1 Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments -T16270.hs:14:8: error: +T16270.hs:14:8: error: [GHC-06074] Unexpected lambda expression in function application: \ x -> x Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments -T16270.hs:18:22: error: +T16270.hs:18:22: error: [GHC-65719] Illegal record syntax: {fst :: a, snd :: b} Suggested fix: Perhaps you intended to use TraditionalRecordSyntax -T16270.hs:19:5: error: +T16270.hs:19:5: error: [GHC-65719] Illegal record syntax: p {fst = 1, snd = True} Suggested fix: Perhaps you intended to use TraditionalRecordSyntax -T16270.hs:21:6: error: +T16270.hs:21:6: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes - or a similar language extension to enable explicit-forall syntax: forall <tvs>. <type> + or a similar language extension to enable explicit-forall syntax: forall <tvs>. <type> -T16270.hs:22:8: error: +T16270.hs:22:8: error: [GHC-75254] Unexpected semi-colons in conditional: if True; then (); else () Suggested fix: Perhaps you intended to use DoAndIfThenElse -T16270.hs:24:10: error: +T16270.hs:24:10: error: [GHC-36952] Illegal keyword 'where' in data declaration Suggested fix: Perhaps you intended to use GADTs - or a similar language extension to enable syntax: data T where + or a similar language extension to enable syntax: data T where -T16270.hs:26:12: error: +T16270.hs:26:12: error: [GHC-79767] Illegal bang-pattern !i Suggested fix: Perhaps you intended to use BangPatterns -T16270.hs:28:9: error: +T16270.hs:28:9: error: [GHC-28985] Illegal multi-way if-expression Suggested fix: Perhaps you intended to use MultiWayIf -T16270.hs:30:9: error: +T16270.hs:30:9: error: [GHC-28985] Illegal multi-way if-expression Suggested fix: Perhaps you intended to use MultiWayIf -T16270.hs:33:6: +T16270.hs:33:6: error: [GHC-51179] Illegal \case Suggested fix: Perhaps you intended to use LambdaCase -T16270.hs:36:5: error: +T16270.hs:36:5: error: [GHC-62330] Illegal underscores in integer literals Suggested fix: Perhaps you intended to use NumericUnderscores -T16270.hs:38:5: error: +T16270.hs:38:5: error: [GHC-43080] primitive string literal must contain only characters <= '\xFF' -T16270.hs:40:7: error: A lambda requires at least one parameter +T16270.hs:40:7: error: [GHC-71614] + A lambda requires at least one parameter -T16270.hs:46:1: error: +T16270.hs:46:1: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) |