summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser
diff options
context:
space:
mode:
authorAlfredo Di Napoli <alfredo@well-typed.com>2021-01-19 09:42:13 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-22 15:00:47 -0500
commitc36a4f6389e5607b1608682c2fcdb0866cac31d0 (patch)
treeeb76e2665ea6a5b87caded5745edfab99e280cae /testsuite/tests/parser
parenta64f21e9f6bd949847d3c8fa1e427e5c763ccd7f (diff)
downloadhaskell-c36a4f6389e5607b1608682c2fcdb0866cac31d0.tar.gz
Fix tests relying on same-line diagnostic ordering
This commit fixes 19 tests which were failing due to the use of `consBag` / `snocBag`, which have been now replaced by `addMessage`. This means that now GHC would output things in different order but only for /diagnostics on the same line/, so this is just reflecting that. The "normal" order of messages is still guaranteed.
Diffstat (limited to 'testsuite/tests/parser')
-rw-r--r--testsuite/tests/parser/should_fail/T12811.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/tests/parser/should_fail/T12811.stderr b/testsuite/tests/parser/should_fail/T12811.stderr
index a1550357d4..fab39d73cc 100644
--- a/testsuite/tests/parser/should_fail/T12811.stderr
+++ b/testsuite/tests/parser/should_fail/T12811.stderr
@@ -1,6 +1,7 @@
-T12811.hs:4:15: error: Not in scope: type constructor or class ‘.’
-
T12811.hs:4:15: error:
Illegal operator ‘.’ in type ‘foral a . a’
Use TypeOperators to allow operators in types
+
+T12811.hs:4:15: error: Not in scope: type constructor or class ‘.’
+