diff options
author | sheaf <sam.derbyshire@gmail.com> | 2022-09-13 10:22:05 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-09-13 10:27:53 -0400 |
commit | 362cca13858faf7e1158273780ea900e7dad5827 (patch) | |
tree | 468c06697b2a6ef3f65b79a469a131d279f71deb /testsuite/tests/unboxedsums | |
parent | 65a0bd69ac1fb59047cd4c8554a8fc756c7b3476 (diff) | |
download | haskell-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/unboxedsums')
-rw-r--r-- | testsuite/tests/unboxedsums/UnboxedSumsTH_Fail.stderr | 3 | ||||
-rw-r--r-- | testsuite/tests/unboxedsums/ffi1.stderr | 6 | ||||
-rw-r--r-- | testsuite/tests/unboxedsums/unboxedsums4.stderr | 3 |
3 files changed, 7 insertions, 5 deletions
diff --git a/testsuite/tests/unboxedsums/UnboxedSumsTH_Fail.stderr b/testsuite/tests/unboxedsums/UnboxedSumsTH_Fail.stderr index d8b7f25bd8..f7b85ad173 100644 --- a/testsuite/tests/unboxedsums/UnboxedSumsTH_Fail.stderr +++ b/testsuite/tests/unboxedsums/UnboxedSumsTH_Fail.stderr @@ -1,2 +1,3 @@ -UnboxedSumsTH_Fail.hs:13:22: error: parse error on input ‘|’ +UnboxedSumsTH_Fail.hs:13:22: error: [GHC-58481] + parse error on input ‘|’ diff --git a/testsuite/tests/unboxedsums/ffi1.stderr b/testsuite/tests/unboxedsums/ffi1.stderr index cdc77cea19..07a2addaf0 100644 --- a/testsuite/tests/unboxedsums/ffi1.stderr +++ b/testsuite/tests/unboxedsums/ffi1.stderr @@ -1,11 +1,11 @@ -ffi1.hs:9:1: error: +ffi1.hs:9:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘(# Int | Int #)’ cannot be marshalled in a foreign call • When checking declaration: foreign import ccall safe "f1" f1 :: (# Int | Int #) -> IO Int -ffi1.hs:10:1: error: +ffi1.hs:10:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘(# (# Int, Int #) | (# Float#, Float# #) #)’ cannot be marshalled in a foreign call @@ -13,7 +13,7 @@ ffi1.hs:10:1: error: foreign import ccall safe "f2" f2 :: (# (# Int, Int #) | (# Float#, Float# #) #) -> IO Int -ffi1.hs:11:1: error: +ffi1.hs:11:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘(# (# #) | Void# | (# Int# | String #) #)’ cannot be marshalled in a foreign call diff --git a/testsuite/tests/unboxedsums/unboxedsums4.stderr b/testsuite/tests/unboxedsums/unboxedsums4.stderr index 2cd4be6c9a..52a8f77d7c 100644 --- a/testsuite/tests/unboxedsums/unboxedsums4.stderr +++ b/testsuite/tests/unboxedsums/unboxedsums4.stderr @@ -1,2 +1,3 @@ -unboxedsums4.hs:3:7: error: Boxed sums not supported: ( 10 | ) +unboxedsums4.hs:3:7: error: [GHC-09550] + Boxed sums not supported: ( 10 | ) |