summaryrefslogtreecommitdiff
path: root/testsuite/tests/qualifieddo
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2022-09-13 10:22:05 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-09-13 10:27:53 -0400
commit362cca13858faf7e1158273780ea900e7dad5827 (patch)
tree468c06697b2a6ef3f65b79a469a131d279f71deb /testsuite/tests/qualifieddo
parent65a0bd69ac1fb59047cd4c8554a8fc756c7b3476 (diff)
downloadhaskell-362cca13858faf7e1158273780ea900e7dad5827.tar.gz
Diagnostic codes: acccept test changes
The testsuite output now contains diagnostic codes, so many tests need to be updated at once. We decided it was best to keep the diagnostic codes in the testsuite output, so that contributors don't inadvertently make changes to the diagnostic codes.
Diffstat (limited to 'testsuite/tests/qualifieddo')
-rw-r--r--testsuite/tests/qualifieddo/should_fail/qdofail001.stderr6
-rw-r--r--testsuite/tests/qualifieddo/should_fail/qdofail002.stderr4
-rw-r--r--testsuite/tests/qualifieddo/should_fail/qdofail003.stderr2
-rw-r--r--testsuite/tests/qualifieddo/should_fail/qdofail004.stderr2
-rw-r--r--testsuite/tests/qualifieddo/should_fail/qdofail005.stderr2
5 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail001.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail001.stderr
index 62cc54e2df..829cbcc910 100644
--- a/testsuite/tests/qualifieddo/should_fail/qdofail001.stderr
+++ b/testsuite/tests/qualifieddo/should_fail/qdofail001.stderr
@@ -1,7 +1,7 @@
-qdofail001.hs:11:7:
- Couldn't match expected type ‘Int’ with actual type ‘Char’
- In the pattern: ' '
+qdofail001.hs:11:7: error: [GHC-83865]
+ • Couldn't match expected type ‘Int’ with actual type ‘Char’
+ • In the pattern: ' '
In a stmt of a qualified 'do' block: y@' ' <- [1, 2 :: Int]
In the second argument of ‘($)’, namely
‘P.do x <- [1, 2]
diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail002.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail002.stderr
index bea64513c6..a42c112cd2 100644
--- a/testsuite/tests/qualifieddo/should_fail/qdofail002.stderr
+++ b/testsuite/tests/qualifieddo/should_fail/qdofail002.stderr
@@ -1,8 +1,8 @@
-qdofail002.hs:8:11:
+qdofail002.hs:8:11: error: [GHC-40280]
Illegal qualified ‘P.do’ block
Suggested fix: Perhaps you intended to use QualifiedDo
-qdofail002.hs:11:13:
+qdofail002.hs:11:13: error: [GHC-40280]
Illegal qualified ‘P.mdo’ block
Suggested fix: Perhaps you intended to use QualifiedDo
diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr
index ed59cd2bf4..bd34088a51 100644
--- a/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr
+++ b/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr
@@ -1,5 +1,5 @@
-qdofail003.hs:11:5: error:
+qdofail003.hs:11:5: error: [GHC-76037]
Not in scope: ‘P.>>’
Suggested fix:
Perhaps you want to remove ‘>>’ from the explicit hiding list
diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr
index cfe60a9010..6bfb5daeb4 100644
--- a/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr
+++ b/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr
@@ -1,5 +1,5 @@
-qdofail004.hs:10:5: error:
+qdofail004.hs:10:5: error: [GHC-76037]
Not in scope: ‘P.fail’
Suggested fix:
Perhaps you want to remove ‘fail’ from the explicit hiding list
diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail005.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail005.stderr
index 8d49e1d3ba..b371e1d800 100644
--- a/testsuite/tests/qualifieddo/should_fail/qdofail005.stderr
+++ b/testsuite/tests/qualifieddo/should_fail/qdofail005.stderr
@@ -1,5 +1,5 @@
-qdofail005.hs:11:23:
+qdofail005.hs:11:23: error: [GHC-54089]
Parse error in command:
Found a qualified P.do block in a command, but
qualified 'do' is not supported in commands.