summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack
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/backpack
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/backpack')
-rw-r--r--testsuite/tests/backpack/cabal/bkpcabal03/bkpcabal03.stderr2
-rw-r--r--testsuite/tests/backpack/cabal/bkpcabal05/bkpcabal05.stderr2
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail11.stderr10
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail18.stderr6
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail24.stderr10
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail28.stderr12
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail30.stderr4
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail31.stderr6
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail32.stderr4
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail33.stderr6
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail34.stderr6
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail36.stderr10
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail40.stderr4
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail43.stderr10
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail44.stderr6
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail48.stderr6
-rw-r--r--testsuite/tests/backpack/should_fail/bkpfail49.stderr2
17 files changed, 53 insertions, 53 deletions
diff --git a/testsuite/tests/backpack/cabal/bkpcabal03/bkpcabal03.stderr b/testsuite/tests/backpack/cabal/bkpcabal03/bkpcabal03.stderr
index f4bd94f648..4a0bda3560 100644
--- a/testsuite/tests/backpack/cabal/bkpcabal03/bkpcabal03.stderr
+++ b/testsuite/tests/backpack/cabal/bkpcabal03/bkpcabal03.stderr
@@ -1,2 +1,2 @@
-Mod.hs:4:5: error: Variable not in scope: g :: Int
+Mod.hs:4:5: error: [GHC-88464] Variable not in scope: g :: Int
diff --git a/testsuite/tests/backpack/cabal/bkpcabal05/bkpcabal05.stderr b/testsuite/tests/backpack/cabal/bkpcabal05/bkpcabal05.stderr
index 04a495edb4..2a2d914ad5 100644
--- a/testsuite/tests/backpack/cabal/bkpcabal05/bkpcabal05.stderr
+++ b/testsuite/tests/backpack/cabal/bkpcabal05/bkpcabal05.stderr
@@ -1,5 +1,5 @@
-M.hs:4:5: error:
+M.hs:4:5: error: [GHC-39999]
• No instance for ‘Show T’ arising from a use of ‘show’
• In the expression: show
In an equation for ‘f’: f = show
diff --git a/testsuite/tests/backpack/should_fail/bkpfail11.stderr b/testsuite/tests/backpack/should_fail/bkpfail11.stderr
index 5e1fb8768b..cfcfdcb0e4 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail11.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail11.stderr
@@ -1,16 +1,16 @@
[1 of 3] Processing sig
- [1 of 2] Compiling A[sig] ( sig/A.hsig, nothing )
- [2 of 2] Compiling M ( sig/M.hs, nothing )
+ [1 of 2] Compiling A[sig] ( sig\A.hsig, nothing )
+ [2 of 2] Compiling M ( sig\M.hs, nothing )
[2 of 3] Processing mod
Instantiating mod
- [1 of 1] Compiling A ( mod/A.hs, bkpfail11.out/mod/A.o )
+ [1 of 1] Compiling A ( mod\A.hs, bkpfail11.out\mod\A.o )
[3 of 3] Processing join
Instantiating join
[1 of 1] Including sig[A=mod:A]
Instantiating sig[A=mod:A]
- [1 of 2] Compiling A[sig] ( sig/A.hsig, bkpfail11.out/sig/sig-HyoWTHt34SDIRGEX0vZ8iN/A.o )
+ [1 of 2] Compiling A[sig] ( sig\A.hsig, bkpfail11.out\sig\sig-HyoWTHt34SDIRGEX0vZ8iN\A.o )
-bkpfail11.out/sig/sig-HyoWTHt34SDIRGEX0vZ8iN/../A.hi:1:1: error:
+bkpfail11.out\sig\sig-HyoWTHt34SDIRGEX0vZ8iN\..\A.hi:1:1: error: [GHC-39999]
• No instance for ‘GHC.Show.Show X’
arising when attempting to show that
instance [safe] GHC.Show.Show T -- Defined at bkpfail11.bkp:5:18
diff --git a/testsuite/tests/backpack/should_fail/bkpfail18.stderr b/testsuite/tests/backpack/should_fail/bkpfail18.stderr
index ac66507f8c..1754922f34 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail18.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail18.stderr
@@ -1,12 +1,12 @@
[1 of 1] Processing p
- [1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, nothing )
+ [1 of 1] Compiling ShouldFail[sig] ( p\ShouldFail.hsig, nothing )
-bkpfail18.bkp:3:18: error:
+bkpfail18.bkp:3:18: error: [GHC-59692]
Duplicate instance declarations:
instance Show Int -- Defined at bkpfail18.bkp:3:18
instance Show Int -- Defined in ‘GHC.Show’
-bkpfail18.bkp:4:18: error:
+bkpfail18.bkp:4:18: error: [GHC-59692]
Duplicate instance declarations:
instance Show Int -- Defined at bkpfail18.bkp:4:18
instance Show Int -- Defined in ‘GHC.Show’
diff --git a/testsuite/tests/backpack/should_fail/bkpfail24.stderr b/testsuite/tests/backpack/should_fail/bkpfail24.stderr
index 558b5fc97f..aa33539757 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail24.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail24.stderr
@@ -1,9 +1,9 @@
[1 of 1] Processing p
- [1 of 3] Compiling H1[sig] ( p/H1.hsig, nothing )
- [2 of 3] Compiling H2[sig] ( p/H2.hsig, nothing )
- [3 of 3] Compiling M ( p/M.hs, nothing )
+ [1 of 3] Compiling H1[sig] ( p\H1.hsig, nothing )
+ [2 of 3] Compiling H2[sig] ( p\H2.hsig, nothing )
+ [3 of 3] Compiling M ( p\M.hs, nothing )
-bkpfail24.bkp:14:15: error:
+bkpfail24.bkp:14:15: error: [GHC-25897]
• Could not deduce ‘a ~ b’
from the context: {H1.T} ~ {H2.T}
bound by the type signature for:
@@ -23,7 +23,7 @@ bkpfail24.bkp:14:15: error:
x :: a (bound at bkpfail24.bkp:14:11)
f :: a -> b (bound at bkpfail24.bkp:14:9)
-bkpfail24.bkp:19:15: error:
+bkpfail24.bkp:19:15: error: [GHC-83865]
• Couldn't match expected type ‘{H2.T}’ with actual type ‘{H1.T}’
NB: ‘{H2.T}’ is defined at bkpfail24.bkp:6:9-14
‘{H1.T}’ is defined at bkpfail24.bkp:4:9-14
diff --git a/testsuite/tests/backpack/should_fail/bkpfail28.stderr b/testsuite/tests/backpack/should_fail/bkpfail28.stderr
index a3ae2f9c28..5be604c351 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail28.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail28.stderr
@@ -1,12 +1,12 @@
[1 of 3] Processing p
- [1 of 1] Compiling A[sig] ( p/A.hsig, nothing )
+ [1 of 1] Compiling A[sig] ( p\A.hsig, nothing )
[2 of 3] Processing q
- [1 of 1] Compiling A[sig] ( q/A.hsig, nothing )
+ [1 of 1] Compiling A[sig] ( q\A.hsig, nothing )
[3 of 3] Processing r
- [1 of 4] Compiling A[sig] ( r/A.hsig, nothing )
- [2 of 4] Compiling R ( r/R.hs, nothing )
+ [1 of 4] Compiling A[sig] ( r\A.hsig, nothing )
+ [2 of 4] Compiling R ( r\R.hs, nothing )
-bkpfail28.bkp:19:13: error:
+bkpfail28.bkp:19:13: error: [GHC-43085]
• Overlapping instances for Show (K a) arising from a use of ‘show’
Matching instances:
instance [safe] Read a => Show (K a)
@@ -16,7 +16,7 @@ bkpfail28.bkp:19:13: error:
• In the expression: show
In an equation for ‘f’: f = show
-bkpfail28.bkp:21:13: error:
+bkpfail28.bkp:21:13: error: [GHC-43085]
• Overlapping instances for Show (K a) arising from a use of ‘show’
Matching instances:
instance [safe] Read a => Show (K a)
diff --git a/testsuite/tests/backpack/should_fail/bkpfail30.stderr b/testsuite/tests/backpack/should_fail/bkpfail30.stderr
index 7c4b8c1fc3..0b2cf6a21c 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail30.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail30.stderr
@@ -1,6 +1,6 @@
[1 of 3] Processing p
- [1 of 1] Compiling A[sig] ( p/A.hsig, nothing )
+ [1 of 1] Compiling A[sig] ( p\A.hsig, nothing )
-<no location info>: error:
+<no location info>: error: [GHC-50058]
The identifier T does not exist in the local signature.
Suggested fix: Try adding it to the export list of the hsig file.
diff --git a/testsuite/tests/backpack/should_fail/bkpfail31.stderr b/testsuite/tests/backpack/should_fail/bkpfail31.stderr
index 103e690943..6d62acd49d 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail31.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail31.stderr
@@ -1,8 +1,8 @@
[1 of 4] Processing p
- [1 of 1] Compiling A[sig] ( p/A.hsig, nothing )
+ [1 of 1] Compiling A[sig] ( p\A.hsig, nothing )
[2 of 4] Processing q
- [1 of 3] Compiling A[sig] ( q/A.hsig, nothing )
+ [1 of 3] Compiling A[sig] ( q\A.hsig, nothing )
-<no location info>: error:
+<no location info>: error: [GHC-50058]
The identifier T does not exist in the local signature.
Suggested fix: Try adding it to the export list of the hsig file.
diff --git a/testsuite/tests/backpack/should_fail/bkpfail32.stderr b/testsuite/tests/backpack/should_fail/bkpfail32.stderr
index 592199cecd..52434ef9b5 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail32.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail32.stderr
@@ -1,6 +1,6 @@
[1 of 1] Processing p
- [1 of 1] Compiling A[sig] ( p/A.hsig, nothing )
+ [1 of 1] Compiling A[sig] ( p\A.hsig, nothing )
-bkpfail32.bkp:2:18: error:
+bkpfail32.bkp:2:18: error: [GHC-76037]
• Not in scope: type constructor or class ‘T’
• while checking the local signature A for consistency
diff --git a/testsuite/tests/backpack/should_fail/bkpfail33.stderr b/testsuite/tests/backpack/should_fail/bkpfail33.stderr
index addc8d9733..c335bef573 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail33.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail33.stderr
@@ -1,9 +1,9 @@
[1 of 2] Processing p
- [1 of 1] Compiling A[sig] ( p/A.hsig, nothing )
+ [1 of 1] Compiling A[sig] ( p\A.hsig, nothing )
[2 of 2] Processing q
- [1 of 2] Compiling A[sig] ( q/A.hsig, nothing )
+ [1 of 2] Compiling A[sig] ( q\A.hsig, nothing )
-bkpfail33.bkp:5:18: error:
+bkpfail33.bkp:5:18: error: [GHC-76037]
• Not in scope: type constructor or class ‘T’
• while merging the signatures from:
• p[A=<A>]:A
diff --git a/testsuite/tests/backpack/should_fail/bkpfail34.stderr b/testsuite/tests/backpack/should_fail/bkpfail34.stderr
index f1d5d03153..5b7deded86 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail34.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail34.stderr
@@ -1,8 +1,8 @@
[1 of 2] Processing p
- [1 of 1] Compiling A[sig] ( p/A.hsig, nothing )
+ [1 of 1] Compiling A[sig] ( p\A.hsig, nothing )
[2 of 2] Processing q
- [1 of 2] Compiling A[sig] ( q/A.hsig, nothing )
+ [1 of 2] Compiling A[sig] ( q\A.hsig, nothing )
-<no location info>: error:
+<no location info>: error: [GHC-50058]
The identifier T does not exist in the local signature.
Suggested fix: Try adding it to the export list of the hsig file.
diff --git a/testsuite/tests/backpack/should_fail/bkpfail36.stderr b/testsuite/tests/backpack/should_fail/bkpfail36.stderr
index 3ec5c6f56b..9711d39907 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail36.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail36.stderr
@@ -1,10 +1,10 @@
[1 of 2] Processing p
- [1 of 2] Compiling A[sig] ( p/A.hsig, nothing )
- [2 of 2] Compiling B[sig] ( p/B.hsig, nothing )
+ [1 of 2] Compiling A[sig] ( p\A.hsig, nothing )
+ [2 of 2] Compiling B[sig] ( p\B.hsig, nothing )
[2 of 2] Processing q
- [1 of 3] Compiling A[sig] ( q/A.hsig, nothing )
- [2 of 3] Compiling B[sig] ( q/B.hsig, nothing )
+ [1 of 3] Compiling A[sig] ( q\A.hsig, nothing )
+ [2 of 3] Compiling B[sig] ( q\B.hsig, nothing )
-<no location info>: error:
+<no location info>: error: [GHC-44188]
The identifier T does not exist in the signature for <A>
Suggested fix: Try adding it to the export list of A's hsig file.
diff --git a/testsuite/tests/backpack/should_fail/bkpfail40.stderr b/testsuite/tests/backpack/should_fail/bkpfail40.stderr
index f221afc7ba..3878ace4fe 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail40.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail40.stderr
@@ -1,6 +1,6 @@
[1 of 1] Processing p
- [1 of 1] Compiling A[sig] ( p/A.hsig, nothing )
+ [1 of 1] Compiling A[sig] ( p\A.hsig, nothing )
-bkpfail40.bkp:3:9: error:
+bkpfail40.bkp:3:9: error: [GHC-93006]
• Illegal default method in class definition of C in hsig file
• In the class declaration for ‘C’
diff --git a/testsuite/tests/backpack/should_fail/bkpfail43.stderr b/testsuite/tests/backpack/should_fail/bkpfail43.stderr
index 8d4bd2ff40..1231788023 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail43.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail43.stderr
@@ -1,16 +1,16 @@
[1 of 3] Processing p
- [1 of 2] Compiling A[sig] ( p/A.hsig, nothing )
- [2 of 2] Compiling B ( p/B.hs, nothing )
+ [1 of 2] Compiling A[sig] ( p\A.hsig, nothing )
+ [2 of 2] Compiling B ( p\B.hs, nothing )
[2 of 3] Processing q
Instantiating q
- [1 of 1] Compiling A ( q/A.hs, bkpfail43.out/q/A.o )
+ [1 of 1] Compiling A ( q\A.hs, bkpfail43.out\q\A.o )
[3 of 3] Processing r
Instantiating r
[1 of 1] Including p[A=q:A]
Instantiating p[A=q:A]
- [1 of 2] Compiling A[sig] ( p/A.hsig, bkpfail43.out/p/p-HVmFlcYSefiK5n1aDP1v7x/A.o )
+ [1 of 2] Compiling A[sig] ( p\A.hsig, bkpfail43.out\p\p-HVmFlcYSefiK5n1aDP1v7x\A.o )
-bkpfail43.out/p/p-HVmFlcYSefiK5n1aDP1v7x/../A.hi:1:1: error:
+bkpfail43.out\p\p-HVmFlcYSefiK5n1aDP1v7x\..\A.hi:1:1: error: [GHC-39999]
• No instance for ‘GHC.Show.Show (a -> b)’
arising when attempting to show that
instance [safe] GHC.Show.Show (a -> b)
diff --git a/testsuite/tests/backpack/should_fail/bkpfail44.stderr b/testsuite/tests/backpack/should_fail/bkpfail44.stderr
index 7fa5dd34c3..3f96bc8b5a 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail44.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail44.stderr
@@ -1,8 +1,8 @@
[1 of 1] Processing p
- [1 of 2] Compiling A[sig] ( p/A.hsig, nothing )
- [2 of 2] Compiling B ( p/B.hs, nothing )
+ [1 of 2] Compiling A[sig] ( p\A.hsig, nothing )
+ [2 of 2] Compiling B ( p\B.hs, nothing )
-bkpfail44.bkp:10:15: error:
+bkpfail44.bkp:10:15: error: [GHC-25897]
• Could not deduce ‘a ~ b’
from the context: Coercible (T a) (T b)
bound by the type signature for:
diff --git a/testsuite/tests/backpack/should_fail/bkpfail48.stderr b/testsuite/tests/backpack/should_fail/bkpfail48.stderr
index 27a1f25ac0..827e909415 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail48.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail48.stderr
@@ -1,9 +1,9 @@
[1 of 2] Processing q
- [1 of 1] Compiling A[sig] ( q/A.hsig, nothing )
+ [1 of 1] Compiling A[sig] ( q\A.hsig, nothing )
[2 of 2] Processing p
- [1 of 2] Compiling A[sig] ( p/A.hsig, nothing )
+ [1 of 2] Compiling A[sig] ( p\A.hsig, nothing )
-bkpfail48.bkp:6:18: error:
+bkpfail48.bkp:6:18: error: [GHC-90973]
• The export item ‘module Data.Bool’ is not imported
• while merging the signatures from:
• q[A=<A>]:A
diff --git a/testsuite/tests/backpack/should_fail/bkpfail49.stderr b/testsuite/tests/backpack/should_fail/bkpfail49.stderr
index f61be26f1a..fa1fa54207 100644
--- a/testsuite/tests/backpack/should_fail/bkpfail49.stderr
+++ b/testsuite/tests/backpack/should_fail/bkpfail49.stderr
@@ -4,7 +4,7 @@
[1 of 3] Compiling A[sig] ( q\A.hsig, nothing )
[2 of 3] Compiling M ( q\M.hs, nothing )
-bkpfail49.bkp:11:13: error:
+bkpfail49.bkp:11:13: error: [GHC-76037]
Not in scope: data constructor ‘A.True’
NB: the module ‘A’ does not export ‘True’.
[3 of 3] Instantiating p