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 | |
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.
2224 files changed, 4819 insertions, 4578 deletions
diff --git a/libraries/base/tests/T9681.stderr b/libraries/base/tests/T9681.stderr index 4db2fa4940..2b20a22c3e 100644 --- a/libraries/base/tests/T9681.stderr +++ b/libraries/base/tests/T9681.stderr @@ -1,5 +1,5 @@ -T9681.hs:3:7: error: +T9681.hs:3:7: error: [GHC-39999] • No instance for ‘Num String’ arising from the literal ‘1’ • In the first argument of ‘(+)’, namely ‘1’ In the expression: 1 + "\n" diff --git a/testsuite/tests/ado/T13242a.stderr b/testsuite/tests/ado/T13242a.stderr index 08b643cd10..8d24d47249 100644 --- a/testsuite/tests/ado/T13242a.stderr +++ b/testsuite/tests/ado/T13242a.stderr @@ -1,12 +1,12 @@ -T13242a.hs:10:5: error: +T13242a.hs:10:5: error: [GHC-46956] • Couldn't match expected type ‘a0’ with actual type ‘a’ - because type variable ‘a’ would escape its scope - This (rigid, skolem) type variable is bound by - a pattern with constructor: A :: forall a. Eq a => a -> T, - in a pattern binding in - a 'do' block - at T13242a.hs:10:3-5 + • because type variable ‘a’ would escape its scope + This (rigid, skolem) type variable is bound by + a pattern with constructor: A :: forall a. Eq a => a -> T, + in a pattern binding in + a 'do' block + at T13242a.hs:10:3-5 • In the expression: do A x <- undefined _ <- return 'a' @@ -20,7 +20,7 @@ T13242a.hs:10:5: error: return (x == x) • Relevant bindings include x :: a (bound at T13242a.hs:10:5) -T13242a.hs:13:13: error: +T13242a.hs:13:13: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘==’ prevents the constraint ‘(Eq a0)’ from being solved. Relevant bindings include x :: a0 (bound at T13242a.hs:10:5) diff --git a/testsuite/tests/ado/T16628.stderr b/testsuite/tests/ado/T16628.stderr index 523d9f471c..d2e91704cb 100644 --- a/testsuite/tests/ado/T16628.stderr +++ b/testsuite/tests/ado/T16628.stderr @@ -1,5 +1,5 @@ -T16628.hs:10:5: error: +T16628.hs:10:5: error: [GHC-39999] • No instance for ‘MonadFail Identity’ arising from a do statement with the failable pattern ‘[x]’ diff --git a/testsuite/tests/ado/ado002.stderr b/testsuite/tests/ado/ado002.stderr index 3402d0df55..e27585060b 100644 --- a/testsuite/tests/ado/ado002.stderr +++ b/testsuite/tests/ado/ado002.stderr @@ -1,5 +1,5 @@ -ado002.hs:8:8: error: +ado002.hs:8:8: error: [GHC-83865] • Couldn't match expected type: Char -> IO b0 with actual type: IO Char • The function ‘getChar’ is applied to one value argument, @@ -10,7 +10,7 @@ ado002.hs:8:8: error: y <- getChar 'a' print (x, y) -ado002.hs:9:3: error: +ado002.hs:9:3: error: [GHC-83865] • Couldn't match type ‘()’ with ‘Int’ Expected: IO Int Actual: IO () @@ -24,7 +24,7 @@ ado002.hs:9:3: error: y <- getChar 'a' print (x, y) -ado002.hs:15:11: error: +ado002.hs:15:11: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: y In a stmt of a 'do' block: return (y, x) @@ -33,7 +33,7 @@ ado002.hs:15:11: error: y <- getChar return (y, x) -ado002.hs:15:13: error: +ado002.hs:15:13: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: x In a stmt of a 'do' block: return (y, x) @@ -42,7 +42,7 @@ ado002.hs:15:13: error: y <- getChar return (y, x) -ado002.hs:23:9: error: +ado002.hs:23:9: error: [GHC-83865] • Couldn't match expected type: Char -> IO a0 with actual type: IO Char • The function ‘getChar’ is applied to one value argument, @@ -56,7 +56,7 @@ ado002.hs:23:9: error: x5 <- getChar x4 return (x2, x4) -ado002.hs:24:11: error: +ado002.hs:24:11: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: x2 In a stmt of a 'do' block: return (x2, x4) @@ -68,7 +68,7 @@ ado002.hs:24:11: error: x5 <- getChar x4 return (x2, x4) -ado002.hs:24:14: error: +ado002.hs:24:14: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: x4 In a stmt of a 'do' block: return (x2, x4) diff --git a/testsuite/tests/ado/ado003.stderr b/testsuite/tests/ado/ado003.stderr index cdc5c59d38..8bf64c195d 100644 --- a/testsuite/tests/ado/ado003.stderr +++ b/testsuite/tests/ado/ado003.stderr @@ -1,9 +1,9 @@ -ado003.hs:7:3: error: - Couldn't match expected type ‘Int’ with actual type ‘Char’ - In the pattern: 'a' - In a stmt of a 'do' block: 'a' <- return (3 :: Int) - In the expression: - do x <- getChar - 'a' <- return (3 :: Int) - return () +ado003.hs:7:3: error: [GHC-83865] + • Couldn't match expected type ‘Int’ with actual type ‘Char’ + • In the pattern: 'a' + In a stmt of a 'do' block: 'a' <- return (3 :: Int) + In the expression: + do x <- getChar + 'a' <- return (3 :: Int) + return () diff --git a/testsuite/tests/ado/ado005.stderr b/testsuite/tests/ado/ado005.stderr index 3b2c7c9fc1..5a7709644d 100644 --- a/testsuite/tests/ado/ado005.stderr +++ b/testsuite/tests/ado/ado005.stderr @@ -1,5 +1,5 @@ -ado005.hs:8:3: error: +ado005.hs:8:3: error: [GHC-39999] • Could not deduce ‘Monad f’ arising from a do statement from the context: Applicative f bound by the type signature for: diff --git a/testsuite/tests/annotations/should_fail/T10826.stderr b/testsuite/tests/annotations/should_fail/T10826.stderr index 15ba942e81..9ff8144b18 100644 --- a/testsuite/tests/annotations/should_fail/T10826.stderr +++ b/testsuite/tests/annotations/should_fail/T10826.stderr @@ -1,5 +1,5 @@ -T10826.hs:7:1: error: +T10826.hs:7:1: error: [GHC-68934] • Annotations are not compatible with Safe Haskell. See https://gitlab.haskell.org/ghc/ghc/issues/10826 • In the annotation: diff --git a/testsuite/tests/annotations/should_fail/T19374b.stderr b/testsuite/tests/annotations/should_fail/T19374b.stderr index 0d44c4c2e3..863b772313 100644 --- a/testsuite/tests/annotations/should_fail/T19374b.stderr +++ b/testsuite/tests/annotations/should_fail/T19374b.stderr @@ -1,2 +1,3 @@ -T19374b.hs:5:10: error: parse error on input ‘T19347b.%%’ +T19374b.hs:5:10: error: [GHC-58481] + parse error on input ‘T19347b.%%’ diff --git a/testsuite/tests/annotations/should_fail/T19374c.stderr b/testsuite/tests/annotations/should_fail/T19374c.stderr index 55700d006a..575d098056 100644 --- a/testsuite/tests/annotations/should_fail/T19374c.stderr +++ b/testsuite/tests/annotations/should_fail/T19374c.stderr @@ -1,2 +1,3 @@ -T19374c.hs:5:15: error: parse error on input ‘T19347c.%%%’ +T19374c.hs:5:15: error: [GHC-58481] + parse error on input ‘T19347c.%%%’ diff --git a/testsuite/tests/annotations/should_fail/annfail01.stderr b/testsuite/tests/annotations/should_fail/annfail01.stderr index 0aa033fe43..30874553fa 100644 --- a/testsuite/tests/annotations/should_fail/annfail01.stderr +++ b/testsuite/tests/annotations/should_fail/annfail01.stderr @@ -1,9 +1,9 @@ -annfail01.hs:4:14: - No top-level binding for - type constructor or class ‘Foo’ in this module - In the annotation: {-# ANN type Foo (1 :: Int) #-} +annfail01.hs:4:14: error: [GHC-10173] + • No top-level binding for + type constructor or class ‘Foo’ in this module + • In the annotation: {-# ANN type Foo (1 :: Int) #-} -annfail01.hs:5:9: - No top-level binding for ‘f’ in this module - In the annotation: {-# ANN f (1 :: Int) #-} +annfail01.hs:5:9: error: [GHC-10173] + • No top-level binding for ‘f’ in this module + • In the annotation: {-# ANN f (1 :: Int) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail02.stderr b/testsuite/tests/annotations/should_fail/annfail02.stderr index 3c29ec743f..c8079e171d 100644 --- a/testsuite/tests/annotations/should_fail/annfail02.stderr +++ b/testsuite/tests/annotations/should_fail/annfail02.stderr @@ -1,10 +1,9 @@ -annfail02.hs:6:9: - No top-level binding for - data constructor ‘Foo’ in this module - In the annotation: {-# ANN Foo (1 :: Int) #-} +annfail02.hs:6:9: error: [GHC-10173] + • No top-level binding for data constructor ‘Foo’ in this module + • In the annotation: {-# ANN Foo (1 :: Int) #-} -annfail02.hs:7:14: - No top-level binding for - type constructor or class ‘Bar’ in this module - In the annotation: {-# ANN type Bar (2 :: Int) #-} +annfail02.hs:7:14: error: [GHC-10173] + • No top-level binding for + type constructor or class ‘Bar’ in this module + • In the annotation: {-# ANN type Bar (2 :: Int) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail05.stderr b/testsuite/tests/annotations/should_fail/annfail05.stderr index d206bd3a44..52af5a212a 100644 --- a/testsuite/tests/annotations/should_fail/annfail05.stderr +++ b/testsuite/tests/annotations/should_fail/annfail05.stderr @@ -1,5 +1,5 @@ -annfail05.hs:11:1: error: +annfail05.hs:11:1: error: [GHC-39999] • No instance for ‘Data.Data.Data NoInstances’ arising from an annotation • In the annotation: {-# ANN f NoInstances #-} diff --git a/testsuite/tests/annotations/should_fail/annfail07.stderr b/testsuite/tests/annotations/should_fail/annfail07.stderr index e7cd8dd000..f4f2fc4637 100644 --- a/testsuite/tests/annotations/should_fail/annfail07.stderr +++ b/testsuite/tests/annotations/should_fail/annfail07.stderr @@ -1,5 +1,5 @@ -annfail07.hs:9:17: - Couldn't match expected type ‘[a0]’ with actual type ‘Bool’ - In the first argument of ‘head’, namely ‘True’ - In the annotation: {-# ANN f (head True) #-} +annfail07.hs:9:17: error: [GHC-83865] + • Couldn't match expected type ‘[a0]’ with actual type ‘Bool’ + • In the first argument of ‘head’, namely ‘True’ + In the annotation: {-# ANN f (head True) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail08.stderr b/testsuite/tests/annotations/should_fail/annfail08.stderr index f7b9613f78..35c9f269b2 100644 --- a/testsuite/tests/annotations/should_fail/annfail08.stderr +++ b/testsuite/tests/annotations/should_fail/annfail08.stderr @@ -1,11 +1,11 @@ -annfail08.hs:9:1: error: +annfail08.hs:9:1: error: [GHC-39999] • No instance for ‘Data.Data.Data (a0 -> a0)’ arising from an annotation (maybe you haven't applied a function to enough arguments?) • In the annotation: {-# ANN f (id + 1) #-} -annfail08.hs:9:15: error: +annfail08.hs:9:15: error: [GHC-39999] • No instance for ‘Num (a0 -> a0)’ arising from a use of ‘+’ (maybe you haven't applied a function to enough arguments?) • In the annotation: {-# ANN f (id + 1) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail10.stderr b/testsuite/tests/annotations/should_fail/annfail10.stderr index 9a0272ccb1..7b7fd968a6 100644 --- a/testsuite/tests/annotations/should_fail/annfail10.stderr +++ b/testsuite/tests/annotations/should_fail/annfail10.stderr @@ -1,5 +1,5 @@ -annfail10.hs:9:1: error: +annfail10.hs:9:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from an annotation prevents the constraint ‘(Data.Data.Data a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -13,7 +13,7 @@ annfail10.hs:9:1: error: (use -fprint-potential-instances to see them all) • In the annotation: {-# ANN f 1 #-} -annfail10.hs:9:11: error: +annfail10.hs:9:11: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from the literal ‘1’ prevents the constraint ‘(Num a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/annotations/should_fail/annfail11.stderr b/testsuite/tests/annotations/should_fail/annfail11.stderr index d110fdda29..82682cc4cb 100644 --- a/testsuite/tests/annotations/should_fail/annfail11.stderr +++ b/testsuite/tests/annotations/should_fail/annfail11.stderr @@ -1,11 +1,11 @@ -annfail11.hs:3:9: error: - No top-level binding for ‘length’ in this module - In the annotation: - {-# ANN length "Cannot annotate other modules yet" #-} +annfail11.hs:3:9: error: [GHC-10173] + • No top-level binding for ‘length’ in this module + • In the annotation: + {-# ANN length "Cannot annotate other modules yet" #-} -annfail11.hs:4:14: error: - No top-level binding for - type constructor or class ‘Integer’ in this module - In the annotation: - {-# ANN type Integer "Cannot annotate other modules yet" #-} +annfail11.hs:4:14: error: [GHC-10173] + • No top-level binding for + type constructor or class ‘Integer’ in this module + • In the annotation: + {-# ANN type Integer "Cannot annotate other modules yet" #-} diff --git a/testsuite/tests/annotations/should_fail/annfail13.stderr b/testsuite/tests/annotations/should_fail/annfail13.stderr index a35e9e70f3..9887457e62 100644 --- a/testsuite/tests/annotations/should_fail/annfail13.stderr +++ b/testsuite/tests/annotations/should_fail/annfail13.stderr @@ -1,2 +1,2 @@ -annfail13.hs:4:14: parse error on input ‘1’ +annfail13.hs:4:14: error: [GHC-58481] parse error on input ‘1’ diff --git a/testsuite/tests/arrows/gadt/ArrowDict.stderr b/testsuite/tests/arrows/gadt/ArrowDict.stderr index 7e18ba340a..4fef58440f 100644 --- a/testsuite/tests/arrows/gadt/ArrowDict.stderr +++ b/testsuite/tests/arrows/gadt/ArrowDict.stderr @@ -1,5 +1,5 @@ -ArrowDict.hs:8:13: error: +ArrowDict.hs:8:13: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: D x In the expression: proc (D x) -> do show -< x diff --git a/testsuite/tests/arrows/gadt/ArrowExistential.stderr b/testsuite/tests/arrows/gadt/ArrowExistential.stderr index 00944f1297..4b700ca468 100644 --- a/testsuite/tests/arrows/gadt/ArrowExistential.stderr +++ b/testsuite/tests/arrows/gadt/ArrowExistential.stderr @@ -1,5 +1,5 @@ -ArrowExistential.hs:16:27: error: +ArrowExistential.hs:16:27: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: Bar a In a case alternative within arrow notation: Bar a -> foo -< a diff --git a/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr b/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr index e9b21a297f..9783bcc18d 100644 --- a/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr +++ b/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr @@ -1,5 +1,5 @@ -ArrowGADTKappa.hs:17:26: error: +ArrowGADTKappa.hs:17:26: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: MkG g In an arrow kappa abstraction: \ (MkG g) -> show -< g diff --git a/testsuite/tests/arrows/gadt/ArrowPatSyn1.stderr b/testsuite/tests/arrows/gadt/ArrowPatSyn1.stderr index 5c11f98a3f..5913393594 100644 --- a/testsuite/tests/arrows/gadt/ArrowPatSyn1.stderr +++ b/testsuite/tests/arrows/gadt/ArrowPatSyn1.stderr @@ -1,5 +1,5 @@ -ArrowPatSyn1.hs:16:15: error: +ArrowPatSyn1.hs:16:15: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: P x In the expression: proc (P x) -> show -< x diff --git a/testsuite/tests/arrows/gadt/ArrowPatSyn2.stderr b/testsuite/tests/arrows/gadt/ArrowPatSyn2.stderr index 6274097ded..4f862e9121 100644 --- a/testsuite/tests/arrows/gadt/ArrowPatSyn2.stderr +++ b/testsuite/tests/arrows/gadt/ArrowPatSyn2.stderr @@ -1,5 +1,5 @@ -ArrowPatSyn2.hs:16:15: error: +ArrowPatSyn2.hs:16:15: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: P x In the expression: proc (P x) -> MkT -< x diff --git a/testsuite/tests/arrows/gadt/T17423.stderr b/testsuite/tests/arrows/gadt/T17423.stderr index 8e8cf00c9d..44ab0e56d0 100644 --- a/testsuite/tests/arrows/gadt/T17423.stderr +++ b/testsuite/tests/arrows/gadt/T17423.stderr @@ -1,5 +1,5 @@ -T17423.hs:19:13: error: +T17423.hs:19:13: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: DecoBool i c In the expression: diff --git a/testsuite/tests/arrows/gadt/T20469.stderr b/testsuite/tests/arrows/gadt/T20469.stderr index 719f43db20..7a08e9aa16 100644 --- a/testsuite/tests/arrows/gadt/T20469.stderr +++ b/testsuite/tests/arrows/gadt/T20469.stderr @@ -1,5 +1,5 @@ -T20469.hs:8:13: error: +T20469.hs:8:13: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: D In the pattern: (D, x) diff --git a/testsuite/tests/arrows/gadt/T20470.stderr b/testsuite/tests/arrows/gadt/T20470.stderr index 761c7d1446..0380fd3441 100644 --- a/testsuite/tests/arrows/gadt/T20470.stderr +++ b/testsuite/tests/arrows/gadt/T20470.stderr @@ -1,5 +1,5 @@ -T20470.hs:12:5: error: +T20470.hs:12:5: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: A x B In a case alternative within arrow notation: A x B -> id -< x diff --git a/testsuite/tests/arrows/gadt/T5777.stderr b/testsuite/tests/arrows/gadt/T5777.stderr index 614b829896..3a65e68164 100644 --- a/testsuite/tests/arrows/gadt/T5777.stderr +++ b/testsuite/tests/arrows/gadt/T5777.stderr @@ -1,5 +1,5 @@ -T5777.hs:13:18: error: +T5777.hs:13:18: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: BoolVal In the expression: proc BoolVal -> returnA -< () diff --git a/testsuite/tests/arrows/gadt/T9985.stderr b/testsuite/tests/arrows/gadt/T9985.stderr index add3f3c67b..5884c5d1aa 100644 --- a/testsuite/tests/arrows/gadt/T9985.stderr +++ b/testsuite/tests/arrows/gadt/T9985.stderr @@ -1,5 +1,5 @@ -T9985.hs:29:18: error: +T9985.hs:29:18: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: VNil In the pattern: a :> VNil diff --git a/testsuite/tests/arrows/should_fail/T20768_arrow_fail.stderr b/testsuite/tests/arrows/should_fail/T20768_arrow_fail.stderr index 43be5c220c..7c6f75cba2 100644 --- a/testsuite/tests/arrows/should_fail/T20768_arrow_fail.stderr +++ b/testsuite/tests/arrows/should_fail/T20768_arrow_fail.stderr @@ -1,5 +1,5 @@ -T20768_arrow_fail.hs:9:10: error: +T20768_arrow_fail.hs:9:10: error: [GHC-91938] • \cases alternatives within arrow notation have different numbers of arguments T20768_arrow_fail.hs:10:6-54 T20768_arrow_fail.hs:12:6-25 @@ -19,7 +19,7 @@ T20768_arrow_fail.hs:9:10: error: -> returnA -< "none") |) x -T20768_arrow_fail.hs:17:9: error: +T20768_arrow_fail.hs:17:9: error: [GHC-39999] • Could not deduce ‘ArrowChoice p’ arising from an arrow command from the context: Arrow p bound by the type signature for: @@ -51,7 +51,7 @@ T20768_arrow_fail.hs:17:9: error: Nothing -> returnA -< "none") |) x -T20768_arrow_fail.hs:26:21: error: +T20768_arrow_fail.hs:26:21: error: [GHC-39999] • Could not deduce ‘Num (Maybe Int)’ arising from the literal ‘100’ from the context: ArrowChoice p bound by the type signature for: diff --git a/testsuite/tests/arrows/should_fail/T2111.stderr b/testsuite/tests/arrows/should_fail/T2111.stderr index 4d100b3094..36c0de8fbe 100644 --- a/testsuite/tests/arrows/should_fail/T2111.stderr +++ b/testsuite/tests/arrows/should_fail/T2111.stderr @@ -1,8 +1,8 @@ -T2111.hs:6:23: +T2111.hs:6:23: error: [GHC-66043] Arrow command found where an expression was expected: undefined -< x -T2111.hs:6:41: +T2111.hs:6:41: error: [GHC-66043] Arrow command found where an expression was expected: undefined -< x diff --git a/testsuite/tests/arrows/should_fail/T5380.stderr b/testsuite/tests/arrows/should_fail/T5380.stderr index a116513014..6e01847511 100644 --- a/testsuite/tests/arrows/should_fail/T5380.stderr +++ b/testsuite/tests/arrows/should_fail/T5380.stderr @@ -1,5 +1,5 @@ -T5380.hs:7:27: error: +T5380.hs:7:27: error: [GHC-25897] • Couldn't match expected type ‘Bool’ with actual type ‘not_bool’ ‘not_bool’ is a rigid type variable bound by the type signature for: @@ -15,7 +15,7 @@ T5380.hs:7:27: error: testB :: not_bool -> (() -> ()) -> () -> not_unit (bound at T5380.hs:7:1) -T5380.hs:7:34: error: +T5380.hs:7:34: error: [GHC-25897] • Couldn't match type ‘not_unit’ with ‘()’ Expected: () -> not_unit Actual: () -> () diff --git a/testsuite/tests/arrows/should_fail/arrowfail002.stderr b/testsuite/tests/arrows/should_fail/arrowfail002.stderr index 2bb46b971c..a768e4f14b 100644 --- a/testsuite/tests/arrows/should_fail/arrowfail002.stderr +++ b/testsuite/tests/arrows/should_fail/arrowfail002.stderr @@ -1,2 +1,3 @@ -arrowfail002.hs:6:17: error: Variable not in scope: x :: Int +arrowfail002.hs:6:17: error: [GHC-88464] + Variable not in scope: x :: Int diff --git a/testsuite/tests/arrows/should_fail/arrowfail003.stderr b/testsuite/tests/arrows/should_fail/arrowfail003.stderr index 25e8efd0b1..02fe1a4572 100644 --- a/testsuite/tests/arrows/should_fail/arrowfail003.stderr +++ b/testsuite/tests/arrows/should_fail/arrowfail003.stderr @@ -1,8 +1,8 @@ -arrowfail003.hs:8:7: +arrowfail003.hs:8:7: error: [GHC-66043] Arrow command found where an expression was expected: returnA -< [] -arrowfail003.hs:9:7: +arrowfail003.hs:9:7: error: [GHC-66043] Arrow command found where an expression was expected: (| zeroArrow |) diff --git a/testsuite/tests/arrows/should_fail/arrowfail004.stderr b/testsuite/tests/arrows/should_fail/arrowfail004.stderr index e479369554..32f5c0ce3f 100644 --- a/testsuite/tests/arrows/should_fail/arrowfail004.stderr +++ b/testsuite/tests/arrows/should_fail/arrowfail004.stderr @@ -1,7 +1,6 @@ -arrowfail004.hs:12:15: - Proc patterns cannot use existential or GADT data constructors - In the pattern: T x - In the expression: proc (T x) -> do returnA -< T x - In an equation for ‘panic’: - panic = proc (T x) -> do returnA -< T x +arrowfail004.hs:12:15: error: [GHC-64525] + • Proc patterns cannot use existential or GADT data constructors + • In the pattern: T x + In the expression: proc (T x) -> do returnA -< T x + In an equation for ‘panic’: panic = proc (T x) -> do returnA -< T x 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 diff --git a/testsuite/tests/cabal/T12733/T12733.stderr b/testsuite/tests/cabal/T12733/T12733.stderr index bc4156d518..60bb4f9042 100644 --- a/testsuite/tests/cabal/T12733/T12733.stderr +++ b/testsuite/tests/cabal/T12733/T12733.stderr @@ -1,5 +1,5 @@ -Q2.hs:3:10: error: +Q2.hs:3:10: error: [GHC-59692] Duplicate instance declarations: instance Show (IO a) -- Defined at Q2.hs:3:10 instance [safe] Show (IO a) -- Defined in ‘P’ diff --git a/testsuite/tests/cabal/t18567/T18567.stderr b/testsuite/tests/cabal/t18567/T18567.stderr index bda761bc38..e6ec7ac6c9 100644 --- a/testsuite/tests/cabal/t18567/T18567.stderr +++ b/testsuite/tests/cabal/t18567/T18567.stderr @@ -1,5 +1,5 @@ -<no location info>: warning: [-Wunused-packages] +<no location info>: warning: [GHC-42258] [-Wunused-packages] The following packages were specified via -package or -package-id flags, but were not needed for compilation: - internal-lib-0.1.0.0 (exposed by flag -package-id internal-lib-0.1.0.0-Dq740EWYmHcKhGKUMfjfaX-sublib-unused) diff --git a/testsuite/tests/cabal/t20242/T20242.stderr b/testsuite/tests/cabal/t20242/T20242.stderr index 73c50e8c51..4d77d234ab 100644 --- a/testsuite/tests/cabal/t20242/T20242.stderr +++ b/testsuite/tests/cabal/t20242/T20242.stderr @@ -1,5 +1,5 @@ -Foo.hs-boot:1:1: error: +Foo.hs-boot:1:1: error: [GHC-28623] File name does not match module name: Saw : ‘Main’ Expected: ‘Foo’ diff --git a/testsuite/tests/corelint/T21115.stderr b/testsuite/tests/corelint/T21115.stderr index e7b69f8131..bf293bba7c 100644 --- a/testsuite/tests/corelint/T21115.stderr +++ b/testsuite/tests/corelint/T21115.stderr @@ -1,12 +1,12 @@ -T21115.hs:10:5: error: +T21115.hs:10:5: error: [GHC-76595] Illegal unboxed floating point literal in pattern: 0.0## -T21115.hs:11:5: error: +T21115.hs:11:5: error: [GHC-76595] Illegal unboxed floating point literal in pattern: 2.0## -T21115.hs:12:5: error: +T21115.hs:12:5: error: [GHC-76595] Illegal unboxed floating point literal in pattern: -0.0## diff --git a/testsuite/tests/count-deps/CountDepsAst.stdout b/testsuite/tests/count-deps/CountDepsAst.stdout index 549958f44b..423fd15533 100644 --- a/testsuite/tests/count-deps/CountDepsAst.stdout +++ b/testsuite/tests/count-deps/CountDepsAst.stdout @@ -198,6 +198,7 @@ GHC.Types.CostCentre.State GHC.Types.Cpr GHC.Types.Demand GHC.Types.Error +GHC.Types.Error.Codes GHC.Types.FieldLabel GHC.Types.Fixity GHC.Types.Fixity.Env diff --git a/testsuite/tests/count-deps/CountDepsParser.stdout b/testsuite/tests/count-deps/CountDepsParser.stdout index 62e71fbea3..b6e55ec846 100644 --- a/testsuite/tests/count-deps/CountDepsParser.stdout +++ b/testsuite/tests/count-deps/CountDepsParser.stdout @@ -205,6 +205,7 @@ GHC.Types.CostCentre.State GHC.Types.Cpr GHC.Types.Demand GHC.Types.Error +GHC.Types.Error.Codes GHC.Types.FieldLabel GHC.Types.Fixity GHC.Types.Fixity.Env diff --git a/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr b/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr index 8dedef3b5d..bcc84558c5 100644 --- a/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr +++ b/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr @@ -1,4 +1,4 @@ -DsStrictWarn.hs:7:11: warning: [-Wincomplete-uni-patterns (in -Wall)] +DsStrictWarn.hs:7:11: warning: [GHC-62161] [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive - In a pattern binding: Patterns of type ‘String’ not matched: [] + In a pattern binding: Patterns of type ‘String’ not matched: [] diff --git a/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr b/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr index e618c45c07..1e73da1acf 100644 --- a/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr +++ b/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr @@ -1,4 +1,4 @@ -GadtOverlap.hs:19:1: warning: [-Wincomplete-patterns (in -Wextra)] +GadtOverlap.hs:19:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘h’: Patterns of type ‘T a’ not matched: T3 + In an equation for ‘h’: Patterns of type ‘T a’ not matched: T3 diff --git a/testsuite/tests/deSugar/should_compile/T10662.stderr b/testsuite/tests/deSugar/should_compile/T10662.stderr index e1f8c75c17..22a510b1e9 100644 --- a/testsuite/tests/deSugar/should_compile/T10662.stderr +++ b/testsuite/tests/deSugar/should_compile/T10662.stderr @@ -1,5 +1,5 @@ -T10662.hs:3:3: warning: [-Wunused-do-bind (in -Wall)] +T10662.hs:3:3: warning: [GHC-81995] [-Wunused-do-bind (in -Wall)] A do-notation statement discarded a result of type ‘String’ Suggested fix: Suppress this warning by saying diff --git a/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-32 b/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-32 index bc98306b79..483832f5e2 100644 --- a/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-32 +++ b/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-32 @@ -1,3 +1,3 @@ -T13257.hs:6:11: warning: [-Woverflowed-literals (in -Wdefault)] +T13257.hs:6:11: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..4294967295 diff --git a/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-64 b/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-64 index 93412f1d47..8391e2fbf3 100644 --- a/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-64 +++ b/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-64 @@ -1,3 +1,3 @@ -T13257.hs:6:11: warning: [-Woverflowed-literals (in -Wdefault)] +T13257.hs:6:11: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..18446744073709551615 diff --git a/testsuite/tests/deSugar/should_compile/T13290.stderr b/testsuite/tests/deSugar/should_compile/T13290.stderr index dd5bceeb37..013f5ad97b 100644 --- a/testsuite/tests/deSugar/should_compile/T13290.stderr +++ b/testsuite/tests/deSugar/should_compile/T13290.stderr @@ -1,4 +1,4 @@ -T13290.hs:6:1: warning: +T13290.hs:6:1: warning: [GHC-00828] A constructor, Bar, appears as outermost match in RULE lhs. This rule will be ignored. diff --git a/testsuite/tests/deSugar/should_compile/T13870.stderr b/testsuite/tests/deSugar/should_compile/T13870.stderr index 3a5c8e199c..b44562bdbf 100644 --- a/testsuite/tests/deSugar/should_compile/T13870.stderr +++ b/testsuite/tests/deSugar/should_compile/T13870.stderr @@ -1,10 +1,10 @@ -T13870.hs:8:9: warning: [-Wmissing-fields (in -Wdefault)] +T13870.hs:8:9: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘Just’ not initialised • In the expression: Just {} In an equation for ‘test1’: test1 = Just {} -T13870.hs:14:9: warning: [-Wmissing-fields (in -Wdefault)] +T13870.hs:14:9: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘Identity’ not initialised: runIdentity :: Int • In the expression: Identity {} diff --git a/testsuite/tests/deSugar/should_compile/T14135.stderr b/testsuite/tests/deSugar/should_compile/T14135.stderr index 8674cbff66..0ab5fc1ca4 100644 --- a/testsuite/tests/deSugar/should_compile/T14135.stderr +++ b/testsuite/tests/deSugar/should_compile/T14135.stderr @@ -1,5 +1,5 @@ -T14135.hs:16:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14135.hs:16:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: - Patterns of type ‘Foo a’ not matched: Foo2 _ + Patterns of type ‘Foo a’ not matched: Foo2 _ diff --git a/testsuite/tests/deSugar/should_compile/T14546a.stderr b/testsuite/tests/deSugar/should_compile/T14546a.stderr index 684501223e..a259e12175 100644 --- a/testsuite/tests/deSugar/should_compile/T14546a.stderr +++ b/testsuite/tests/deSugar/should_compile/T14546a.stderr @@ -1,56 +1,56 @@ -T14546a.hs:5:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:5:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:6:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:6:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: _ -> ... -T14546a.hs:10:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:10:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:11:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:11:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 2 -> ... -T14546a.hs:15:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:15:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:16:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:16:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: _ -> ... -T14546a.hs:20:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:20:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:21:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:21:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 2 -> ... -T14546a.hs:23:4: warning: [-Wincomplete-patterns (in -Wextra)] +T14546a.hs:23:4: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a case alternative: Patterns of type ‘Integer’ not matched: 0 + In a case alternative: Patterns of type ‘Integer’ not matched: 0 -T14546a.hs:24:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:24:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:25:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:25:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 2 -> ... -T14546a.hs:27:4: warning: [-Wincomplete-patterns (in -Wextra)] +T14546a.hs:27:4: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a case alternative: Patterns of type ‘Integer’ not matched: 3 + In a case alternative: Patterns of type ‘Integer’ not matched: 3 -T14546a.hs:28:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:28:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:29:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:29:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 2 -> ... diff --git a/testsuite/tests/deSugar/should_compile/T14546b.stderr b/testsuite/tests/deSugar/should_compile/T14546b.stderr index 00b4286a48..38f55a8d09 100644 --- a/testsuite/tests/deSugar/should_compile/T14546b.stderr +++ b/testsuite/tests/deSugar/should_compile/T14546b.stderr @@ -1,16 +1,16 @@ -T14546b.hs:5:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546b.hs:5:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: ('f' : 'o' : _) -> ... -T14546b.hs:6:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546b.hs:6:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "bar" -> ... -T14546b.hs:10:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546b.hs:10:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "bar" -> ... -T14546b.hs:11:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546b.hs:11:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "baz" -> ... diff --git a/testsuite/tests/deSugar/should_compile/T14546c.stderr b/testsuite/tests/deSugar/should_compile/T14546c.stderr index 0ea6ca0012..0873772add 100644 --- a/testsuite/tests/deSugar/should_compile/T14546c.stderr +++ b/testsuite/tests/deSugar/should_compile/T14546c.stderr @@ -1,24 +1,24 @@ -T14546c.hs:9:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:9:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: ('f' : 'o' : _) -> ... -T14546c.hs:10:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:10:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "bar" -> ... -T14546c.hs:14:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:14:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "bar" -> ... -T14546c.hs:15:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:15:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "baz" -> ... -T14546c.hs:19:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:19:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "bar" -> ... -T14546c.hs:20:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:20:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "baz" -> ... diff --git a/testsuite/tests/deSugar/should_compile/T14546d.stderr b/testsuite/tests/deSugar/should_compile/T14546d.stderr index 4e59e617dc..415a71afa4 100644 --- a/testsuite/tests/deSugar/should_compile/T14546d.stderr +++ b/testsuite/tests/deSugar/should_compile/T14546d.stderr @@ -4,6 +4,6 @@ T14546d.hs:3:10: warning: [-Wmissing-methods (in -Wdefault)] ‘+’, ‘*’, ‘abs’, ‘signum’, and (either ‘negate’ or ‘-’) • In the instance declaration for ‘Num D’ -T14546d.hs:7:5: warning: [-Wincomplete-patterns (in -Wextra)] +T14546d.hs:7:5: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a case alternative: Patterns of type ‘D’ not matched: 3 + In a case alternative: Patterns of type ‘D’ not matched: 3 diff --git a/testsuite/tests/deSugar/should_compile/T14773a.stderr b/testsuite/tests/deSugar/should_compile/T14773a.stderr index 49d1ef05fc..d02becb2cb 100644 --- a/testsuite/tests/deSugar/should_compile/T14773a.stderr +++ b/testsuite/tests/deSugar/should_compile/T14773a.stderr @@ -1,5 +1,5 @@ -T14773a.hs:6:12: warning: [-Wincomplete-patterns (in -Wextra)] +T14773a.hs:6:12: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a multi-way if alternative: Guards do not cover entire pattern space diff --git a/testsuite/tests/deSugar/should_compile/T14773b.stderr b/testsuite/tests/deSugar/should_compile/T14773b.stderr index f76eb050e4..476529ff2a 100644 --- a/testsuite/tests/deSugar/should_compile/T14773b.stderr +++ b/testsuite/tests/deSugar/should_compile/T14773b.stderr @@ -1,13 +1,13 @@ -T14773b.hs:4:10: warning: [-Wincomplete-patterns (in -Wextra)] +T14773b.hs:4:10: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a pattern binding guards: Guards do not cover entire pattern space -T14773b.hs:4:12: warning: [-Woverlapping-patterns (in -Wdefault)] +T14773b.hs:4:12: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding guards: | False = ... -T14773b.hs:7:12: warning: [-Woverlapping-patterns (in -Wdefault)] +T14773b.hs:7:12: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding guards: | False = ... diff --git a/testsuite/tests/deSugar/should_compile/T2395.stderr b/testsuite/tests/deSugar/should_compile/T2395.stderr index d0e8494150..ac57c80a7f 100644 --- a/testsuite/tests/deSugar/should_compile/T2395.stderr +++ b/testsuite/tests/deSugar/should_compile/T2395.stderr @@ -1,4 +1,4 @@ -T2395.hs:13:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T2395.hs:13:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘bar’: bar _ = ... diff --git a/testsuite/tests/deSugar/should_compile/T2409.stderr b/testsuite/tests/deSugar/should_compile/T2409.stderr index 1efc5bae97..9106cfbd39 100644 --- a/testsuite/tests/deSugar/should_compile/T2409.stderr +++ b/testsuite/tests/deSugar/should_compile/T2409.stderr @@ -1,8 +1,8 @@ -T2409.hs:6:8: warning: [-Woverlapping-patterns (in -Wdefault)] +T2409.hs:6:8: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f _ | () `seq` False = ... -T2409.hs:10:8: warning: [-Woverlapping-patterns (in -Wdefault)] +T2409.hs:10:8: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g _ | () `seq` False = ... diff --git a/testsuite/tests/deSugar/should_compile/T3263-1.stderr b/testsuite/tests/deSugar/should_compile/T3263-1.stderr index acc59ab3cd..9cc101b05b 100644 --- a/testsuite/tests/deSugar/should_compile/T3263-1.stderr +++ b/testsuite/tests/deSugar/should_compile/T3263-1.stderr @@ -1,10 +1,8 @@ -T3263-1.hs:25:3: warning: [-Wunused-do-bind (in -Wall)] +T3263-1.hs:25:3: warning: [GHC-81995] [-Wunused-do-bind (in -Wall)] A do-notation statement discarded a result of type ‘Int’ - Suggested fix: - Suppress this warning by saying ‘_ <- nonNullM’ + Suggested fix: Suppress this warning by saying ‘_ <- nonNullM’ -T3263-1.hs:35:3: warning: [-Wunused-do-bind (in -Wall)] +T3263-1.hs:35:3: warning: [GHC-81995] [-Wunused-do-bind (in -Wall)] A do-notation statement discarded a result of type ‘Int’ - Suggested fix: - Suppress this warning by saying ‘_ <- nonNullM’ + Suggested fix: Suppress this warning by saying ‘_ <- nonNullM’ diff --git a/testsuite/tests/deSugar/should_compile/T3263-2.stderr b/testsuite/tests/deSugar/should_compile/T3263-2.stderr index 32c3bc3ad8..b3e1a58800 100644 --- a/testsuite/tests/deSugar/should_compile/T3263-2.stderr +++ b/testsuite/tests/deSugar/should_compile/T3263-2.stderr @@ -1,10 +1,10 @@ -T3263-2.hs:25:3: warning: [-Wwrong-do-bind (in -Wdefault)] +T3263-2.hs:25:3: warning: [GHC-08838] [-Wwrong-do-bind (in -Wdefault)] A do-notation statement discarded a result of type ‘m Int’ Suggested fix: Suppress this warning by saying ‘_ <- return (return 10 :: m Int)’ -T3263-2.hs:37:3: warning: [-Wwrong-do-bind (in -Wdefault)] +T3263-2.hs:37:3: warning: [GHC-08838] [-Wwrong-do-bind (in -Wdefault)] A do-notation statement discarded a result of type ‘m Int’ Suggested fix: Suppress this warning by saying ‘_ <- return (return 10 :: m Int)’ diff --git a/testsuite/tests/deSugar/should_compile/T4488.stderr b/testsuite/tests/deSugar/should_compile/T4488.stderr index 3983514296..3a21862000 100644 --- a/testsuite/tests/deSugar/should_compile/T4488.stderr +++ b/testsuite/tests/deSugar/should_compile/T4488.stderr @@ -1,16 +1,16 @@ -T4488.hs:11:11: warning: [-Widentities] +T4488.hs:11:11: warning: [GHC-04214] [-Widentities] Call of fromIntegral :: Int -> Int can probably be omitted -T4488.hs:17:11: warning: [-Widentities] +T4488.hs:17:11: warning: [GHC-04214] [-Widentities] Call of toInteger :: Integer -> Integer can probably be omitted -T4488.hs:23:11: warning: [-Widentities] +T4488.hs:23:11: warning: [GHC-04214] [-Widentities] Call of toRational :: Rational -> Rational can probably be omitted -T4488.hs:29:11: warning: [-Widentities] +T4488.hs:29:11: warning: [GHC-04214] [-Widentities] Call of realToFrac :: Float -> Float can probably be omitted diff --git a/testsuite/tests/deSugar/should_compile/T5117.stderr b/testsuite/tests/deSugar/should_compile/T5117.stderr index 1d66704a05..5f44eae205 100644 --- a/testsuite/tests/deSugar/should_compile/T5117.stderr +++ b/testsuite/tests/deSugar/should_compile/T5117.stderr @@ -1,4 +1,4 @@ -T5117.hs:16:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T5117.hs:16:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f3’: f3 (MyString "a") = ... diff --git a/testsuite/tests/deSugar/should_compile/T5455.stderr b/testsuite/tests/deSugar/should_compile/T5455.stderr index 4bff3560e4..203b9b956c 100644 --- a/testsuite/tests/deSugar/should_compile/T5455.stderr +++ b/testsuite/tests/deSugar/should_compile/T5455.stderr @@ -1,8 +1,8 @@ -T5455.hs:8:11: warning: [-Wincomplete-uni-patterns (in -Wall)] +T5455.hs:8:11: warning: [GHC-62161] [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive - In a pattern binding: Patterns of type ‘String’ not matched: [] + In a pattern binding: Patterns of type ‘String’ not matched: [] -T5455.hs:13:13: warning: [-Wincomplete-uni-patterns (in -Wall)] +T5455.hs:13:13: warning: [GHC-62161] [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive - In a pattern binding: Patterns of type ‘String’ not matched: [] + In a pattern binding: Patterns of type ‘String’ not matched: [] diff --git a/testsuite/tests/deSugar/should_compile/ds002.stderr b/testsuite/tests/deSugar/should_compile/ds002.stderr index 441add8d27..0ff50903b5 100644 --- a/testsuite/tests/deSugar/should_compile/ds002.stderr +++ b/testsuite/tests/deSugar/should_compile/ds002.stderr @@ -1,28 +1,28 @@ -ds002.hs:8:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:8:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f y = ... -ds002.hs:9:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:9:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f z = ... -ds002.hs:12:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:12:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g x y z | True = ... -ds002.hs:13:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:13:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g x y z | True = ... -ds002.hs:14:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:14:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g x y z | True = ... -ds002.hs:15:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:15:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g x y z | True = ... -ds002.hs:16:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:16:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g x y z | True = ... diff --git a/testsuite/tests/deSugar/should_compile/ds003.stderr b/testsuite/tests/deSugar/should_compile/ds003.stderr index b54ea19049..940000c7d6 100644 --- a/testsuite/tests/deSugar/should_compile/ds003.stderr +++ b/testsuite/tests/deSugar/should_compile/ds003.stderr @@ -1,8 +1,8 @@ -ds003.hs:7:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds003.hs:7:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f (x : x1 : x2 : x3) ~(y, ys) z = ... -ds003.hs:8:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds003.hs:8:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f x y True = ... diff --git a/testsuite/tests/deSugar/should_compile/ds006.stderr b/testsuite/tests/deSugar/should_compile/ds006.stderr index cc8bbd947b..a7b2e58878 100644 --- a/testsuite/tests/deSugar/should_compile/ds006.stderr +++ b/testsuite/tests/deSugar/should_compile/ds006.stderr @@ -1,4 +1,4 @@ -ds006.hs:6:5: warning: [-Woverlapping-patterns (in -Wdefault)] +ds006.hs:6:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘v’: v | False = ... diff --git a/testsuite/tests/deSugar/should_compile/ds019.stderr b/testsuite/tests/deSugar/should_compile/ds019.stderr index 67390d49e3..3dd0d8da9a 100644 --- a/testsuite/tests/deSugar/should_compile/ds019.stderr +++ b/testsuite/tests/deSugar/should_compile/ds019.stderr @@ -1,12 +1,12 @@ -ds019.hs:6:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds019.hs:6:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f d (j, k) p = ... -ds019.hs:7:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds019.hs:7:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f (e, f, g) l q = ... -ds019.hs:8:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds019.hs:8:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f h (m, n) r = ... diff --git a/testsuite/tests/deSugar/should_compile/ds020.stderr b/testsuite/tests/deSugar/should_compile/ds020.stderr index 201e819637..5a9fabf94b 100644 --- a/testsuite/tests/deSugar/should_compile/ds020.stderr +++ b/testsuite/tests/deSugar/should_compile/ds020.stderr @@ -1,28 +1,28 @@ -ds020.hs:9:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:9:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘a’: a ~(~[], ~[], ~[]) = ... -ds020.hs:12:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:12:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘b’: b ~(~x : ~xs : ~ys) = ... -ds020.hs:19:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:19:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘d’: d ~(n+43) = ... -ds020.hs:20:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:20:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘d’: d ~(n+999) = ... -ds020.hs:23:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:23:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f x@(~[]) = ... -ds020.hs:32:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:32:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding: (x1 : xs1 : ys1) = ... -ds020.hs:33:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:33:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding: (~x : ~xs : ~ys) = ... diff --git a/testsuite/tests/deSugar/should_compile/ds021.stderr b/testsuite/tests/deSugar/should_compile/ds021.stderr index 0fd5686076..fa4deffdd4 100644 --- a/testsuite/tests/deSugar/should_compile/ds021.stderr +++ b/testsuite/tests/deSugar/should_compile/ds021.stderr @@ -1,4 +1,4 @@ -ds021.hs:8:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds021.hs:8:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f x y z | False = ... diff --git a/testsuite/tests/deSugar/should_compile/ds022.stderr b/testsuite/tests/deSugar/should_compile/ds022.stderr index 81b6de9fb1..d9c1cfb58f 100644 --- a/testsuite/tests/deSugar/should_compile/ds022.stderr +++ b/testsuite/tests/deSugar/should_compile/ds022.stderr @@ -1,8 +1,8 @@ -ds022.hs:24:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds022.hs:24:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘i’: i 1 0.011e2 = ... -ds022.hs:25:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds022.hs:25:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘i’: i 2 2.20000 = ... diff --git a/testsuite/tests/deSugar/should_compile/ds041.stderr b/testsuite/tests/deSugar/should_compile/ds041.stderr index 0455c44516..125d364a06 100644 --- a/testsuite/tests/deSugar/should_compile/ds041.stderr +++ b/testsuite/tests/deSugar/should_compile/ds041.stderr @@ -2,7 +2,7 @@ ds041.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -ds041.hs:16:7: warning: [-Wmissing-fields (in -Wdefault)] +ds041.hs:16:7: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘Foo’ not initialised: x :: a • In the expression: Foo {} diff --git a/testsuite/tests/deSugar/should_compile/ds043.stderr b/testsuite/tests/deSugar/should_compile/ds043.stderr index 3ffb20f6ac..4465739b28 100644 --- a/testsuite/tests/deSugar/should_compile/ds043.stderr +++ b/testsuite/tests/deSugar/should_compile/ds043.stderr @@ -1,4 +1,4 @@ -ds043.hs:10:3: warning: [-Woverlapping-patterns (in -Wdefault)] +ds043.hs:10:3: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: B {e = True, f = False} -> ... diff --git a/testsuite/tests/deSugar/should_compile/ds051.stderr b/testsuite/tests/deSugar/should_compile/ds051.stderr index a59b7ba49d..01bf5caa2b 100644 --- a/testsuite/tests/deSugar/should_compile/ds051.stderr +++ b/testsuite/tests/deSugar/should_compile/ds051.stderr @@ -1,12 +1,12 @@ -ds051.hs:7:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds051.hs:7:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f1’: f1 "ab" = ... -ds051.hs:12:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds051.hs:12:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f2’: f2 ('a' : 'b' : []) = ... -ds051.hs:17:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds051.hs:17:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f3’: f3 "ab" = ... diff --git a/testsuite/tests/deSugar/should_compile/ds056.stderr b/testsuite/tests/deSugar/should_compile/ds056.stderr index e945a72d64..620623e000 100644 --- a/testsuite/tests/deSugar/should_compile/ds056.stderr +++ b/testsuite/tests/deSugar/should_compile/ds056.stderr @@ -1,4 +1,4 @@ -ds056.hs:10:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds056.hs:10:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g _ = ... diff --git a/testsuite/tests/deSugar/should_compile/ds058.stderr b/testsuite/tests/deSugar/should_compile/ds058.stderr index 4a087766e4..1844e70007 100644 --- a/testsuite/tests/deSugar/should_compile/ds058.stderr +++ b/testsuite/tests/deSugar/should_compile/ds058.stderr @@ -1,4 +1,4 @@ -ds058.hs:7:9: warning: [-Woverlapping-patterns (in -Wdefault)] +ds058.hs:7:9: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: Just _ -> ... diff --git a/testsuite/tests/deSugar/should_run/T18172.stderr b/testsuite/tests/deSugar/should_run/T18172.stderr index 64f6646668..90b247c81e 100644 --- a/testsuite/tests/deSugar/should_run/T18172.stderr +++ b/testsuite/tests/deSugar/should_run/T18172.stderr @@ -1,56 +1,57 @@ -<interactive>:2:3: warning: [-Woverflowed-literals (in -Wdefault)] + +<interactive>:2:3: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word8 range 0..255 -<interactive>:3:2: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:3:2: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 256 is out of the Word8 range 0..255 -<interactive>:5:3: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:5:3: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -2 is out of the Word8 range 0..255 -<interactive>:6:2: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:6:2: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 257 is out of the Word8 range 0..255 -<interactive>:8:3: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:8:3: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -3 is out of the Word8 range 0..255 -<interactive>:9:2: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:9:2: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 258 is out of the Word8 range 0..255 -<interactive>:11:11: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:11:11: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -4 is out of the Word8 range 0..255 -<interactive>:12:10: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:12:10: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 259 is out of the Word8 range 0..255 -<interactive>:14:7: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:14:7: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 260 is out of the Word8 range 0..255 -<interactive>:15:13: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:15:13: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 261 is out of the Word8 range 0..255 -<interactive>:16:3: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:16:3: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 262 is out of the Word8 range 0..255 -<interactive>:16:8: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:16:8: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 65536 is out of the Word16 range 0..65535 -<interactive>:18:3: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:18:3: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -5 is out of the Word8 range 0..255 -<interactive>:19:1: warning: [-Wempty-enumerations (in -Wdefault)] +<interactive>:19:1: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -<interactive>:19:7: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:19:7: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 263 is out of the Word8 range 0..255 -<interactive>:22:12: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:22:12: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 264 is out of the Word8 range 0..255 -<interactive>:25:1: warning: [-Wempty-enumerations (in -Wdefault)] +<interactive>:25:1: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -<interactive>:27:1: warning: [-Wempty-enumerations (in -Wdefault)] +<interactive>:27:1: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -<interactive>:29:1: warning: [-Wempty-enumerations (in -Wdefault)] +<interactive>:29:1: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/dependent/should_compile/KindEqualities.stderr b/testsuite/tests/dependent/should_compile/KindEqualities.stderr index c6987e29f3..311ff65b4b 100644 --- a/testsuite/tests/dependent/should_compile/KindEqualities.stderr +++ b/testsuite/tests/dependent/should_compile/KindEqualities.stderr @@ -1,5 +1,5 @@ -KindEqualities.hs:25:1: warning: [-Wincomplete-patterns (in -Wextra)] +KindEqualities.hs:25:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘zero’: Patterns of type ‘TyRep a’ not matched: TyApp (TyApp _ _) _ diff --git a/testsuite/tests/dependent/should_compile/T11241.stderr b/testsuite/tests/dependent/should_compile/T11241.stderr index adb78694ba..29d1071b2d 100644 --- a/testsuite/tests/dependent/should_compile/T11241.stderr +++ b/testsuite/tests/dependent/should_compile/T11241.stderr @@ -1,5 +1,5 @@ -T11241.hs:5:21: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11241.hs:5:21: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘*’ • In the kind ‘_’ In the type signature: foo :: forall (a :: _). a -> a diff --git a/testsuite/tests/dependent/should_fail/BadTelescope2.stderr b/testsuite/tests/dependent/should_fail/BadTelescope2.stderr index f5aee5a1eb..7de40e07cb 100644 --- a/testsuite/tests/dependent/should_fail/BadTelescope2.stderr +++ b/testsuite/tests/dependent/should_fail/BadTelescope2.stderr @@ -1,5 +1,5 @@ -BadTelescope2.hs:9:15: error: +BadTelescope2.hs:9:15: error: [GHC-97739] • These kind and type variables: a k (b :: k) are out of dependency order. Perhaps try this ordering: k (a :: k) (b :: k) diff --git a/testsuite/tests/dependent/should_fail/BadTelescope5.stderr b/testsuite/tests/dependent/should_fail/BadTelescope5.stderr index b5e4ce9c3a..242768822f 100644 --- a/testsuite/tests/dependent/should_fail/BadTelescope5.stderr +++ b/testsuite/tests/dependent/should_fail/BadTelescope5.stderr @@ -1,5 +1,5 @@ -BadTelescope5.hs:10:81: error: +BadTelescope5.hs:10:81: error: [GHC-25897] • Expected kind ‘k’, but ‘d’ has kind ‘Proxy a’ ‘k’ is a rigid type variable bound by the type signature for ‘bar’ diff --git a/testsuite/tests/dependent/should_fail/DepFail1.stderr b/testsuite/tests/dependent/should_fail/DepFail1.stderr index 0201005943..c84b1310f5 100644 --- a/testsuite/tests/dependent/should_fail/DepFail1.stderr +++ b/testsuite/tests/dependent/should_fail/DepFail1.stderr @@ -1,10 +1,10 @@ -DepFail1.hs:7:6: error: +DepFail1.hs:7:6: error: [GHC-83865] • Expecting one more argument to ‘Proxy Bool’ Expected a type, but ‘Proxy Bool’ has kind ‘Bool -> *’ • In the type signature: z :: Proxy Bool -DepFail1.hs:10:16: error: +DepFail1.hs:10:16: error: [GHC-83865] • Expected kind ‘Int’, but ‘Bool’ has kind ‘*’ • In the second argument of ‘Proxy’, namely ‘Bool’ In the type signature: a :: Proxy Int Bool diff --git a/testsuite/tests/dependent/should_fail/PromotedClass.stderr b/testsuite/tests/dependent/should_fail/PromotedClass.stderr index 9f8d84a410..b02e234838 100644 --- a/testsuite/tests/dependent/should_fail/PromotedClass.stderr +++ b/testsuite/tests/dependent/should_fail/PromotedClass.stderr @@ -1,5 +1,5 @@ -PromotedClass.hs:10:15: error: +PromotedClass.hs:10:15: error: [GHC-88634] • Data constructor ‘MkX’ cannot be used here (it has an unpromotable context ‘Show a’) • In the first argument of ‘Proxy’, namely ‘('MkX 'True)’ diff --git a/testsuite/tests/dependent/should_fail/RAE_T32a.stderr b/testsuite/tests/dependent/should_fail/RAE_T32a.stderr index 90c3cd671a..2a38e16ce6 100644 --- a/testsuite/tests/dependent/should_fail/RAE_T32a.stderr +++ b/testsuite/tests/dependent/should_fail/RAE_T32a.stderr @@ -1,9 +1,9 @@ -RAE_T32a.hs:29:1: error: +RAE_T32a.hs:29:1: error: [GHC-83865] • Expected kind ‘k -> *’, but ‘Sing Sigma (Sigma p r)’ has kind ‘*’ • In the data instance declaration for ‘Sing’ -RAE_T32a.hs:29:20: error: +RAE_T32a.hs:29:20: error: [GHC-83865] • Expecting two more arguments to ‘Sigma’ Expected a type, but ‘Sigma’ has kind @@ -11,7 +11,7 @@ RAE_T32a.hs:29:20: error: • In the first argument of ‘Sing’, namely ‘Sigma’ In the data instance declaration for ‘Sing’ -RAE_T32a.hs:29:27: error: +RAE_T32a.hs:29:27: error: [GHC-83865] • Expected kind ‘Sigma’, but ‘Sigma p r’ has kind ‘*’ • In the second argument of ‘Sing’, namely ‘(Sigma p r)’ In the data instance declaration for ‘Sing’ diff --git a/testsuite/tests/dependent/should_fail/RenamingStar.stderr b/testsuite/tests/dependent/should_fail/RenamingStar.stderr index a0f0bbbab0..50603d602d 100644 --- a/testsuite/tests/dependent/should_fail/RenamingStar.stderr +++ b/testsuite/tests/dependent/should_fail/RenamingStar.stderr @@ -1,5 +1,5 @@ -RenamingStar.hs:5:13: error: +RenamingStar.hs:5:13: error: [GHC-24180] Operator applied to too few arguments: * Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead. diff --git a/testsuite/tests/dependent/should_fail/SelfDep.stderr b/testsuite/tests/dependent/should_fail/SelfDep.stderr index 3c90f5444b..33dd608047 100644 --- a/testsuite/tests/dependent/should_fail/SelfDep.stderr +++ b/testsuite/tests/dependent/should_fail/SelfDep.stderr @@ -1,5 +1,5 @@ -SelfDep.hs:5:11: error: +SelfDep.hs:5:11: error: [GHC-88634] • Type constructor ‘T’ cannot be used here (it is defined and used in the same recursive group) • In the kind ‘T -> *’ diff --git a/testsuite/tests/dependent/should_fail/T11407.stderr b/testsuite/tests/dependent/should_fail/T11407.stderr index b24559ea9a..667c779d47 100644 --- a/testsuite/tests/dependent/should_fail/T11407.stderr +++ b/testsuite/tests/dependent/should_fail/T11407.stderr @@ -1,5 +1,5 @@ -T11407.hs:10:40: error: +T11407.hs:10:40: error: [GHC-25897] • Expected kind ‘x a’, but ‘a’ has kind ‘k’ ‘k’ is a rigid type variable bound by a family instance declaration diff --git a/testsuite/tests/dependent/should_fail/T11471.stderr b/testsuite/tests/dependent/should_fail/T11471.stderr index 30bab29f4b..c0292270cc 100644 --- a/testsuite/tests/dependent/should_fail/T11471.stderr +++ b/testsuite/tests/dependent/should_fail/T11471.stderr @@ -1,5 +1,5 @@ -T11471.hs:15:10: error: +T11471.hs:15:10: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a :: * diff --git a/testsuite/tests/dependent/should_fail/T12081.stderr b/testsuite/tests/dependent/should_fail/T12081.stderr index e8f25ba354..ac405a73c5 100644 --- a/testsuite/tests/dependent/should_fail/T12081.stderr +++ b/testsuite/tests/dependent/should_fail/T12081.stderr @@ -1,5 +1,5 @@ -T12081.hs:9:14: error: +T12081.hs:9:14: error: [GHC-83865] • Expected a type, but ‘T n’ has kind ‘Nat’ • In the kind ‘T n’ In the type signature: f :: (a :: T n) diff --git a/testsuite/tests/dependent/should_fail/T13135.stderr b/testsuite/tests/dependent/should_fail/T13135.stderr index fc70907e11..5e79a4946b 100644 --- a/testsuite/tests/dependent/should_fail/T13135.stderr +++ b/testsuite/tests/dependent/should_fail/T13135.stderr @@ -1,5 +1,5 @@ -T13135.hs:60:10: error: +T13135.hs:60:10: error: [GHC-39999] • No instance for ‘Constr :<: Constr’ arising from a use of ‘smartSym’ • In the expression: smartSym sym diff --git a/testsuite/tests/dependent/should_fail/T13135_simple.stderr b/testsuite/tests/dependent/should_fail/T13135_simple.stderr index 52b1e848c0..68f5dd3e30 100644 --- a/testsuite/tests/dependent/should_fail/T13135_simple.stderr +++ b/testsuite/tests/dependent/should_fail/T13135_simple.stderr @@ -1,8 +1,8 @@ -T13135_simple.hs:34:11: error: +T13135_simple.hs:34:11: error: [GHC-83865] • Couldn't match type ‘SmartFun sig’ with ‘Bool’ Expected: Int -> Bool Actual: SmartFun ('SigFun Int sig) - The type variable ‘sig’ is ambiguous + The type variable ‘sig’ is ambiguous • In the expression: smartSym In an equation for ‘problem’: problem = smartSym diff --git a/testsuite/tests/dependent/should_fail/T13601.stderr b/testsuite/tests/dependent/should_fail/T13601.stderr index 269dd00b20..695463c080 100644 --- a/testsuite/tests/dependent/should_fail/T13601.stderr +++ b/testsuite/tests/dependent/should_fail/T13601.stderr @@ -1,5 +1,5 @@ -T13601.hs:19:16: error: +T13601.hs:19:16: error: [GHC-83865] • Expected a type, but ‘Logic a’ has kind ‘TYPE (Rep rep)’ • In the first argument of ‘Boolean’, namely ‘(Logic a)’ In the class declaration for ‘Eq’ diff --git a/testsuite/tests/dependent/should_fail/T13780a.stderr b/testsuite/tests/dependent/should_fail/T13780a.stderr index 6cdcf96369..35ec45a24b 100644 --- a/testsuite/tests/dependent/should_fail/T13780a.stderr +++ b/testsuite/tests/dependent/should_fail/T13780a.stderr @@ -1,5 +1,5 @@ -T13780a.hs:9:40: error: +T13780a.hs:9:40: error: [GHC-25897] • Couldn't match kind ‘a’ with ‘Bool’ Expected kind ‘Foo a’, but ‘MkFoo’ has kind ‘Foo Bool’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/dependent/should_fail/T13780c.stderr b/testsuite/tests/dependent/should_fail/T13780c.stderr index 2cdb59ad1e..15e3d7e0c7 100644 --- a/testsuite/tests/dependent/should_fail/T13780c.stderr +++ b/testsuite/tests/dependent/should_fail/T13780c.stderr @@ -1,13 +1,13 @@ [1 of 2] Compiling T13780b ( T13780b.hs, T13780b.o ) [2 of 2] Compiling T13780c ( T13780c.hs, T13780c.o ) -T13780c.hs:12:16: error: +T13780c.hs:12:16: error: [GHC-88634] • Data constructor ‘SFalse’ cannot be used here (it comes from a data family instance) • In the third argument of ‘ElimBool’, namely ‘SFalse’ In the type family declaration for ‘ElimBool’ -T13780c.hs:13:16: error: +T13780c.hs:13:16: error: [GHC-88634] • Data constructor ‘STrue’ cannot be used here (it comes from a data family instance) • In the third argument of ‘ElimBool’, namely ‘STrue’ diff --git a/testsuite/tests/dependent/should_fail/T13895.stderr b/testsuite/tests/dependent/should_fail/T13895.stderr index 5ab651fe0b..0039fb2151 100644 --- a/testsuite/tests/dependent/should_fail/T13895.stderr +++ b/testsuite/tests/dependent/should_fail/T13895.stderr @@ -1,9 +1,8 @@ -T13895.hs:11:14: error: +T13895.hs:11:14: error: [GHC-01259] • Illegal constraint in a kind: forall k. Typeable k => k -> * • In the type signature: - dataCast1 :: forall (a :: Type). - Data a => - forall (c :: Type -> Type) - (t :: forall (k :: Type). Typeable k => k -> Type). - Typeable t => (forall d. Data d => c (t d)) -> Maybe (c a) + dataCast1 :: forall (a :: Type). Data a => + forall (c :: Type -> Type) + (t :: forall (k :: Type). Typeable k => k -> Type). + Typeable t => (forall d. Data d => c (t d)) -> Maybe (c a) diff --git a/testsuite/tests/dependent/should_fail/T14066.stderr b/testsuite/tests/dependent/should_fail/T14066.stderr index 20c82215ed..2d3d34bb81 100644 --- a/testsuite/tests/dependent/should_fail/T14066.stderr +++ b/testsuite/tests/dependent/should_fail/T14066.stderr @@ -1,10 +1,10 @@ -T14066.hs:15:59: error: +T14066.hs:15:59: error: [GHC-46956] • Expected kind ‘k0’, but ‘b’ has kind ‘k’ - because kind variable ‘k’ would escape its scope - This (rigid, skolem) kind variable is bound by - an explicit forall k (b :: k) - at T14066.hs:15:36-45 + • because kind variable ‘k’ would escape its scope + This (rigid, skolem) kind variable is bound by + an explicit forall k (b :: k) + at T14066.hs:15:36-45 • In the second argument of ‘SameKind’, namely ‘b’ In the type signature: g :: forall k (b :: k). SameKind a b In the expression: diff --git a/testsuite/tests/dependent/should_fail/T14066c.stderr b/testsuite/tests/dependent/should_fail/T14066c.stderr index dc5ba30a4f..4199e6381d 100644 --- a/testsuite/tests/dependent/should_fail/T14066c.stderr +++ b/testsuite/tests/dependent/should_fail/T14066c.stderr @@ -1,5 +1,5 @@ -T14066c.hs:8:17: error: +T14066c.hs:8:17: error: [GHC-83865] • Expected kind ‘Bool’, but ‘Nothing’ has kind ‘Maybe a0’ • In the second argument of ‘H’, namely ‘Nothing’ In the type ‘H True Nothing’ diff --git a/testsuite/tests/dependent/should_fail/T14066d.stderr b/testsuite/tests/dependent/should_fail/T14066d.stderr index 169897c416..12c4058abf 100644 --- a/testsuite/tests/dependent/should_fail/T14066d.stderr +++ b/testsuite/tests/dependent/should_fail/T14066d.stderr @@ -1,5 +1,5 @@ -T14066d.hs:11:35: error: +T14066d.hs:11:35: error: [GHC-25897] • Couldn't match type ‘b1’ with ‘b’ Expected: (Proxy a, Proxy c, b1) Actual: (Proxy a, Proxy c, b) diff --git a/testsuite/tests/dependent/should_fail/T14066e.stderr b/testsuite/tests/dependent/should_fail/T14066e.stderr index b103b16187..21d74678c3 100644 --- a/testsuite/tests/dependent/should_fail/T14066e.stderr +++ b/testsuite/tests/dependent/should_fail/T14066e.stderr @@ -1,5 +1,5 @@ -T14066e.hs:13:65: error: +T14066e.hs:13:65: error: [GHC-25897] • Expected a type, but ‘c'’ has kind ‘k1’ ‘k1’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/dependent/should_fail/T14845_fail1.stderr b/testsuite/tests/dependent/should_fail/T14845_fail1.stderr index c1f1c8605d..90e1ab9d25 100644 --- a/testsuite/tests/dependent/should_fail/T14845_fail1.stderr +++ b/testsuite/tests/dependent/should_fail/T14845_fail1.stderr @@ -1,5 +1,5 @@ -T14845_fail1.hs:10:13: error: +T14845_fail1.hs:10:13: error: [GHC-88634] • Data constructor ‘S’ cannot be used here (it has an unpromotable context ‘cls a’) • In the first argument of ‘Foo’, namely ‘(S :: Struct Eq a)’ diff --git a/testsuite/tests/dependent/should_fail/T14845_fail2.stderr b/testsuite/tests/dependent/should_fail/T14845_fail2.stderr index 55519c582a..3402d2b09c 100644 --- a/testsuite/tests/dependent/should_fail/T14845_fail2.stderr +++ b/testsuite/tests/dependent/should_fail/T14845_fail2.stderr @@ -1,5 +1,5 @@ -T14845_fail2.hs:15:14: error: +T14845_fail2.hs:15:14: error: [GHC-88634] • Data constructor ‘MkA’ cannot be used here (it has an unpromotable context ‘Coercible a Int’) • In the first argument of ‘SA’, namely ‘MkA’ diff --git a/testsuite/tests/dependent/should_fail/T15215.stderr b/testsuite/tests/dependent/should_fail/T15215.stderr index 51119c1e7a..f7a91650d1 100644 --- a/testsuite/tests/dependent/should_fail/T15215.stderr +++ b/testsuite/tests/dependent/should_fail/T15215.stderr @@ -1,11 +1,11 @@ -T15215.hs:11:3: error: +T15215.hs:11:3: error: [GHC-80003] • Non type-variable argument in the constraint: Show (Maybe a) • In the definition of data constructor ‘MkA’ In the data type declaration for ‘A’ Suggested fix: Perhaps you intended to use FlexibleContexts -T15215.hs:18:14: error: +T15215.hs:18:14: error: [GHC-88634] • Data constructor ‘MkB’ cannot be used here (it has an unpromotable context ‘Show a’) • In the first argument of ‘SA’, namely ‘MkB’ diff --git a/testsuite/tests/dependent/should_fail/T15245.stderr b/testsuite/tests/dependent/should_fail/T15245.stderr index 859fafda8b..533b350de9 100644 --- a/testsuite/tests/dependent/should_fail/T15245.stderr +++ b/testsuite/tests/dependent/should_fail/T15245.stderr @@ -1,5 +1,5 @@ -T15245.hs:10:24: error: +T15245.hs:10:24: error: [GHC-88634] • Data constructor ‘MkK’ cannot be used here (it comes from a data family instance) • In the type ‘'MkK’ diff --git a/testsuite/tests/dependent/should_fail/T15264.stderr b/testsuite/tests/dependent/should_fail/T15264.stderr index 6d5f597823..fedb54c99e 100644 --- a/testsuite/tests/dependent/should_fail/T15264.stderr +++ b/testsuite/tests/dependent/should_fail/T15264.stderr @@ -1,6 +1,8 @@ -T15264.hs:7:22: error: Not in scope: type variable ‘k’ +T15264.hs:7:22: error: [GHC-76037] Not in scope: type variable ‘k’ -T15264.hs:10:22: error: Not in scope: type variable ‘k1’ +T15264.hs:10:22: error: [GHC-76037] + Not in scope: type variable ‘k1’ -T15264.hs:10:32: error: Not in scope: type variable ‘k2’ +T15264.hs:10:32: error: [GHC-76037] + Not in scope: type variable ‘k2’ diff --git a/testsuite/tests/dependent/should_fail/T15308.stderr b/testsuite/tests/dependent/should_fail/T15308.stderr index 60c02ac31f..f3c6db26f7 100644 --- a/testsuite/tests/dependent/should_fail/T15308.stderr +++ b/testsuite/tests/dependent/should_fail/T15308.stderr @@ -1,5 +1,5 @@ -T15308.hs:13:5: error: +T15308.hs:13:5: error: [GHC-39999] • No instance for ‘Show (Foo a f)’ arising from a use of ‘show’ • In the expression: show In an equation for ‘f’: f = show diff --git a/testsuite/tests/dependent/should_fail/T15343.stderr b/testsuite/tests/dependent/should_fail/T15343.stderr index d3067812d2..b86523fa42 100644 --- a/testsuite/tests/dependent/should_fail/T15343.stderr +++ b/testsuite/tests/dependent/should_fail/T15343.stderr @@ -1,5 +1,5 @@ -T15343.hs:15:18: error: +T15343.hs:15:18: error: [GHC-83865] • Expecting one more argument to ‘WhySym’ Expected kind ‘forall z. z’, but ‘WhySym’ has kind ‘* -> *’ • In the type ‘WhySym’ diff --git a/testsuite/tests/dependent/should_fail/T15380.stderr b/testsuite/tests/dependent/should_fail/T15380.stderr index bf0355b01b..429a996e13 100644 --- a/testsuite/tests/dependent/should_fail/T15380.stderr +++ b/testsuite/tests/dependent/should_fail/T15380.stderr @@ -1,5 +1,5 @@ -T15380.hs:18:16: error: +T15380.hs:18:16: error: [GHC-83865] • Expecting one more argument to ‘To (M x)’ Expected a type, but ‘To (M x)’ has kind ‘Rep (M x) -> M x’ • In the type ‘To (M x)’ diff --git a/testsuite/tests/dependent/should_fail/T15859.stderr b/testsuite/tests/dependent/should_fail/T15859.stderr index 9779cb5f1a..30b24b1206 100644 --- a/testsuite/tests/dependent/should_fail/T15859.stderr +++ b/testsuite/tests/dependent/should_fail/T15859.stderr @@ -1,5 +1,5 @@ -T15859.hs:9:19: error: +T15859.hs:9:19: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall k -> k -> * (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T15859a.stderr b/testsuite/tests/dependent/should_fail/T15859a.stderr index 2d04f8d1fa..13db6890a4 100644 --- a/testsuite/tests/dependent/should_fail/T15859a.stderr +++ b/testsuite/tests/dependent/should_fail/T15859a.stderr @@ -1,7 +1,7 @@ -T15859a.hs:19:26: error: +T15859a.hs:19:26: error: [GHC-91028] • Expected kind ‘k0’, but ‘A’ has kind ‘forall k -> k -> *’ - • Cannot instantiate unification variable ‘k0’ + Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall k -> k -> * • In the first argument of ‘KindOf’, namely ‘A’ In an expression type signature: KindOf A diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail1.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail1.stderr index c56bd105db..da66f380c2 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail1.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail1.stderr @@ -1,11 +1,11 @@ -T16326_Fail1.hs:5:8: error: +T16326_Fail1.hs:5:8: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> a (GHC does not yet support this) • In the type signature: id1 :: forall a -> a -> a -T16326_Fail1.hs:9:8: error: +T16326_Fail1.hs:9:8: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> a (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail10.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail10.stderr index 44a0d34a33..3c0ce349b9 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail10.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail10.stderr @@ -1,5 +1,5 @@ -T16326_Fail10.hs:12:18: error: +T16326_Fail10.hs:12:18: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> a (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail11.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail11.stderr index 396010dbd7..f96814d281 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail11.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail11.stderr @@ -1,5 +1,5 @@ -T16326_Fail11.hs:9:11: error: +T16326_Fail11.hs:9:11: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall x -> x (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail12.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail12.stderr index 30b35de4f7..91044c0577 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail12.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail12.stderr @@ -1,5 +1,5 @@ -T16326_Fail12.hs:6:1: error: +T16326_Fail12.hs:6:1: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> Show a (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail2.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail2.stderr index 3e3f0c1128..1e991a28ba 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail2.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail2.stderr @@ -1,5 +1,5 @@ -T16326_Fail2.hs:6:37: error: +T16326_Fail2.hs:6:37: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> IO () (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail3.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail3.stderr index 27ed998b45..e7990218ec 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail3.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail3.stderr @@ -1,5 +1,5 @@ -T16326_Fail3.hs:6:1: error: +T16326_Fail3.hs:6:1: error: [GHC-51580] Illegal visible, dependent quantification in the type of a term: forall a -> [a] (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail4.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail4.stderr index 258fc08607..5039c07f89 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail4.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail4.stderr @@ -1,5 +1,5 @@ -T16326_Fail4.hs:6:30: error: +T16326_Fail4.hs:6:30: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a1 -> Maybe a1 -> Maybe a1 -> Maybe a1 (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail5.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail5.stderr index 59c27c2464..ba84b8a21a 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail5.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail5.stderr @@ -1,5 +1,5 @@ -T16326_Fail5.hs:7:20: error: +T16326_Fail5.hs:7:20: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a1 -> Maybe a1 (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail7.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail7.stderr index edb1c1c8f5..0380d29e72 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail7.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail7.stderr @@ -1,5 +1,5 @@ -T16326_Fail7.hs:9:13: error: +T16326_Fail7.hs:9:13: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail9.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail9.stderr index 3ad4e754a9..29afc29d93 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail9.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail9.stderr @@ -1,5 +1,5 @@ -T16326_Fail9.hs:11:5: error: +T16326_Fail9.hs:11:5: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> a (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16344.stderr b/testsuite/tests/dependent/should_fail/T16344.stderr index d567defeee..5081549afd 100644 --- a/testsuite/tests/dependent/should_fail/T16344.stderr +++ b/testsuite/tests/dependent/should_fail/T16344.stderr @@ -1,5 +1,5 @@ -T16344.hs:7:46: error: +T16344.hs:7:46: error: [GHC-25897] • Expected kind ‘ka’, but ‘Int’ has kind ‘*’ • In the second argument of ‘T’, namely ‘Int’ In the type ‘(T Type Int Bool)’ diff --git a/testsuite/tests/dependent/should_fail/T16344a.stderr b/testsuite/tests/dependent/should_fail/T16344a.stderr index ab3b991293..e31d7b0a22 100644 --- a/testsuite/tests/dependent/should_fail/T16344a.stderr +++ b/testsuite/tests/dependent/should_fail/T16344a.stderr @@ -1,5 +1,5 @@ -T16344a.hs:11:36: error: +T16344a.hs:11:36: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘ka’ ‘ka’ is a rigid type variable bound by the data type declaration for ‘T2’ diff --git a/testsuite/tests/dependent/should_fail/T16391b.stderr b/testsuite/tests/dependent/should_fail/T16391b.stderr index 2209886a89..201adffc25 100644 --- a/testsuite/tests/dependent/should_fail/T16391b.stderr +++ b/testsuite/tests/dependent/should_fail/T16391b.stderr @@ -1,5 +1,5 @@ -T16391b.hs:10:8: error: +T16391b.hs:10:8: error: [GHC-25897] • Expected a type, but ‘T r’ has kind ‘TYPE r’ ‘r’ is a rigid type variable bound by the type signature for ‘foo’ diff --git a/testsuite/tests/dependent/should_fail/T16418.stderr b/testsuite/tests/dependent/should_fail/T16418.stderr index a286d77805..5b5f66d577 100644 --- a/testsuite/tests/dependent/should_fail/T16418.stderr +++ b/testsuite/tests/dependent/should_fail/T16418.stderr @@ -1,5 +1,5 @@ -T16418.hs:9:13: error: +T16418.hs:9:13: error: [GHC-97739] • These kind and type variables: a k (b :: k) are out of dependency order. Perhaps try this ordering: k (a :: k) (b :: k) diff --git a/testsuite/tests/dependent/should_fail/T17131.stderr b/testsuite/tests/dependent/should_fail/T17131.stderr index 3ab5c50665..3bc040f45b 100644 --- a/testsuite/tests/dependent/should_fail/T17131.stderr +++ b/testsuite/tests/dependent/should_fail/T17131.stderr @@ -1,10 +1,10 @@ -T17131.hs:12:34: error: +T17131.hs:12:34: error: [GHC-83865] • Couldn't match kind: TypeReps xs with: '[LiftedRep] Expected kind ‘TYPE ('TupleRep (TypeReps xs))’, but ‘(# a #)’ has kind ‘TYPE ('TupleRep '[LiftedRep])’ - The type variable ‘xs’ is ambiguous + The type variable ‘xs’ is ambiguous • In the type ‘(# a #)’ In the type family declaration for ‘Tuple#’ NB: Type ‘Tuple#’ was inferred to use visible dependent quantification. diff --git a/testsuite/tests/dependent/should_fail/T17541.stderr b/testsuite/tests/dependent/should_fail/T17541.stderr index 2321aee6ed..ed30993549 100644 --- a/testsuite/tests/dependent/should_fail/T17541.stderr +++ b/testsuite/tests/dependent/should_fail/T17541.stderr @@ -1,8 +1,8 @@ -T17541.hs:19:17: error: +T17541.hs:19:17: error: [GHC-83865] • Couldn't match kind ‘Rep rep’ with ‘'IntRep’ Expected kind ‘TYPE (Rep rep)’, but ‘Int#’ has kind ‘TYPE 'IntRep’ - The type variable ‘rep’ is ambiguous + The type variable ‘rep’ is ambiguous • In the type ‘Int#’ In the type family declaration for ‘Unboxed’ NB: Type ‘Unboxed’ was inferred to use visible dependent quantification. diff --git a/testsuite/tests/dependent/should_fail/T17541b.stderr b/testsuite/tests/dependent/should_fail/T17541b.stderr index 7502f21373..f0b952c679 100644 --- a/testsuite/tests/dependent/should_fail/T17541b.stderr +++ b/testsuite/tests/dependent/should_fail/T17541b.stderr @@ -1,5 +1,5 @@ -T17541b.hs:8:20: error: +T17541b.hs:8:20: error: [GHC-25897] • Expected kind ‘k’, but ‘Int’ has kind ‘*’ • In the second argument of ‘T’, namely ‘Int’ In the type ‘T Type Int’ diff --git a/testsuite/tests/dependent/should_fail/T17687.stderr b/testsuite/tests/dependent/should_fail/T17687.stderr index e4ac034f93..03d9106e1d 100644 --- a/testsuite/tests/dependent/should_fail/T17687.stderr +++ b/testsuite/tests/dependent/should_fail/T17687.stderr @@ -1,5 +1,5 @@ -T17687.hs:5:6: error: +T17687.hs:5:6: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> a (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/TypeSkolEscape.stderr b/testsuite/tests/dependent/should_fail/TypeSkolEscape.stderr index b8ccbdfc9f..8020f53979 100644 --- a/testsuite/tests/dependent/should_fail/TypeSkolEscape.stderr +++ b/testsuite/tests/dependent/should_fail/TypeSkolEscape.stderr @@ -1,9 +1,9 @@ -TypeSkolEscape.hs:9:52: error: +TypeSkolEscape.hs:9:52: error: [GHC-46956] • Expected kind ‘k0’, but ‘a’ has kind ‘TYPE v’ - because kind variable ‘v’ would escape its scope - This (rigid, skolem) kind variable is bound by - an explicit forall (v :: RuntimeRep) (a :: TYPE v) - at TypeSkolEscape.hs:9:19-49 + • because kind variable ‘v’ would escape its scope + This (rigid, skolem) kind variable is bound by + an explicit forall (v :: RuntimeRep) (a :: TYPE v) + at TypeSkolEscape.hs:9:19-49 • In the type ‘forall (v :: RuntimeRep) (a :: TYPE v). a’ In the type declaration for ‘Bad’ diff --git a/testsuite/tests/deriving/should_compile/T14094.stderr b/testsuite/tests/deriving/should_compile/T14094.stderr index 3457a007f3..0f346a0261 100644 --- a/testsuite/tests/deriving/should_compile/T14094.stderr +++ b/testsuite/tests/deriving/should_compile/T14094.stderr @@ -1,9 +1,9 @@ -T14094.hs:12:1: warning: [-Wmissing-methods (in -Wdefault)] +T14094.hs:12:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘D’ • In the instance declaration for ‘C Int’ -T14094.hs:12:1: warning: [-Wmissing-methods (in -Wdefault)] +T14094.hs:12:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘T’ • In the instance declaration for ‘C Int’ @@ -17,11 +17,10 @@ T14094.hs:13:1: warning: [-Wmissing-methods (in -Wdefault)] ‘m’ • In the instance declaration for ‘C Bool’ -T14094.hs:13:1: warning: [-Wmissing-methods (in -Wdefault)] +T14094.hs:13:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘D’ • In the instance declaration for ‘C Bool’ -T14094.hs:13:1: warning: [-Wmissing-methods (in -Wdefault)] +T14094.hs:13:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘T’ • In the instance declaration for ‘C Bool’ - diff --git a/testsuite/tests/deriving/should_compile/T16179.stderr b/testsuite/tests/deriving/should_compile/T16179.stderr index 735bd49b46..88493495b1 100644 --- a/testsuite/tests/deriving/should_compile/T16179.stderr +++ b/testsuite/tests/deriving/should_compile/T16179.stderr @@ -1,7 +1,8 @@ -T16179.hs:7:30: warning: [-Wderiving-defaults (in -Wdefault)] +T16179.hs:7:30: warning: [GHC-20042] [-Wderiving-defaults (in -Wdefault)] • Both DeriveAnyClass and GeneralizedNewtypeDeriving are enabled Defaulting to the DeriveAnyClass strategy for instantiating C • In the newtype declaration for ‘T’ Suggested fix: - Use DerivingStrategies to pick a different strategy + Use DerivingStrategies + to pick a different strategy diff --git a/testsuite/tests/deriving/should_fail/T10598_fail1.stderr b/testsuite/tests/deriving/should_fail/T10598_fail1.stderr index ec4de2f1ad..f5bb4a21ce 100644 --- a/testsuite/tests/deriving/should_fail/T10598_fail1.stderr +++ b/testsuite/tests/deriving/should_fail/T10598_fail1.stderr @@ -1,11 +1,11 @@ -T10598_fail1.hs:9:40: error: +T10598_fail1.hs:9:40: error: [GHC-10333] • Can't make a derived instance of ‘Show A’ with the newtype strategy: GeneralizedNewtypeDeriving cannot be used on non-newtypes • In the data declaration for ‘A’ -T10598_fail1.hs:10:40: error: +T10598_fail1.hs:10:40: error: [GHC-00158] • Can't make a derived instance of ‘Num B’ with the stock strategy: ‘Num’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘B’ diff --git a/testsuite/tests/deriving/should_fail/T10598_fail2.stderr b/testsuite/tests/deriving/should_fail/T10598_fail2.stderr index 7cfcbcdabb..4f9b5d8339 100644 --- a/testsuite/tests/deriving/should_fail/T10598_fail2.stderr +++ b/testsuite/tests/deriving/should_fail/T10598_fail2.stderr @@ -1,11 +1,11 @@ -T10598_fail2.hs:5:37: error: +T10598_fail2.hs:5:37: error: [GHC-38178] • Can't make a derived instance of ‘Eq A’ with the anyclass strategy: • In the data declaration for ‘A’ Suggested fix: Perhaps you intended to use DeriveAnyClass -T10598_fail2.hs:6:37: error: +T10598_fail2.hs:6:37: error: [GHC-26557] • Can't make a derived instance of ‘Eq B’ with the newtype strategy: • In the newtype declaration for ‘B’ diff --git a/testsuite/tests/deriving/should_fail/T10598_fail3.stderr b/testsuite/tests/deriving/should_fail/T10598_fail3.stderr index 1ebc9c9c93..764f55c5f5 100644 --- a/testsuite/tests/deriving/should_fail/T10598_fail3.stderr +++ b/testsuite/tests/deriving/should_fail/T10598_fail3.stderr @@ -1,4 +1,4 @@ -T10598_fail3.hs:9:36: error: +T10598_fail3.hs:9:36: error: [GHC-07214] • Generic instances can only be derived in Safe Haskell using the stock strategy. • In the instance declaration for ‘Generic T’ diff --git a/testsuite/tests/deriving/should_fail/T10598_fail6.stderr b/testsuite/tests/deriving/should_fail/T10598_fail6.stderr index 0de1fe50bf..273e841de8 100644 --- a/testsuite/tests/deriving/should_fail/T10598_fail6.stderr +++ b/testsuite/tests/deriving/should_fail/T10598_fail6.stderr @@ -1,5 +1,5 @@ -T10598_fail6.hs:6:41: error: +T10598_fail6.hs:6:41: error: [GHC-86639] • Can't make a derived instance of ‘Functor F’ (even with cunning GeneralizedNewtypeDeriving): You need DeriveFunctor to derive an instance for this class diff --git a/testsuite/tests/deriving/should_fail/T10684.stderr b/testsuite/tests/deriving/should_fail/T10684.stderr index 0724f8ec84..3ce78b28b0 100644 --- a/testsuite/tests/deriving/should_fail/T10684.stderr +++ b/testsuite/tests/deriving/should_fail/T10684.stderr @@ -1,5 +1,5 @@ -T10684.hs:4:28: error: +T10684.hs:4:28: error: [GHC-86639] • Can't make a derived instance of ‘Generic A’: You need DeriveGeneric to derive an instance for this class • In the data declaration for ‘A’ diff --git a/testsuite/tests/deriving/should_fail/T1133A.stderr b/testsuite/tests/deriving/should_fail/T1133A.stderr index dd750cef2b..c05b28510e 100644 --- a/testsuite/tests/deriving/should_fail/T1133A.stderr +++ b/testsuite/tests/deriving/should_fail/T1133A.stderr @@ -1,5 +1,5 @@ -T1133A.hs:7:28: error: +T1133A.hs:7:28: error: [GHC-30750] • Can't make a derived instance of ‘Enum X’: ‘X’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) diff --git a/testsuite/tests/deriving/should_fail/T11509_1.stderr b/testsuite/tests/deriving/should_fail/T11509_1.stderr index 5ca2d46832..8af55d63c4 100644 --- a/testsuite/tests/deriving/should_fail/T11509_1.stderr +++ b/testsuite/tests/deriving/should_fail/T11509_1.stderr @@ -1,5 +1,5 @@ -T11509_1.hs:53:1: error: +T11509_1.hs:53:1: error: [GHC-23244] • Can't make a derived instance of ‘SC (Serializable (MyList a))’: ‘Serializable’ is a type class, and can only have a derived instance if DeriveAnyClass is enabled diff --git a/testsuite/tests/deriving/should_fail/T12163.stderr b/testsuite/tests/deriving/should_fail/T12163.stderr index ba6879839c..d075ff30e3 100644 --- a/testsuite/tests/deriving/should_fail/T12163.stderr +++ b/testsuite/tests/deriving/should_fail/T12163.stderr @@ -1,5 +1,5 @@ -T12163.hs:8:16: error: +T12163.hs:8:16: error: [GHC-16437] • Can't make a derived instance of ‘Functor (T a)’: Constructor ‘Mk’ is a GADT • In the data declaration for ‘T’ diff --git a/testsuite/tests/deriving/should_fail/T12512.stderr b/testsuite/tests/deriving/should_fail/T12512.stderr index 86d22c0124..f335e6cbcc 100644 --- a/testsuite/tests/deriving/should_fail/T12512.stderr +++ b/testsuite/tests/deriving/should_fail/T12512.stderr @@ -1,11 +1,11 @@ -T12512.hs:10:1: error: +T12512.hs:10:1: error: [GHC-00158] • Can't make a derived instance of ‘Wat1 (# a, b #)’: ‘Wat1’ is not a stock derivable class (Eq, Show, etc.) • In the stand-alone deriving instance for ‘Wat1 (# a, b #)’ Suggested fix: Perhaps you intended to use DeriveAnyClass -T12512.hs:13:1: error: +T12512.hs:13:1: error: [GHC-00158] • Can't make a derived instance of ‘Wat2 (# a | b #)’: ‘Wat2’ is not a stock derivable class (Eq, Show, etc.) • In the stand-alone deriving instance for ‘Wat2 (# a | b #)’ diff --git a/testsuite/tests/deriving/should_fail/T12801.stderr b/testsuite/tests/deriving/should_fail/T12801.stderr index cd3193aabe..c7fdc1b01e 100644 --- a/testsuite/tests/deriving/should_fail/T12801.stderr +++ b/testsuite/tests/deriving/should_fail/T12801.stderr @@ -1,5 +1,5 @@ -T12801.hs:9:17: error: +T12801.hs:9:17: error: [GHC-86639] • Can't make a derived instance of ‘Functor Wibble’: You need DeriveFunctor to derive an instance for this class • In the data declaration for ‘Wibble’ diff --git a/testsuite/tests/deriving/should_fail/T13154c.stderr b/testsuite/tests/deriving/should_fail/T13154c.stderr index 70031a79b2..cc2d628c97 100644 --- a/testsuite/tests/deriving/should_fail/T13154c.stderr +++ b/testsuite/tests/deriving/should_fail/T13154c.stderr @@ -1,34 +1,34 @@ -T13154c.hs:16:1: error: +T13154c.hs:16:1: error: [GHC-28323] • Can't make a derived instance of ‘Foo1 a’ with the stock strategy: The last argument of the instance must be a data or newtype application • In the stand-alone deriving instance for ‘Foo1 a’ -T13154c.hs:17:1: error: +T13154c.hs:17:1: error: [GHC-00158] • Can't make a derived instance of ‘Foo1 (# #)’ with the stock strategy: ‘Foo1’ is not a stock derivable class (Eq, Show, etc.) • In the stand-alone deriving instance for ‘Foo1 (# #)’ -T13154c.hs:18:1: error: +T13154c.hs:18:1: error: [GHC-28323] • Can't make a derived instance of ‘Foo1 a’ with the newtype strategy: The last argument of the instance must be a data or newtype application • In the stand-alone deriving instance for ‘Foo1 a’ -T13154c.hs:19:1: error: +T13154c.hs:19:1: error: [GHC-10333] • Can't make a derived instance of ‘Foo1 (# #)’ with the newtype strategy: GeneralizedNewtypeDeriving cannot be used on non-newtypes • In the stand-alone deriving instance for ‘Foo1 (# #)’ -T13154c.hs:22:1: error: +T13154c.hs:22:1: error: [GHC-04956] • Can't make a derived instance of ‘Foo2’ with the stock strategy: Cannot derive instances for nullary classes • In the stand-alone deriving instance for ‘Foo2’ -T13154c.hs:23:1: error: +T13154c.hs:23:1: error: [GHC-04956] • Can't make a derived instance of ‘Foo2’ with the newtype strategy: Cannot derive instances for nullary classes diff --git a/testsuite/tests/deriving/should_fail/T14365.stderr b/testsuite/tests/deriving/should_fail/T14365.stderr index f8f106fea8..dff9ece56b 100644 --- a/testsuite/tests/deriving/should_fail/T14365.stderr +++ b/testsuite/tests/deriving/should_fail/T14365.stderr @@ -1,12 +1,12 @@ [1 of 3] Compiling T14365B[boot] ( T14365B.hs-boot, T14365B.o-boot ) -T14365B.hs-boot:5:13: error: +T14365B.hs-boot:5:13: error: [GHC-30903] • Can't make a derived instance of ‘Functor Foo’: Cannot derive instances in hs-boot files Write an instance declaration instead • In the data declaration for ‘Foo’ -T14365B.hs-boot:7:1: error: +T14365B.hs-boot:7:1: error: [GHC-30903] • Can't make a derived instance of ‘Foldable Foo’: Cannot derive instances in hs-boot files Write an instance declaration instead diff --git a/testsuite/tests/deriving/should_fail/T14728a.stderr b/testsuite/tests/deriving/should_fail/T14728a.stderr index b76d073645..80d31d8290 100644 --- a/testsuite/tests/deriving/should_fail/T14728a.stderr +++ b/testsuite/tests/deriving/should_fail/T14728a.stderr @@ -1,5 +1,5 @@ -T14728a.hs:17:1: error: +T14728a.hs:17:1: error: [GHC-34611] • Can't make a derived instance of ‘C (Identity a)’ (even with cunning GeneralizedNewtypeDeriving): the associated type ‘T’ contains the last type variable diff --git a/testsuite/tests/deriving/should_fail/T14728b.stderr b/testsuite/tests/deriving/should_fail/T14728b.stderr index ee74f8b4da..761f1db034 100644 --- a/testsuite/tests/deriving/should_fail/T14728b.stderr +++ b/testsuite/tests/deriving/should_fail/T14728b.stderr @@ -1,5 +1,5 @@ -T14728b.hs:16:1: error: +T14728b.hs:16:1: error: [GHC-34611] • Can't make a derived instance of ‘C (Identity a)’ (even with cunning GeneralizedNewtypeDeriving): the associated type ‘U’ contains the last type variable diff --git a/testsuite/tests/deriving/should_fail/T14916.stderr b/testsuite/tests/deriving/should_fail/T14916.stderr index 173536e790..62aa410179 100644 --- a/testsuite/tests/deriving/should_fail/T14916.stderr +++ b/testsuite/tests/deriving/should_fail/T14916.stderr @@ -1,8 +1,8 @@ -T14916.hs:7:24: error: +T14916.hs:7:24: error: [GHC-97044] • Class ‘~’ does not support user-specified instances. • In the data declaration for ‘A’ -T14916.hs:8:24: error: +T14916.hs:8:24: error: [GHC-97044] • Class ‘Coercible’ does not support user-specified instances. • In the data declaration for ‘B’ diff --git a/testsuite/tests/deriving/should_fail/T1496.stderr b/testsuite/tests/deriving/should_fail/T1496.stderr index 6183819bc4..73f1f7e34f 100644 --- a/testsuite/tests/deriving/should_fail/T1496.stderr +++ b/testsuite/tests/deriving/should_fail/T1496.stderr @@ -1,5 +1,5 @@ -T1496.hs:10:32: error: +T1496.hs:10:32: error: [GHC-18872] • Couldn't match representation of type: c Int with that of: c Moo arising from the coercion of the method ‘isInt’ diff --git a/testsuite/tests/deriving/should_fail/T16181.stderr b/testsuite/tests/deriving/should_fail/T16181.stderr index ed08f53bb2..5e4285cdea 100644 --- a/testsuite/tests/deriving/should_fail/T16181.stderr +++ b/testsuite/tests/deriving/should_fail/T16181.stderr @@ -1,19 +1,19 @@ -T16181.hs:14:13: error: +T16181.hs:14:13: error: [GHC-38996] • Cannot eta-reduce to an instance of form instance (...) => Show1 (FlipConst a) • In the newtype declaration for ‘FlipConst’ -T16181.hs:14:20: error: +T16181.hs:14:20: error: [GHC-38996] • Cannot eta-reduce to an instance of form instance (...) => Eq1 (FlipConst a) • In the newtype declaration for ‘FlipConst’ -T16181.hs:19:14: error: +T16181.hs:19:14: error: [GHC-38996] • Cannot eta-reduce to an instance of form instance (...) => MonadTrans (Q x) • In the newtype declaration for ‘Q’ -T16181.hs:26:12: error: +T16181.hs:26:12: error: [GHC-38996] • Cannot eta-reduce to an instance of form instance (...) => C T • In the data declaration for ‘T’ diff --git a/testsuite/tests/deriving/should_fail/T16923.stderr b/testsuite/tests/deriving/should_fail/T16923.stderr index b17e673b30..18d0f76196 100644 --- a/testsuite/tests/deriving/should_fail/T16923.stderr +++ b/testsuite/tests/deriving/should_fail/T16923.stderr @@ -1,5 +1,5 @@ -T16923.hs:4:32: error: +T16923.hs:4:32: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the first argument of ‘Maybe’, namely ‘Maybe’ diff --git a/testsuite/tests/deriving/should_fail/T18127b.stderr b/testsuite/tests/deriving/should_fail/T18127b.stderr index 9062ae38cf..02a24efed8 100644 --- a/testsuite/tests/deriving/should_fail/T18127b.stderr +++ b/testsuite/tests/deriving/should_fail/T18127b.stderr @@ -1,22 +1,22 @@ -T18127b.hs:7:40: error: +T18127b.hs:7:40: error: [GHC-16437] • Can't make a derived instance of ‘Eq T1’: Constructor ‘MkT1’ has a higher-rank type • In the data declaration for ‘T1’ Suggested fix: Use a standalone deriving declaration instead -T18127b.hs:7:44: error: +T18127b.hs:7:44: error: [GHC-30367] • Can't make a derived instance of ‘Generic T1’: MkT1 must not have exotic unlifted or polymorphic arguments • In the data declaration for ‘T1’ -T18127b.hs:8:42: error: +T18127b.hs:8:42: error: [GHC-16437] • Can't make a derived instance of ‘Eq (T2 a)’: Constructor ‘MkT2’ has a higher-rank type • In the data declaration for ‘T2’ Suggested fix: Use a standalone deriving declaration instead -T18127b.hs:8:46: error: +T18127b.hs:8:46: error: [GHC-30367] • Can't make a derived instance of ‘Generic (T2 a)’: MkT2 must not have exotic unlifted or polymorphic arguments • In the data declaration for ‘T2’ diff --git a/testsuite/tests/deriving/should_fail/T1830_1.stderr b/testsuite/tests/deriving/should_fail/T1830_1.stderr index f4e5417710..deb75f4939 100644 --- a/testsuite/tests/deriving/should_fail/T1830_1.stderr +++ b/testsuite/tests/deriving/should_fail/T1830_1.stderr @@ -1,5 +1,5 @@ -T1830_1.hs:6:29: error: +T1830_1.hs:6:29: error: [GHC-86639] • Can't make a derived instance of ‘Lift (Foo a)’: You need DeriveLift to derive an instance for this class • In the data declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T21087.stderr b/testsuite/tests/deriving/should_fail/T21087.stderr index 8e40f6e641..53d93993e4 100644 --- a/testsuite/tests/deriving/should_fail/T21087.stderr +++ b/testsuite/tests/deriving/should_fail/T21087.stderr @@ -1,4 +1,4 @@ -T21087.hs:11:25: error: +T21087.hs:11:25: error: [GHC-97044] • Class ‘KnownNat’ does not support user-specified instances. • In the stand-alone deriving instance for ‘KnownNat Z’ diff --git a/testsuite/tests/deriving/should_fail/T21087b.stderr b/testsuite/tests/deriving/should_fail/T21087b.stderr index 6514e20ecf..d4c05b4601 100644 --- a/testsuite/tests/deriving/should_fail/T21087b.stderr +++ b/testsuite/tests/deriving/should_fail/T21087b.stderr @@ -1,5 +1,5 @@ [1 of 3] Compiling T21087b_aux[boot] ( T21087b_aux.hs-boot, T21087b_aux.o-boot ) -T21087b_aux.hs-boot:11:25: error: +T21087b_aux.hs-boot:11:25: error: [GHC-97044] • Class ‘KnownNat’ does not support user-specified instances. • In the stand-alone deriving instance for ‘KnownNat Z’ diff --git a/testsuite/tests/deriving/should_fail/T21302.stderr b/testsuite/tests/deriving/should_fail/T21302.stderr index 171c9f980d..fa2cce890b 100644 --- a/testsuite/tests/deriving/should_fail/T21302.stderr +++ b/testsuite/tests/deriving/should_fail/T21302.stderr @@ -1,11 +1,11 @@ -T21302.hs:6:13: error: +T21302.hs:6:13: error: [GHC-05617] • Could not solve: ‘c0 Eq Int’ arising from the first field of ‘BoxAssocDouble’ (type ‘BoxAssoc Int’) • When deriving the instance for (Eq BoxAssocDouble) -T21302.hs:12:19: error: +T21302.hs:12:19: error: [GHC-05617] • Could not deduce ‘c0 Eq a’ from the context: c Eq a bound by a stand-alone deriving instance declaration: diff --git a/testsuite/tests/deriving/should_fail/T21871.stderr b/testsuite/tests/deriving/should_fail/T21871.stderr index 3ee6692bd6..3ec33ef61b 100644 --- a/testsuite/tests/deriving/should_fail/T21871.stderr +++ b/testsuite/tests/deriving/should_fail/T21871.stderr @@ -1,5 +1,5 @@ -T21871.hs:13:36: error: +T21871.hs:13:36: error: [GHC-25897] • Couldn't match kind ‘k’ with ‘*’ Expected kind ‘* -> *’, but ‘m’ has kind ‘k -> *’ ‘k’ is a rigid type variable bound by diff --git a/testsuite/tests/deriving/should_fail/T2394.stderr b/testsuite/tests/deriving/should_fail/T2394.stderr index 93093658b1..6f5f996fdf 100644 --- a/testsuite/tests/deriving/should_fail/T2394.stderr +++ b/testsuite/tests/deriving/should_fail/T2394.stderr @@ -1,6 +1,6 @@ -T2394.hs:9:1: - Can't make a derived instance of ‘Data (a -> b)’: - The last argument of the instance must be a data or newtype application - In the stand-alone deriving instance for - ‘(Data a, Data b) => Data (a -> b)’ +T2394.hs:9:1: error: [GHC-28323] + • Can't make a derived instance of ‘Data (a -> b)’: + The last argument of the instance must be a data or newtype application + • In the stand-alone deriving instance for + ‘(Data a, Data b) => Data (a -> b)’ diff --git a/testsuite/tests/deriving/should_fail/T2701.stderr b/testsuite/tests/deriving/should_fail/T2701.stderr index ded9a09911..f5e8214ae5 100644 --- a/testsuite/tests/deriving/should_fail/T2701.stderr +++ b/testsuite/tests/deriving/should_fail/T2701.stderr @@ -1,5 +1,5 @@ -T2701.hs:10:32: - Can't make a derived instance of ‘Data Foo’: - Don't know how to derive ‘Data’ for type ‘Int#’ - In the data declaration for ‘Foo’ +T2701.hs:10:32: error: [GHC-48959] + • Can't make a derived instance of ‘Data Foo’: + Don't know how to derive ‘Data’ for type ‘Int#’ + • In the data declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T2851.stderr b/testsuite/tests/deriving/should_fail/T2851.stderr index 19f7f9aa98..efc30eea4f 100644 --- a/testsuite/tests/deriving/should_fail/T2851.stderr +++ b/testsuite/tests/deriving/should_fail/T2851.stderr @@ -1,5 +1,5 @@ -T2851.hs:9:15: error: +T2851.hs:9:15: error: [GHC-39999] • No instance for ‘Show (F a)’ arising from the first field of ‘D’ (type ‘F a’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/T3101.stderr b/testsuite/tests/deriving/should_fail/T3101.stderr index cacd549cee..6e48fdcf7f 100644 --- a/testsuite/tests/deriving/should_fail/T3101.stderr +++ b/testsuite/tests/deriving/should_fail/T3101.stderr @@ -1,6 +1,6 @@ -T3101.hs:9:12: - Can't make a derived instance of ‘Show Boom’: - Constructor ‘Boom’ has a higher-rank type - In the data declaration for ‘Boom’ +T3101.hs:9:12: error: [GHC-16437] + • Can't make a derived instance of ‘Show Boom’: + Constructor ‘Boom’ has a higher-rank type + • In the data declaration for ‘Boom’ Suggested fix: Use a standalone deriving declaration instead diff --git a/testsuite/tests/deriving/should_fail/T3621.stderr b/testsuite/tests/deriving/should_fail/T3621.stderr index ec68e81f41..3e0510f2c4 100644 --- a/testsuite/tests/deriving/should_fail/T3621.stderr +++ b/testsuite/tests/deriving/should_fail/T3621.stderr @@ -1,5 +1,5 @@ -T3621.hs:24:43: error: +T3621.hs:24:43: error: [GHC-25897] • Couldn't match type ‘s’ with ‘state’ arising from a functional dependency between: constraint ‘MonadState state (State s)’ diff --git a/testsuite/tests/deriving/should_fail/T3833.stderr b/testsuite/tests/deriving/should_fail/T3833.stderr index 64983faedf..5db0cf5adf 100644 --- a/testsuite/tests/deriving/should_fail/T3833.stderr +++ b/testsuite/tests/deriving/should_fail/T3833.stderr @@ -1,5 +1,5 @@ -T3833.hs:10:1: error: +T3833.hs:10:1: error: [GHC-82023] • Can't make a derived instance of ‘Monoid (DecodeMap e)’: ‘Monoid’ is not a stock derivable class (Eq, Show, etc.) • In the stand-alone deriving instance for ‘Monoid (DecodeMap e)’ diff --git a/testsuite/tests/deriving/should_fail/T3834.stderr b/testsuite/tests/deriving/should_fail/T3834.stderr index 35ce31a161..cd2282101c 100644 --- a/testsuite/tests/deriving/should_fail/T3834.stderr +++ b/testsuite/tests/deriving/should_fail/T3834.stderr @@ -1,5 +1,5 @@ -T3834.hs:9:1: error: +T3834.hs:9:1: error: [GHC-82023] • Can't make a derived instance of ‘C T’: ‘C’ is not a stock derivable class (Eq, Show, etc.) • In the stand-alone deriving instance for ‘C T’ diff --git a/testsuite/tests/deriving/should_fail/T4083.stderr b/testsuite/tests/deriving/should_fail/T4083.stderr index 299e8d83c2..22b0ce78b9 100644 --- a/testsuite/tests/deriving/should_fail/T4083.stderr +++ b/testsuite/tests/deriving/should_fail/T4083.stderr @@ -1,5 +1,5 @@ -T4083.hs:14:1: error: +T4083.hs:14:1: error: [GHC-34611] • Can't make a derived instance of ‘C (F [a])’ (even with cunning GeneralizedNewtypeDeriving): the class has associated data types diff --git a/testsuite/tests/deriving/should_fail/T4528.stderr b/testsuite/tests/deriving/should_fail/T4528.stderr index 0b50737300..8f00d0df61 100644 --- a/testsuite/tests/deriving/should_fail/T4528.stderr +++ b/testsuite/tests/deriving/should_fail/T4528.stderr @@ -1,14 +1,14 @@ -T4528.hs:9:1: - Can't make a derived instance of ‘Enum (Foo a)’: - ‘Foo’ must be an enumeration type - (an enumeration consists of one or more nullary, non-GADT constructors) - In the stand-alone deriving instance for ‘Enum (Foo a)’ +T4528.hs:9:1: error: [GHC-30750] + • Can't make a derived instance of ‘Enum (Foo a)’: + ‘Foo’ must be an enumeration type + (an enumeration consists of one or more nullary, non-GADT constructors) + • In the stand-alone deriving instance for ‘Enum (Foo a)’ -T4528.hs:10:1: - Can't make a derived instance of ‘Bounded (Foo a)’: - ‘Foo’ must be an enumeration type - (an enumeration consists of one or more nullary, non-GADT constructors) - or - ‘Foo’ must have precisely one constructor - In the stand-alone deriving instance for ‘Bounded (Foo a)’ +T4528.hs:10:1: error: [GHC-58291] + • Can't make a derived instance of ‘Bounded (Foo a)’: + ‘Foo’ must be an enumeration type + (an enumeration consists of one or more nullary, non-GADT constructors) + or + ‘Foo’ must have precisely one constructor + • In the stand-alone deriving instance for ‘Bounded (Foo a)’ diff --git a/testsuite/tests/deriving/should_fail/T4846.stderr b/testsuite/tests/deriving/should_fail/T4846.stderr index c9ff10c30f..2bb260d53f 100644 --- a/testsuite/tests/deriving/should_fail/T4846.stderr +++ b/testsuite/tests/deriving/should_fail/T4846.stderr @@ -1,5 +1,5 @@ -T4846.hs:29:1: error: +T4846.hs:29:1: error: [GHC-18872] • Couldn't match type ‘Bool’ with ‘BOOL’ arising from a use of ‘GHC.Prim.coerce’ • In the expression: diff --git a/testsuite/tests/deriving/should_fail/T5287.stderr b/testsuite/tests/deriving/should_fail/T5287.stderr index a82cf44b94..bc8cc7198e 100644 --- a/testsuite/tests/deriving/should_fail/T5287.stderr +++ b/testsuite/tests/deriving/should_fail/T5287.stderr @@ -1,5 +1,5 @@ -T5287.hs:7:10: error: +T5287.hs:7:10: error: [GHC-39999] • Could not deduce ‘A a oops0’ from the context: A a oops bound by an instance declaration: diff --git a/testsuite/tests/deriving/should_fail/T5478.stderr b/testsuite/tests/deriving/should_fail/T5478.stderr index 6c194a3793..4f759d5a97 100644 --- a/testsuite/tests/deriving/should_fail/T5478.stderr +++ b/testsuite/tests/deriving/should_fail/T5478.stderr @@ -1,5 +1,5 @@ -T5478.hs:6:38: - Can't make a derived instance of ‘Show Foo’: - Don't know how to derive ‘Show’ for type ‘ByteArray#’ - In the data declaration for ‘Foo’ +T5478.hs:6:38: error: [GHC-48959] + • Can't make a derived instance of ‘Show Foo’: + Don't know how to derive ‘Show’ for type ‘ByteArray#’ + • In the data declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T5498.stderr b/testsuite/tests/deriving/should_fail/T5498.stderr index 1960487c38..d6638f4332 100644 --- a/testsuite/tests/deriving/should_fail/T5498.stderr +++ b/testsuite/tests/deriving/should_fail/T5498.stderr @@ -1,5 +1,5 @@ -T5498.hs:30:39: error: +T5498.hs:30:39: error: [GHC-18872] • Couldn't match representation of type: c a with that of: c (Down a) arising from the coercion of the method ‘intIso’ diff --git a/testsuite/tests/deriving/should_fail/T5686.stderr b/testsuite/tests/deriving/should_fail/T5686.stderr index 74f8dd88c7..df3b7e1da6 100644 --- a/testsuite/tests/deriving/should_fail/T5686.stderr +++ b/testsuite/tests/deriving/should_fail/T5686.stderr @@ -1,5 +1,5 @@ -T5686.hs:4:29: - Can't make a derived instance of ‘Functor U’: - Constructor ‘U’ must use the type variable only as the last argument of a data type - In the data declaration for ‘U’ +T5686.hs:4:29: error: [GHC-16437] + • Can't make a derived instance of ‘Functor U’: + Constructor ‘U’ must use the type variable only as the last argument of a data type + • In the data declaration for ‘U’ diff --git a/testsuite/tests/deriving/should_fail/T5922.stderr b/testsuite/tests/deriving/should_fail/T5922.stderr index c879b7ecfa..f336cc6595 100644 --- a/testsuite/tests/deriving/should_fail/T5922.stderr +++ b/testsuite/tests/deriving/should_fail/T5922.stderr @@ -1,4 +1,4 @@ -T5922.hs:3:42: - Illegal deriving item ‘show’ - In the data declaration for ‘Proposition’ +T5922.hs:3:42: error: [GHC-11913] + • Illegal deriving item ‘show’ + • In the data declaration for ‘Proposition’ diff --git a/testsuite/tests/deriving/should_fail/T6147.stderr b/testsuite/tests/deriving/should_fail/T6147.stderr index a7bd1ab477..511a5c5376 100644 --- a/testsuite/tests/deriving/should_fail/T6147.stderr +++ b/testsuite/tests/deriving/should_fail/T6147.stderr @@ -1,6 +1,6 @@ -T6147.hs:13:32: error: - Couldn't match type ‘Int’ with ‘Foo’ - arising from the coercion of the method ‘foo’ - from type ‘Int -> T Int’ to type ‘Foo -> T Foo’ - When deriving the instance for (C Foo) +T6147.hs:13:32: error: [GHC-18872] + • Couldn't match type ‘Int’ with ‘Foo’ + arising from the coercion of the method ‘foo’ + from type ‘Int -> T Int’ to type ‘Foo -> T Foo’ + • When deriving the instance for (C Foo) diff --git a/testsuite/tests/deriving/should_fail/T7148.stderr b/testsuite/tests/deriving/should_fail/T7148.stderr index 487d2da622..90c253eacf 100644 --- a/testsuite/tests/deriving/should_fail/T7148.stderr +++ b/testsuite/tests/deriving/should_fail/T7148.stderr @@ -1,5 +1,5 @@ -T7148.hs:27:40: error: +T7148.hs:27:40: error: [GHC-25897] • Couldn't match type ‘b’ with ‘Tagged a b’ arising from the coercion of the method ‘iso2’ from type ‘forall b1. SameType b1 () -> SameType b1 b’ @@ -9,7 +9,7 @@ T7148.hs:27:40: error: at T7148.hs:27:40-46 • When deriving the instance for (IsoUnit (Tagged a b)) -T7148.hs:27:40: error: +T7148.hs:27:40: error: [GHC-25897] • Couldn't match type ‘b’ with ‘Tagged a b’ arising from the coercion of the method ‘iso1’ from type ‘forall b1. SameType () b1 -> SameType b b1’ diff --git a/testsuite/tests/deriving/should_fail/T7148a.stderr b/testsuite/tests/deriving/should_fail/T7148a.stderr index b0f5cbfb68..dfd602bf58 100644 --- a/testsuite/tests/deriving/should_fail/T7148a.stderr +++ b/testsuite/tests/deriving/should_fail/T7148a.stderr @@ -1,5 +1,5 @@ -T7148a.hs:19:50: error: +T7148a.hs:19:50: error: [GHC-10283] • Couldn't match representation of type ‘b’ with that of ‘Result a b’ arising from the coercion of the method ‘coerce’ @@ -7,5 +7,6 @@ T7148a.hs:19:50: error: to type ‘forall b. Proxy b -> IS_NO_LONGER a -> Result (IS_NO_LONGER a) b’ ‘b’ is a rigid type variable bound by - the type Proxy b -> a -> Result a b at T7148a.hs:19:50-56 + the type Proxy b -> a -> Result a b + at T7148a.hs:19:50-56 • When deriving the instance for (Convert (IS_NO_LONGER a)) diff --git a/testsuite/tests/deriving/should_fail/T7401_fail.stderr b/testsuite/tests/deriving/should_fail/T7401_fail.stderr index ab6397fd0c..4b79f4aa5a 100644 --- a/testsuite/tests/deriving/should_fail/T7401_fail.stderr +++ b/testsuite/tests/deriving/should_fail/T7401_fail.stderr @@ -1,7 +1,8 @@ -T7401_fail.hs:4:17: error: +T7401_fail.hs:4:17: error: [GHC-64560] • Can't make a derived instance of ‘Eq D’: ‘D’ must have at least one data constructor • In the data declaration for ‘D’ Suggested fix: - Use EmptyDataDeriving to enable deriving for empty data types + Use EmptyDataDeriving + to enable deriving for empty data types diff --git a/testsuite/tests/deriving/should_fail/T7959.stderr b/testsuite/tests/deriving/should_fail/T7959.stderr index 6991c57d0f..b0f5c916c0 100644 --- a/testsuite/tests/deriving/should_fail/T7959.stderr +++ b/testsuite/tests/deriving/should_fail/T7959.stderr @@ -1,9 +1,9 @@ -T7959.hs:5:1: error: +T7959.hs:5:1: error: [GHC-38178] • Can't make a derived instance of ‘A’: • In the stand-alone deriving instance for ‘A’ Suggested fix: Perhaps you intended to use DeriveAnyClass -T7959.hs:6:17: error: +T7959.hs:6:17: error: [GHC-73993] • ‘A’ is not a unary constraint, as expected by a deriving clause • In the data declaration for ‘B’ diff --git a/testsuite/tests/deriving/should_fail/T8165_fail1.stderr b/testsuite/tests/deriving/should_fail/T8165_fail1.stderr index c47ed702f4..8a53133d72 100644 --- a/testsuite/tests/deriving/should_fail/T8165_fail1.stderr +++ b/testsuite/tests/deriving/should_fail/T8165_fail1.stderr @@ -1,18 +1,18 @@ -T8165_fail1.hs:17:12: error: +T8165_fail1.hs:17:12: error: [GHC-34611] • Can't make a derived instance of ‘C MyInt’ (even with cunning GeneralizedNewtypeDeriving): the associated type ‘T’ is not parameterized over the last type variable of the class ‘C’ • In the newtype declaration for ‘MyInt’ -T8165_fail1.hs:25:8: error: +T8165_fail1.hs:25:8: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: S Int = Char -- Defined at T8165_fail1.hs:25:8 S WrappedInt = S Int -- Defined at T8165_fail1.hs:28:12 -T8165_fail1.hs:28:12: error: +T8165_fail1.hs:28:12: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: S WrappedInt = S Int -- Defined at T8165_fail1.hs:28:12 diff --git a/testsuite/tests/deriving/should_fail/T8851.stderr b/testsuite/tests/deriving/should_fail/T8851.stderr index c4bfff3559..15dbd88e44 100644 --- a/testsuite/tests/deriving/should_fail/T8851.stderr +++ b/testsuite/tests/deriving/should_fail/T8851.stderr @@ -1,5 +1,5 @@ -T8851.hs:25:12: error: +T8851.hs:25:12: error: [GHC-18872] • Couldn't match type ‘Parser’ with ‘MyParser’ arising from the coercion of the method ‘notFollowedBy’ from type ‘forall a. diff --git a/testsuite/tests/deriving/should_fail/T8984.stderr b/testsuite/tests/deriving/should_fail/T8984.stderr index 9908f70f0a..8a23250d4d 100644 --- a/testsuite/tests/deriving/should_fail/T8984.stderr +++ b/testsuite/tests/deriving/should_fail/T8984.stderr @@ -1,5 +1,5 @@ -T8984.hs:7:46: error: +T8984.hs:7:46: error: [GHC-18872] • Couldn't match representation of type: cat a (N cat a Int) with that of: cat a (cat a Int) arising from the coercion of the method ‘app’ diff --git a/testsuite/tests/deriving/should_fail/T9071.stderr b/testsuite/tests/deriving/should_fail/T9071.stderr index c2dccbd28f..c6cc95461b 100644 --- a/testsuite/tests/deriving/should_fail/T9071.stderr +++ b/testsuite/tests/deriving/should_fail/T9071.stderr @@ -1,7 +1,7 @@ [1 of 2] Compiling T9071a ( T9071a.hs, T9071a.o ) [2 of 2] Compiling T9071 ( T9071.hs, T9071.o ) -T9071.hs:7:37: error: - Couldn't match kind ‘* -> *’ with ‘*’ - arising from the first field of ‘F’ (type ‘Mu (K a)’) - When deriving the instance for (Functor F) +T9071.hs:7:37: error: [GHC-18872] + • Couldn't match kind ‘* -> *’ with ‘*’ + arising from the first field of ‘F’ (type ‘Mu (K a)’) + • When deriving the instance for (Functor F) diff --git a/testsuite/tests/deriving/should_fail/T9071_2.stderr b/testsuite/tests/deriving/should_fail/T9071_2.stderr index f618343a7a..258a786d51 100644 --- a/testsuite/tests/deriving/should_fail/T9071_2.stderr +++ b/testsuite/tests/deriving/should_fail/T9071_2.stderr @@ -1,5 +1,5 @@ -T9071_2.hs:7:40: error: - Couldn't match kind ‘* -> *’ with ‘*’ - arising from the first field of ‘F1’ (type ‘Mu (K1 a)’) - When deriving the instance for (Functor F1) +T9071_2.hs:7:40: error: [GHC-18872] + • Couldn't match kind ‘* -> *’ with ‘*’ + arising from the first field of ‘F1’ (type ‘Mu (K1 a)’) + • When deriving the instance for (Functor F1) diff --git a/testsuite/tests/deriving/should_fail/T9600-1.stderr b/testsuite/tests/deriving/should_fail/T9600-1.stderr index 88d24079a0..7585ec084f 100644 --- a/testsuite/tests/deriving/should_fail/T9600-1.stderr +++ b/testsuite/tests/deriving/should_fail/T9600-1.stderr @@ -1,6 +1,6 @@ -T9600-1.hs:5:39: error: - Can't make a derived instance of ‘Applicative Foo’ - (even with cunning GeneralizedNewtypeDeriving): - cannot eta-reduce the representation type enough - In the newtype declaration for ‘Foo’ +T9600-1.hs:5:39: error: [GHC-26557] + • Can't make a derived instance of ‘Applicative Foo’ + (even with cunning GeneralizedNewtypeDeriving): + cannot eta-reduce the representation type enough + • In the newtype declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T9600.stderr b/testsuite/tests/deriving/should_fail/T9600.stderr index 6ff63108f9..f33a9ad636 100644 --- a/testsuite/tests/deriving/should_fail/T9600.stderr +++ b/testsuite/tests/deriving/should_fail/T9600.stderr @@ -1,5 +1,5 @@ -T9600.hs:4:39: error: +T9600.hs:4:39: error: [GHC-82023] • Can't make a derived instance of ‘Applicative Foo’: ‘Applicative’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T9687.stderr b/testsuite/tests/deriving/should_fail/T9687.stderr index fa6e04ff0a..cf62064dd0 100644 --- a/testsuite/tests/deriving/should_fail/T9687.stderr +++ b/testsuite/tests/deriving/should_fail/T9687.stderr @@ -1,5 +1,5 @@ -T9687.hs:4:10: error: +T9687.hs:4:10: error: [GHC-97044] • Class ‘Typeable’ does not support user-specified instances. • In the instance declaration for ‘Typeable (a, b, c, d, e, f, g, h)’ diff --git a/testsuite/tests/deriving/should_fail/deriving-via-fail.stderr b/testsuite/tests/deriving/should_fail/deriving-via-fail.stderr index ea07442a82..3e638d56f9 100644 --- a/testsuite/tests/deriving/should_fail/deriving-via-fail.stderr +++ b/testsuite/tests/deriving/should_fail/deriving-via-fail.stderr @@ -1,5 +1,5 @@ -deriving-via-fail.hs:10:34: error: +deriving-via-fail.hs:10:34: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘b’ arising from the coercion of the method ‘showsPrec’ from type ‘Int -> Identity b -> ShowS’ @@ -12,13 +12,13 @@ deriving-via-fail.hs:10:34: error: at deriving-via-fail.hs:10:34-37 • When deriving the instance for (Show (Foo1 a)) -deriving-via-fail.hs:13:12: error: +deriving-via-fail.hs:13:12: error: [GHC-63174] • Cannot derive instance via ‘fooo’ Class ‘Category’ expects an argument of kind ‘* -> * -> *’, but ‘fooo’ has kind ‘*’ • In the newtype declaration for ‘Foo2’ -deriving-via-fail.hs:16:20: error: +deriving-via-fail.hs:16:20: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘Foo3’ arising from the coercion of the method ‘==’ from type ‘a -> a -> Bool’ to type ‘Foo3 -> Foo3 -> Bool’ diff --git a/testsuite/tests/deriving/should_fail/deriving-via-fail2.stderr b/testsuite/tests/deriving/should_fail/deriving-via-fail2.stderr index d5692ad6b2..24cb3f4358 100644 --- a/testsuite/tests/deriving/should_fail/deriving-via-fail2.stderr +++ b/testsuite/tests/deriving/should_fail/deriving-via-fail2.stderr @@ -1,5 +1,5 @@ -deriving-via-fail2.hs:7:1: error: +deriving-via-fail2.hs:7:1: error: [GHC-63174] • Cannot derive instance via ‘Maybe’ Class ‘C’ expects an argument of kind ‘*’, but ‘Maybe’ has kind ‘* -> *’ diff --git a/testsuite/tests/deriving/should_fail/deriving-via-fail4.stderr b/testsuite/tests/deriving/should_fail/deriving-via-fail4.stderr index 12fc6691a8..43b626be0a 100644 --- a/testsuite/tests/deriving/should_fail/deriving-via-fail4.stderr +++ b/testsuite/tests/deriving/should_fail/deriving-via-fail4.stderr @@ -1,11 +1,11 @@ -deriving-via-fail4.hs:15:12: error: +deriving-via-fail4.hs:15:12: error: [GHC-18872] • Couldn't match representation of type ‘Int’ with that of ‘Char’ arising from the coercion of the method ‘==’ from type ‘Char -> Char -> Bool’ to type ‘F1 -> F1 -> Bool’ • When deriving the instance for (Eq F1) -deriving-via-fail4.hs:18:13: error: +deriving-via-fail4.hs:18:13: error: [GHC-10283] • Couldn't match representation of type ‘a1’ with that of ‘a2’ arising from the coercion of the method ‘c’ from type ‘a -> a -> Bool’ to type ‘a -> F2 a1 -> Bool’ diff --git a/testsuite/tests/deriving/should_fail/deriving-via-fail5.stderr b/testsuite/tests/deriving/should_fail/deriving-via-fail5.stderr index 497e955896..f5783b0a32 100644 --- a/testsuite/tests/deriving/should_fail/deriving-via-fail5.stderr +++ b/testsuite/tests/deriving/should_fail/deriving-via-fail5.stderr @@ -1,5 +1,5 @@ -deriving-via-fail5.hs:8:1: error: +deriving-via-fail5.hs:8:1: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘b’ arising from a use of ‘GHC.Prim.coerce’ ‘a’ is a rigid type variable bound by @@ -25,7 +25,7 @@ deriving-via-fail5.hs:8:1: error: showsPrec :: Int -> Foo4 a -> ShowS (bound at deriving-via-fail5.hs:8:1) -deriving-via-fail5.hs:8:1: error: +deriving-via-fail5.hs:8:1: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘b’ arising from a use of ‘GHC.Prim.coerce’ ‘a’ is a rigid type variable bound by @@ -48,7 +48,7 @@ deriving-via-fail5.hs:8:1: error: • Relevant bindings include show :: Foo4 a -> String (bound at deriving-via-fail5.hs:8:1) -deriving-via-fail5.hs:8:1: error: +deriving-via-fail5.hs:8:1: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘b’ arising from a use of ‘GHC.Prim.coerce’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr b/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr index f475a3ea5d..6c11b4ae91 100644 --- a/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr @@ -1,5 +1,5 @@ -drvfail-foldable-traversable1.hs:9:23: error: +drvfail-foldable-traversable1.hs:9:23: error: [GHC-39999] • No instance for ‘Functor Trivial1’ arising from the 'deriving' clause of a data type declaration Possible fix: @@ -7,7 +7,7 @@ drvfail-foldable-traversable1.hs:9:23: error: so you can specify the instance context yourself • When deriving the instance for (Traversable Trivial1) -drvfail-foldable-traversable1.hs:13:22: error: +drvfail-foldable-traversable1.hs:13:22: error: [GHC-39999] • No instance for ‘Foldable Trivial2’ arising from the 'deriving' clause of a data type declaration Possible fix: @@ -15,12 +15,12 @@ drvfail-foldable-traversable1.hs:13:22: error: so you can specify the instance context yourself • When deriving the instance for (Traversable Trivial2) -drvfail-foldable-traversable1.hs:17:22: error: +drvfail-foldable-traversable1.hs:17:22: error: [GHC-16437] • Can't make a derived instance of ‘Foldable Infinite’: Constructor ‘Infinite’ must not contain function types • In the data declaration for ‘Infinite’ -drvfail-foldable-traversable1.hs:21:22: error: +drvfail-foldable-traversable1.hs:21:22: error: [GHC-16437] • Can't make a derived instance of ‘Traversable (Cont r)’: Constructor ‘Cont’ must not contain function types • In the data declaration for ‘Cont’ diff --git a/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr b/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr index 07ce81f4ab..67cddc49ee 100644 --- a/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr @@ -1,5 +1,5 @@ -drvfail-functor1.hs:7:14: error: +drvfail-functor1.hs:7:14: error: [GHC-86639] • Can't make a derived instance of ‘Functor List’: You need DeriveFunctor to derive an instance for this class • In the data declaration for ‘List’ diff --git a/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr b/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr index d66cfda507..cc3cf26dd7 100644 --- a/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr @@ -2,27 +2,27 @@ drvfail-functor2.hs:2:29: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -drvfail-functor2.hs:8:14: error: +drvfail-functor2.hs:8:14: error: [GHC-16437] • Can't make a derived instance of ‘Functor InFunctionArgument’: Constructor ‘InFunctionArgument’ must not use the type variable in a function argument • In the newtype declaration for ‘InFunctionArgument’ -drvfail-functor2.hs:11:14: error: +drvfail-functor2.hs:11:14: error: [GHC-16437] • Can't make a derived instance of ‘Functor OnSecondArg’: Constructor ‘OnSecondArg’ must use the type variable only as the last argument of a data type • In the newtype declaration for ‘OnSecondArg’ -drvfail-functor2.hs:16:14: error: +drvfail-functor2.hs:16:14: error: [GHC-62016] • Cannot derive well-kinded instance of form ‘Functor (NoArguments ...)’ Class ‘Functor’ expects an argument of kind ‘* -> *’ • In the newtype declaration for ‘NoArguments’ -drvfail-functor2.hs:21:14: error: +drvfail-functor2.hs:21:14: error: [GHC-16588] • Can't make a derived instance of ‘Functor StupidConstraint’: Data type ‘StupidConstraint’ must not have a class context: Eq a • In the data declaration for ‘StupidConstraint’ -drvfail-functor2.hs:27:14: error: +drvfail-functor2.hs:27:14: error: [GHC-39999] • No instance for ‘Functor NoFunctor’ arising from the first field of ‘UseNoFunctor’ (type ‘NoFunctor a’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/drvfail001.stderr b/testsuite/tests/deriving/should_fail/drvfail001.stderr index 1422723245..3fc5dfe65d 100644 --- a/testsuite/tests/deriving/should_fail/drvfail001.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail001.stderr @@ -1,5 +1,5 @@ -drvfail001.hs:16:33: error: +drvfail001.hs:16:33: error: [GHC-39999] • No instance for ‘Show (f (f a))’ arising from the first field of ‘ZeroS’ (type ‘f (f a)’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/drvfail002.stderr b/testsuite/tests/deriving/should_fail/drvfail002.stderr index 72d6abf278..60e37a2789 100644 --- a/testsuite/tests/deriving/should_fail/drvfail002.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail002.stderr @@ -1,5 +1,5 @@ -drvfail002.hs:19:23: error: +drvfail002.hs:19:23: error: [GHC-39999] • No instance for ‘X T c0’ arising from the first field of ‘S’ (type ‘T’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/drvfail003.stderr b/testsuite/tests/deriving/should_fail/drvfail003.stderr index fea6c66258..1d419f74f7 100644 --- a/testsuite/tests/deriving/should_fail/drvfail003.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail003.stderr @@ -1,5 +1,5 @@ -drvfail003.hs:16:56: error: +drvfail003.hs:16:56: error: [GHC-39999] • No instance for ‘Show (v (v a))’ arising from the first field of ‘End’ (type ‘v (v a)’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/drvfail004.stderr b/testsuite/tests/deriving/should_fail/drvfail004.stderr index 046d99adaf..dab15c9a3c 100644 --- a/testsuite/tests/deriving/should_fail/drvfail004.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail004.stderr @@ -1,5 +1,5 @@ -drvfail004.hs:8:12: error: +drvfail004.hs:8:12: error: [GHC-39999] • Could not deduce ‘Eq (Foo a b)’ arising from the 'deriving' clause of a data type declaration from the context: (Ord a, Ord b) diff --git a/testsuite/tests/deriving/should_fail/drvfail005.stderr b/testsuite/tests/deriving/should_fail/drvfail005.stderr index 5f10652602..1a45e8b302 100644 --- a/testsuite/tests/deriving/should_fail/drvfail005.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail005.stderr @@ -1,4 +1,4 @@ -drvfail005.hs:4:13: error: +drvfail005.hs:4:13: error: [GHC-73993] • ‘Show a’ is not a unary constraint, as expected by a deriving clause • In the data declaration for ‘Test’ diff --git a/testsuite/tests/deriving/should_fail/drvfail006.stderr b/testsuite/tests/deriving/should_fail/drvfail006.stderr index 61900e83ee..9b818654b1 100644 --- a/testsuite/tests/deriving/should_fail/drvfail006.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail006.stderr @@ -1,4 +1,4 @@ -drvfail006.hs:9:45: error: +drvfail006.hs:9:45: error: [GHC-73993] • ‘MonadState’ is not a unary constraint, as expected by a deriving clause • In the newtype declaration for ‘T’ diff --git a/testsuite/tests/deriving/should_fail/drvfail007.stderr b/testsuite/tests/deriving/should_fail/drvfail007.stderr index 2bf5f115c5..9d9272f36f 100644 --- a/testsuite/tests/deriving/should_fail/drvfail007.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail007.stderr @@ -1,5 +1,5 @@ -drvfail007.hs:4:38: error: +drvfail007.hs:4:38: error: [GHC-39999] • No instance for ‘Eq (Int -> Int)’ arising from the first field of ‘Foo’ (type ‘Int -> Int’) (maybe you haven't applied a function to enough arguments?) diff --git a/testsuite/tests/deriving/should_fail/drvfail008.stderr b/testsuite/tests/deriving/should_fail/drvfail008.stderr index 4ed9375d61..baa09b5398 100644 --- a/testsuite/tests/deriving/should_fail/drvfail008.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail008.stderr @@ -1,5 +1,5 @@ -drvfail008.hs:11:43: error: +drvfail008.hs:11:43: error: [GHC-82023] • Can't make a derived instance of ‘Monad M’: ‘Monad’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘M’ diff --git a/testsuite/tests/deriving/should_fail/drvfail009.stderr b/testsuite/tests/deriving/should_fail/drvfail009.stderr index 9c5f9ff0da..c5e8977bc5 100644 --- a/testsuite/tests/deriving/should_fail/drvfail009.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail009.stderr @@ -1,21 +1,21 @@ -drvfail009.hs:10:31: error: - ‘C’ is not a unary constraint, as expected by a deriving clause - In the newtype declaration for ‘T1’ +drvfail009.hs:10:31: error: [GHC-73993] + • ‘C’ is not a unary constraint, as expected by a deriving clause + • In the newtype declaration for ‘T1’ -drvfail009.hs:13:31: error: - Cannot derive well-kinded instance of form ‘Monad (T2 ...)’ - Class ‘Monad’ expects an argument of kind ‘* -> *’ - In the newtype declaration for ‘T2’ +drvfail009.hs:13:31: error: [GHC-62016] + • Cannot derive well-kinded instance of form ‘Monad (T2 ...)’ + Class ‘Monad’ expects an argument of kind ‘* -> *’ + • In the newtype declaration for ‘T2’ -drvfail009.hs:16:33: error: - Can't make a derived instance of ‘Monad T3’ - (even with cunning GeneralizedNewtypeDeriving): - cannot eta-reduce the representation type enough - In the newtype declaration for ‘T3’ +drvfail009.hs:16:33: error: [GHC-26557] + • Can't make a derived instance of ‘Monad T3’ + (even with cunning GeneralizedNewtypeDeriving): + cannot eta-reduce the representation type enough + • In the newtype declaration for ‘T3’ -drvfail009.hs:19:42: error: - Can't make a derived instance of ‘Monad T4’ - (even with cunning GeneralizedNewtypeDeriving): - cannot eta-reduce the representation type enough - In the newtype declaration for ‘T4’ +drvfail009.hs:19:42: error: [GHC-26557] + • Can't make a derived instance of ‘Monad T4’ + (even with cunning GeneralizedNewtypeDeriving): + cannot eta-reduce the representation type enough + • In the newtype declaration for ‘T4’ diff --git a/testsuite/tests/deriving/should_fail/drvfail011.stderr b/testsuite/tests/deriving/should_fail/drvfail011.stderr index b09281f271..b14fb35572 100644 --- a/testsuite/tests/deriving/should_fail/drvfail011.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail011.stderr @@ -1,5 +1,5 @@ -drvfail011.hs:8:1: error: +drvfail011.hs:8:1: error: [GHC-39999] • No instance for ‘Eq a’ arising from a use of ‘==’ Possible fix: add (Eq a) to the context of the instance declaration • In the expression: a1 == b1 diff --git a/testsuite/tests/deriving/should_fail/drvfail012.stderr b/testsuite/tests/deriving/should_fail/drvfail012.stderr index 3df709fa3a..bf19b25e76 100644 --- a/testsuite/tests/deriving/should_fail/drvfail012.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail012.stderr @@ -1,5 +1,5 @@ -drvfail012.hs:5:33: error: +drvfail012.hs:5:33: error: [GHC-39999] • Could not deduce ‘Eq (Ego a)’ arising from the 'deriving' clause of a data type declaration from the context: Ord a diff --git a/testsuite/tests/deriving/should_fail/drvfail013.stderr b/testsuite/tests/deriving/should_fail/drvfail013.stderr index 8f16d0d098..bacbb7c9e8 100644 --- a/testsuite/tests/deriving/should_fail/drvfail013.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail013.stderr @@ -1,5 +1,5 @@ -drvfail013.hs:4:70: error: +drvfail013.hs:4:70: error: [GHC-39999] • No instance for ‘Eq (m (Maybe a))’ arising from the 'deriving' clause of a data type declaration Possible fix: @@ -7,7 +7,7 @@ drvfail013.hs:4:70: error: so you can specify the instance context yourself • When deriving the instance for (Eq (MaybeT m a)) -drvfail013.hs:6:70: error: +drvfail013.hs:6:70: error: [GHC-39999] • No instance for ‘Eq (m (Maybe a))’ arising from the first field of ‘MaybeT'’ (type ‘m (Maybe a)’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/drvfail015.stderr b/testsuite/tests/deriving/should_fail/drvfail015.stderr index b731032fc3..0bf25e9e23 100644 --- a/testsuite/tests/deriving/should_fail/drvfail015.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail015.stderr @@ -6,7 +6,7 @@ drvfail015.hs:11:19: error: Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Eq T’ -drvfail015.hs:14:1: error: +drvfail015.hs:14:1: error: [GHC-54540] • Can't make a derived instance of ‘Eq Handle’: The data constructors of ‘Handle’ are not all in scope so you cannot derive an instance for it diff --git a/testsuite/tests/deriving/should_fail/drvfail016.stderr b/testsuite/tests/deriving/should_fail/drvfail016.stderr index 05abbf5bb9..8c9f8db7af 100644 --- a/testsuite/tests/deriving/should_fail/drvfail016.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail016.stderr @@ -1,5 +1,5 @@ -drvfail016.hs-boot:7:14: error: +drvfail016.hs-boot:7:14: error: [GHC-30903] • Can't make a derived instance of ‘Show D’: Cannot derive instances in hs-boot files Write an instance declaration instead diff --git a/testsuite/tests/deriving/should_run/T9576.stderr b/testsuite/tests/deriving/should_run/T9576.stderr index 8a28897c6b..78f979a54d 100644 --- a/testsuite/tests/deriving/should_run/T9576.stderr +++ b/testsuite/tests/deriving/should_run/T9576.stderr @@ -1,4 +1,4 @@ -T9576: T9576.hs:6:31: error: +T9576.exe: T9576.hs:6:31: error: [GHC-39999] • No instance for ‘Show Foo’ arising from a use of ‘showsPrec’ • In the second argument of ‘(.)’, namely ‘(showsPrec 11 b1)’ In the second argument of ‘showParen’, namely diff --git a/testsuite/tests/driver/MultiRootsErr.stderr b/testsuite/tests/driver/MultiRootsErr.stderr index c4b11bfe84..0a55ee9efd 100644 --- a/testsuite/tests/driver/MultiRootsErr.stderr +++ b/testsuite/tests/driver/MultiRootsErr.stderr @@ -1,4 +1,4 @@ -<no location info>: error: +<no location info>: error: [GHC-29235] module ‘main:MultiRootsErr’ is defined in multiple files: MultiRootsErr.hs MultiRootsErr.hs diff --git a/testsuite/tests/driver/T10600.stderr b/testsuite/tests/driver/T10600.stderr index 4298e67dfc..1986c59085 100644 --- a/testsuite/tests/driver/T10600.stderr +++ b/testsuite/tests/driver/T10600.stderr @@ -1,2 +1,3 @@ -T10600.hs:10:1: - Top-level bindings for unlifted types aren't allowed: foo = 10600#
\ No newline at end of file + +T10600.hs:10:1: error: [GHC-48099] + Top-level bindings for unlifted types aren't allowed: foo = 10600# diff --git a/testsuite/tests/driver/T11429c.stderr b/testsuite/tests/driver/T11429c.stderr index 1424753e4e..89deb22101 100644 --- a/testsuite/tests/driver/T11429c.stderr +++ b/testsuite/tests/driver/T11429c.stderr @@ -1,3 +1,3 @@ -on the commandline: error: [-Wunrecognised-warning-flags, -Werror=unrecognised-warning-flags] +on the commandline: error: [-Wunrecognised-warning-flags, Werror=unrecognised-warning-flags] unrecognised warning flag: -Wfoobar diff --git a/testsuite/tests/driver/T12955.stderr b/testsuite/tests/driver/T12955.stderr index baa6fc6064..d1b914035f 100644 --- a/testsuite/tests/driver/T12955.stderr +++ b/testsuite/tests/driver/T12955.stderr @@ -1,11 +1,11 @@ -T12955.hsig:1:11: error: +T12955.hsig:1:11: error: [GHC-66004] Unexpected signature: ‘T12955’ Suggested fix: Try passing -instantiated-with="T12955=<T12955>" replacing <T12955> as necessary. -T12955.hsig:1:11: error: +T12955.hsig:1:11: error: [GHC-66004] Unexpected signature: ‘T12955’ Suggested fix: Try adding ‘T12955’ to the ‘signatures’ field in your Cabal file. diff --git a/testsuite/tests/driver/T1372/T1372.stderr b/testsuite/tests/driver/T1372/T1372.stderr index f1024e665e..ae8a99e597 100644 --- a/testsuite/tests/driver/T1372/T1372.stderr +++ b/testsuite/tests/driver/T1372/T1372.stderr @@ -1,2 +1,2 @@ -Main.hs:5:5: error: Data constructor not in scope: T +Main.hs:5:5: error: [GHC-88464] Data constructor not in scope: T diff --git a/testsuite/tests/driver/T16167.stdout b/testsuite/tests/driver/T16167.stdout index 3da369eb8b..de6efddde9 100644 --- a/testsuite/tests/driver/T16167.stdout +++ b/testsuite/tests/driver/T16167.stdout @@ -1 +1 @@ -{"span":{"file":"T16167.hs","startLine":1,"startCol":8,"endLine":1,"endCol":9},"doc":"parse error on input \u2018f\u2019","messageClass":"MCDiagnostic SevError ErrorWithoutFlag"} +{"span":{"file":"T16167.hs","startLine":1,"startCol":8,"endLine":1,"endCol":9},"doc":"parse error on input \u2018f\u2019","messageClass":"MCDiagnostic SevError ErrorWithoutFlag Just GHC-58481"} diff --git a/testsuite/tests/driver/T21682.stderr b/testsuite/tests/driver/T21682.stderr index 7820cbc46e..d41a1b8ca3 100644 --- a/testsuite/tests/driver/T21682.stderr +++ b/testsuite/tests/driver/T21682.stderr @@ -1,3 +1,3 @@ -on the commandline: error: [-Wunrecognised-warning-flags, -Werror=unrecognised-warning-flags] +on the commandline: error: [-Wunrecognised-warning-flags, Werror=unrecognised-warning-flags] unrecognised warning flag: -Wfoo diff --git a/testsuite/tests/driver/T2182.stderr b/testsuite/tests/driver/T2182.stderr index 112ac847c3..e850b45df6 100644 --- a/testsuite/tests/driver/T2182.stderr +++ b/testsuite/tests/driver/T2182.stderr @@ -1,23 +1,23 @@ -T2182.hs:5:5: error: +T2182.hs:5:5: error: [GHC-39999] • No instance for ‘Show (p1 -> p1)’ arising from a use of ‘show’ (maybe you haven't applied a function to enough arguments?) • In the expression: show (\ x -> x) In an equation for ‘y’: y = show (\ x -> x) -T2182.hs:6:15: error: +T2182.hs:6:15: error: [GHC-39999] • No instance for ‘Eq (p0 -> p0)’ arising from a use of ‘==’ (maybe you haven't applied a function to enough arguments?) • In the expression: (\ x -> x) == (\ y -> y) In an equation for ‘z’: z = (\ x -> x) == (\ y -> y) -T2182.hs:5:5: error: +T2182.hs:5:5: error: [GHC-39999] • No instance for ‘Show (p1 -> p1)’ arising from a use of ‘show’ (maybe you haven't applied a function to enough arguments?) • In the expression: show (\ x -> x) In an equation for ‘y’: y = show (\ x -> x) -T2182.hs:6:15: error: +T2182.hs:6:15: error: [GHC-39999] • No instance for ‘Eq (p0 -> p0)’ arising from a use of ‘==’ (maybe you haven't applied a function to enough arguments?) • In the expression: (\ x -> x) == (\ y -> y) diff --git a/testsuite/tests/driver/T2499.stderr b/testsuite/tests/driver/T2499.stderr index ff156930a0..86d42f0306 100644 --- a/testsuite/tests/driver/T2499.stderr +++ b/testsuite/tests/driver/T2499.stderr @@ -1,6 +1,6 @@ -T2499.hs:1:13: error: +T2499.hs:1:13: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -package -T2499.hs:1:22: error: +T2499.hs:1:22: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: blargh diff --git a/testsuite/tests/driver/T2507.stderr b/testsuite/tests/driver/T2507.stderr index 5cb9f41bc2..db8fab5a37 100644 --- a/testsuite/tests/driver/T2507.stderr +++ b/testsuite/tests/driver/T2507.stderr @@ -1,5 +1,5 @@ -T2507.hs:5:7: error: +T2507.hs:5:7: error: [GHC-83865] * Couldn't match expected type `Int' with actual type `()' * In the expression: () In an equation for `foo': foo = () diff --git a/testsuite/tests/driver/T5147/T5147.stderr b/testsuite/tests/driver/T5147/T5147.stderr index 1e7b182297..10aa57388f 100644 --- a/testsuite/tests/driver/T5147/T5147.stderr +++ b/testsuite/tests/driver/T5147/T5147.stderr @@ -1,5 +1,5 @@ -A.hs:6:15: error: +A.hs:6:15: error: [GHC-39999] • No instance for ‘Show (Fields v)’ arising from a use of ‘show’ • In the expression: show a In an equation for ‘showField’: showField a = show a diff --git a/testsuite/tests/driver/T6037.stderr b/testsuite/tests/driver/T6037.stderr index efc778c023..b755f4d963 100644 --- a/testsuite/tests/driver/T6037.stderr +++ b/testsuite/tests/driver/T6037.stderr @@ -1,5 +1,5 @@ -T6037.hs:5:7: +T6037.hs:5:7: [GHC-83865] * Couldn't match expected type `Int' with actual type `()' * In the expression: () In an equation for `f?o': f?o = () diff --git a/testsuite/tests/driver/T8101.stderr b/testsuite/tests/driver/T8101.stderr index f9ede45f0b..dc42d7057b 100644 --- a/testsuite/tests/driver/T8101.stderr +++ b/testsuite/tests/driver/T8101.stderr @@ -1,7 +1,7 @@ -T8101.hs:7:9: warning: [-Wincomplete-patterns (in -Wextra)] +T8101.hs:7:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: - Patterns of type ‘ABC’ not matched: + Patterns of type ‘ABC’ not matched: B C diff --git a/testsuite/tests/driver/T8101b.stderr b/testsuite/tests/driver/T8101b.stderr index ed93a37680..76b5031cd7 100644 --- a/testsuite/tests/driver/T8101b.stderr +++ b/testsuite/tests/driver/T8101b.stderr @@ -1,8 +1,8 @@ [1 of 1] Compiling A ( T8101b.hs, nothing ) -T8101b.hs:7:9: warning: [-Wincomplete-patterns (in -Wextra)] +T8101b.hs:7:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: - Patterns of type ‘ABC’ not matched: + Patterns of type ‘ABC’ not matched: B C diff --git a/testsuite/tests/driver/T8959a.stderr b/testsuite/tests/driver/T8959a.stderr index 96bc9dd72e..3ea586a08d 100644 --- a/testsuite/tests/driver/T8959a.stderr +++ b/testsuite/tests/driver/T8959a.stderr @@ -1,5 +1,5 @@ -T8959a.hs:5:7: error: +T8959a.hs:5:7: error: [GHC-83865] * Couldn't match expected type `Int -> Int' with actual type `()' * In the expression: () In an equation for `foo': foo = () diff --git a/testsuite/tests/driver/bug1677/bug1677.stderr b/testsuite/tests/driver/bug1677/bug1677.stderr index 89524992ab..00e9de27c4 100644 --- a/testsuite/tests/driver/bug1677/bug1677.stderr +++ b/testsuite/tests/driver/bug1677/bug1677.stderr @@ -1,5 +1,5 @@ -Foo.hs:1:1: +Foo.hs:1:1: error: [GHC-28623] File name does not match module name: Saw : ‘Main’ Expected: ‘Foo’ diff --git a/testsuite/tests/driver/json.stderr b/testsuite/tests/driver/json.stderr index 78a0a1ae6a..e022f25c30 100644 --- a/testsuite/tests/driver/json.stderr +++ b/testsuite/tests/driver/json.stderr @@ -1 +1 @@ -{"span":{"file":"json.hs","startLine":6,"startCol":7,"endLine":6,"endCol":8},"doc":"\u2022 No instance for \u2018Num (a -> a)\u2019 arising from the literal \u20185\u2019\n (maybe you haven't applied a function to enough arguments?)\n\u2022 In the expression: 5\n In an equation for \u2018id1\u2019: id1 = 5","messageClass":"MCDiagnostic SevError ErrorWithoutFlag"} +{"span":{"file":"json.hs","startLine":6,"startCol":7,"endLine":6,"endCol":8},"doc":"\u2022 No instance for \u2018Num (a -> a)\u2019 arising from the literal \u20185\u2019\n (maybe you haven't applied a function to enough arguments?)\n\u2022 In the expression: 5\n In an equation for \u2018id1\u2019: id1 = 5","messageClass":"MCDiagnostic SevError ErrorWithoutFlag Just GHC-39999"} diff --git a/testsuite/tests/driver/multipleHomeUnits/MHU_OptionsGHC.stderr b/testsuite/tests/driver/multipleHomeUnits/MHU_OptionsGHC.stderr index 70de257142..71fb061834 100644 --- a/testsuite/tests/driver/multipleHomeUnits/MHU_OptionsGHC.stderr +++ b/testsuite/tests/driver/multipleHomeUnits/MHU_OptionsGHC.stderr @@ -1,12 +1,12 @@ -MHU_OptionsGHC.hs:1:17: error: +MHU_OptionsGHC.hs:1:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -working-dir=a -MHU_OptionsGHC.hs:2:17: error: +MHU_OptionsGHC.hs:2:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -hidden-module=A -MHU_OptionsGHC.hs:3:17: error: +MHU_OptionsGHC.hs:3:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -reexported-module=A -MHU_OptionsGHC.hs:4:17: error: +MHU_OptionsGHC.hs:4:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -this-package-name=pp diff --git a/testsuite/tests/driver/multipleHomeUnits/mhu-closure/mhu-closure.stderr b/testsuite/tests/driver/multipleHomeUnits/mhu-closure/mhu-closure.stderr index 115d141070..4d8b6445b3 100644 --- a/testsuite/tests/driver/multipleHomeUnits/mhu-closure/mhu-closure.stderr +++ b/testsuite/tests/driver/multipleHomeUnits/mhu-closure/mhu-closure.stderr @@ -1,10 +1,10 @@ -<command line>: error: +<command line>: error: [GHC-03271] Home units are not closed. It is necessary to also load the following units: - q-0.1.0.0 -<command line>: error: +<command line>: error: [GHC-03271] Home units are not closed. It is necessary to also load the following units: - q-0.1.0.0 diff --git a/testsuite/tests/driver/recomp005/recomp005.stderr b/testsuite/tests/driver/recomp005/recomp005.stderr index 9a966f977b..2931f272fe 100644 --- a/testsuite/tests/driver/recomp005/recomp005.stderr +++ b/testsuite/tests/driver/recomp005/recomp005.stderr @@ -1,11 +1,8 @@ -C.hs:7:11: warning: [-Winline-rule-shadowing (in -Wdefault)] +C.hs:7:11: warning: [GHC-95396] [-Winline-rule-shadowing (in -Wdefault)] Rule "f/g" may never fire because ‘g’ might inline first - Suggested fix: - Add an INLINE[n] or NOINLINE[n] pragma for ‘g’ + Suggested fix: Add an INLINE[n] or NOINLINE[n] pragma for ‘g’ -C.hs:7:11: warning: [-Winline-rule-shadowing (in -Wdefault)] +C.hs:7:11: warning: [GHC-95396] [-Winline-rule-shadowing (in -Wdefault)] Rule "f/g" may never fire because ‘f’ might inline first - Suggested fix: - Add an INLINE[n] or NOINLINE[n] pragma for ‘f’ - + Suggested fix: Add an INLINE[n] or NOINLINE[n] pragma for ‘f’ diff --git a/testsuite/tests/driver/recomp006/recomp006.stderr b/testsuite/tests/driver/recomp006/recomp006.stderr index 84549b6e62..5b002e84e0 100644 --- a/testsuite/tests/driver/recomp006/recomp006.stderr +++ b/testsuite/tests/driver/recomp006/recomp006.stderr @@ -1,6 +1,6 @@ -A.hs:8:8: - Couldn't match expected type ‘Int’ with actual type ‘(a0, b0)’ - In the expression: (2, 3) - In the expression: (1, (2, 3)) - In an equation for ‘f’: f = (1, (2, 3)) +A.hs:8:8: error: [GHC-83865] + • Couldn't match expected type ‘Int’ with actual type ‘(a0, b0)’ + • In the expression: (2, 3) + In the expression: (1, (2, 3)) + In an equation for ‘f’: f = (1, (2, 3)) diff --git a/testsuite/tests/driver/should_fail/T10895.stderr b/testsuite/tests/driver/should_fail/T10895.stderr index ff8a380809..2710a357d2 100644 --- a/testsuite/tests/driver/should_fail/T10895.stderr +++ b/testsuite/tests/driver/should_fail/T10895.stderr @@ -1,4 +1,4 @@ -<no location info>: error: +<no location info>: error: [GHC-95379] Output was redirected with -o, but no output will be generated. There is no module named ‘Main’. diff --git a/testsuite/tests/driver/werror.stderr b/testsuite/tests/driver/werror.stderr index c74e2e02a5..67cab2d5f9 100644 --- a/testsuite/tests/driver/werror.stderr +++ b/testsuite/tests/driver/werror.stderr @@ -1,28 +1,28 @@ -werror.hs:6:1: error: [-Wmissing-signatures (in -Wall), -Werror=missing-signatures] +werror.hs:6:1: error: [GHC-38417] [-Wmissing-signatures (in -Wall), Werror=missing-signatures] Top-level binding with no type signature: main :: IO () -werror.hs:7:13: error: [-Wunused-local-binds (in -Wextra, -Wunused-binds), -Werror=unused-local-binds] +werror.hs:7:13: error: [-Wunused-local-binds (in -Wextra, -Wunused-binds), Werror=unused-local-binds] Defined but not used: ‘main’ -werror.hs:7:13: error: [-Wname-shadowing (in -Wall), -Werror=name-shadowing] +werror.hs:7:13: error: [GHC-63397] [-Wname-shadowing (in -Wall), Werror=name-shadowing] This binding for ‘main’ shadows the existing binding defined at werror.hs:6:1 -werror.hs:8:1: error: [-Wtabs (in -Wdefault), -Werror=tabs] +werror.hs:8:1: error: [GHC-94817] [-Wtabs (in -Wdefault), Werror=tabs] Tab character found here. Suggested fix: Please use spaces instead. -werror.hs:10:1: error: [-Wmissing-signatures (in -Wall), -Werror=missing-signatures] +werror.hs:10:1: error: [GHC-38417] [-Wmissing-signatures (in -Wall), Werror=missing-signatures] Top-level binding with no type signature: f :: [a1] -> [a2] -werror.hs:10:1: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), -Werror=unused-top-binds] +werror.hs:10:1: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), Werror=unused-top-binds] Defined but not used: ‘f’ -werror.hs:10:1: error: [-Wincomplete-patterns (in -Wextra), -Werror=incomplete-patterns] +werror.hs:10:1: error: [GHC-62161] [-Wincomplete-patterns (in -Wextra), Werror=incomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘[a]’ not matched: (_:_) -werror.hs:11:1: error: [-Woverlapping-patterns (in -Wdefault), -Werror=overlapping-patterns] +werror.hs:11:1: error: [GHC-53633] [-Woverlapping-patterns (in -Wdefault), Werror=overlapping-patterns] Pattern match is redundant In an equation for ‘f’: f [] = ... diff --git a/testsuite/tests/ffi/should_compile/T1357.stderr b/testsuite/tests/ffi/should_compile/T1357.stderr index 9980c89e7a..7a61e35412 100644 --- a/testsuite/tests/ffi/should_compile/T1357.stderr +++ b/testsuite/tests/ffi/should_compile/T1357.stderr @@ -1,5 +1,5 @@ -T1357.hs:5:1: warning: [-Wdodgy-foreign-imports (in -Wdefault)] - possible missing & in foreign import of FunPtr - When checking declaration: +T1357.hs:5:1: warning: [GHC-57989] [-Wdodgy-foreign-imports (in -Wdefault)] + • possible missing & in foreign import of FunPtr + • When checking declaration: foreign import ccall safe "f" f :: FunPtr (Int -> IO ()) diff --git a/testsuite/tests/ffi/should_fail/NonreducingFfiSignature.stderr b/testsuite/tests/ffi/should_fail/NonreducingFfiSignature.stderr index 22a6c7dc26..880e167232 100644 --- a/testsuite/tests/ffi/should_fail/NonreducingFfiSignature.stderr +++ b/testsuite/tests/ffi/should_fail/NonreducingFfiSignature.stderr @@ -1,6 +1,7 @@ -NonreducingFfiSignature.hs:12:1: - Unacceptable result type in foreign declaration: + +NonreducingFfiSignature.hs:12:1: error: [GHC-89401] + • Unacceptable result type in foreign declaration: ‘Foo Int’ cannot be marshalled in a foreign call - When checking declaration: + • When checking declaration: foreign import ccall safe "math.h pow" c_pow :: CDouble -> CDouble -> Foo Int diff --git a/testsuite/tests/ffi/should_fail/T10461.stderr b/testsuite/tests/ffi/should_fail/T10461.stderr index 47df47b97f..cbdac0bb19 100644 --- a/testsuite/tests/ffi/should_fail/T10461.stderr +++ b/testsuite/tests/ffi/should_fail/T10461.stderr @@ -1,5 +1,5 @@ -T10461.hs:6:1: error: +T10461.hs:6:1: error: [GHC-10964] • Unacceptable result type in foreign declaration: ‘Word#’ cannot be marshalled in a foreign call UnliftedFFITypes is required to marshal unlifted types diff --git a/testsuite/tests/ffi/should_fail/T16702.stderr b/testsuite/tests/ffi/should_fail/T16702.stderr index 2ab7c751d0..e407fed1a9 100644 --- a/testsuite/tests/ffi/should_fail/T16702.stderr +++ b/testsuite/tests/ffi/should_fail/T16702.stderr @@ -1,5 +1,5 @@ -T16702.hs:12:1: error: +T16702.hs:12:1: error: [GHC-92994] • Unacceptable result type in foreign declaration: Unexpected nested forall • When checking declaration: @@ -7,21 +7,21 @@ T16702.hs:12:1: error: :: CDouble -> forall (a :: Type). CDouble -> forall (b :: Type). CDouble -T16702.hs:17:1: error: +T16702.hs:17:1: error: [GHC-92994] • Unacceptable result type in foreign declaration: Unexpected nested forall • When checking declaration: foreign import ccall safe "malloc" malloc1 :: CSize -> forall a. IO (Ptr a) -T16702.hs:20:1: error: +T16702.hs:20:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘Show a’ cannot be marshalled in a foreign call • When checking declaration: foreign import ccall safe "malloc" malloc2 :: Show a => CSize -> IO (Ptr a) -T16702.hs:23:1: error: +T16702.hs:23:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘Show a’ cannot be marshalled in a foreign call • When checking declaration: diff --git a/testsuite/tests/ffi/should_fail/T20116.stderr b/testsuite/tests/ffi/should_fail/T20116.stderr index dbc06bf9a0..1c2422bcc8 100644 --- a/testsuite/tests/ffi/should_fail/T20116.stderr +++ b/testsuite/tests/ffi/should_fail/T20116.stderr @@ -1,5 +1,5 @@ -T20116.hs:8:1: error: +T20116.hs:8:1: error: [GHC-49692] • `foreign import prim' requires GHCForeignImportPrim. • When checking declaration: foreign import prim safe "test_lt" lt_s :: Int64# -> Int64# -> Int# diff --git a/testsuite/tests/ffi/should_fail/T21305_fail.stderr b/testsuite/tests/ffi/should_fail/T21305_fail.stderr index fae7053d9f..542d401167 100644 --- a/testsuite/tests/ffi/should_fail/T21305_fail.stderr +++ b/testsuite/tests/ffi/should_fail/T21305_fail.stderr @@ -1,5 +1,5 @@ -T21305_fail.hs:7:1: error: +T21305_fail.hs:7:1: error: [GHC-64097] • Unacceptable argument type in foreign declaration: Expected kind ‘Type’ or ‘UnliftedType’, but ‘Any’ has kind ‘TYPE ('BoxedRep l)’ @@ -7,7 +7,7 @@ T21305_fail.hs:7:1: error: foreign import prim safe "g" g :: forall (l :: Levity). Any @(TYPE (BoxedRep l)) -> Any -T21305_fail.hs:9:1: error: +T21305_fail.hs:9:1: error: [GHC-64097] • Unacceptable argument type in foreign declaration: Expected kind ‘Type’ or ‘UnliftedType’, but ‘Any’ has kind ‘TYPE 'IntRep’ diff --git a/testsuite/tests/ffi/should_fail/T3066.stderr b/testsuite/tests/ffi/should_fail/T3066.stderr index 280905136a..8923162029 100644 --- a/testsuite/tests/ffi/should_fail/T3066.stderr +++ b/testsuite/tests/ffi/should_fail/T3066.stderr @@ -1,5 +1,5 @@ -T3066.hs:7:1: error: +T3066.hs:7:1: error: [GHC-31136] • Unacceptable argument type in foreign declaration: ‘forall u. Ptr ()’ is not a data type • When checking declaration: diff --git a/testsuite/tests/ffi/should_fail/T5664.stderr b/testsuite/tests/ffi/should_fail/T5664.stderr index c1652c2288..9af431626f 100644 --- a/testsuite/tests/ffi/should_fail/T5664.stderr +++ b/testsuite/tests/ffi/should_fail/T5664.stderr @@ -1,16 +1,16 @@ -T5664.hs:15:1: - Unacceptable argument type in foreign declaration: - Expected: Ptr/FunPtr (Int32 -> IO ()), - Actual: FunPtr (D -> IO ()) - When checking declaration: - foreign import ccall safe "dynamic" mkFun3 - :: FunPtr (D -> IO ()) -> CInt -> IO () +T5664.hs:15:1: error: [GHC-27555] + • Unacceptable argument type in foreign declaration: + Expected: Ptr/FunPtr (Int32 -> IO ()), + Actual: FunPtr (D -> IO ()) + • When checking declaration: + foreign import ccall safe "dynamic" mkFun3 + :: FunPtr (D -> IO ()) -> CInt -> IO () -T5664.hs:24:1: - Unacceptable result type in foreign declaration: - Expected: Ptr/FunPtr (IO Int32), - Actual: FunPtr (IO D) - When checking declaration: - foreign import ccall safe "wrapper" mkCallBack3 - :: IO CInt -> IO (FunPtr (IO D)) +T5664.hs:24:1: error: [GHC-27555] + • Unacceptable result type in foreign declaration: + Expected: Ptr/FunPtr (IO Int32), + Actual: FunPtr (IO D) + • When checking declaration: + foreign import ccall safe "wrapper" mkCallBack3 + :: IO CInt -> IO (FunPtr (IO D)) diff --git a/testsuite/tests/ffi/should_fail/T7243.stderr b/testsuite/tests/ffi/should_fail/T7243.stderr index 727ae0f653..c00c085d74 100644 --- a/testsuite/tests/ffi/should_fail/T7243.stderr +++ b/testsuite/tests/ffi/should_fail/T7243.stderr @@ -1,5 +1,5 @@ -T7243.hs:4:1: - Unacceptable type in foreign declaration: One argument expected - When checking declaration: - foreign import ccall safe "wrapper" foo :: IO (FunPtr ()) +T7243.hs:4:1: error: [GHC-91490] + • Unacceptable type in foreign declaration: One argument expected + • When checking declaration: + foreign import ccall safe "wrapper" foo :: IO (FunPtr ()) diff --git a/testsuite/tests/ffi/should_fail/T7506.stderr b/testsuite/tests/ffi/should_fail/T7506.stderr index 9a1aa25a8e..c2a70ff345 100644 --- a/testsuite/tests/ffi/should_fail/T7506.stderr +++ b/testsuite/tests/ffi/should_fail/T7506.stderr @@ -1,8 +1,8 @@ -T7506.hs:6:1: - Unacceptable type in foreign declaration: - ‘Int -> IO ()’ cannot be marshalled in a foreign call - A foreign-imported address (via &foo) must have type (Ptr a) or (FunPtr a) - When checking declaration: - foreign import ccall safe "stdio.h &putchar" c_putchar - :: Int -> IO () +T7506.hs:6:1: error: [GHC-26070] + • Unacceptable type in foreign declaration: + ‘Int -> IO ()’ cannot be marshalled in a foreign call + A foreign-imported address (via &foo) must have type (Ptr a) or (FunPtr a) + • When checking declaration: + foreign import ccall safe "stdio.h &putchar" c_putchar + :: Int -> IO () diff --git a/testsuite/tests/ffi/should_fail/capi_value_function.stderr b/testsuite/tests/ffi/should_fail/capi_value_function.stderr index 6732c5c2da..0d63ec7b4e 100644 --- a/testsuite/tests/ffi/should_fail/capi_value_function.stderr +++ b/testsuite/tests/ffi/should_fail/capi_value_function.stderr @@ -1,5 +1,5 @@ -capi_value_function.hs:8:1: - `value' imports cannot have function types - When checking declaration: - foreign import capi safe "math.h value sqrt" f :: CInt -> CInt +capi_value_function.hs:8:1: error: [GHC-76251] + • `value' imports cannot have function types + • When checking declaration: + foreign import capi safe "math.h value sqrt" f :: CInt -> CInt diff --git a/testsuite/tests/ffi/should_fail/capi_wrapper.stderr b/testsuite/tests/ffi/should_fail/capi_wrapper.stderr index 607e228ddd..4a763269f8 100644 --- a/testsuite/tests/ffi/should_fail/capi_wrapper.stderr +++ b/testsuite/tests/ffi/should_fail/capi_wrapper.stderr @@ -1,3 +1,3 @@ -capi_wrapper.hs:4:21: error: +capi_wrapper.hs:4:21: error: [GHC-72744] Wrapper stubs can't be used with CApiFFI. diff --git a/testsuite/tests/ffi/should_fail/ccall_value.stderr b/testsuite/tests/ffi/should_fail/ccall_value.stderr index b7e870f0ed..b449d33fad 100644 --- a/testsuite/tests/ffi/should_fail/ccall_value.stderr +++ b/testsuite/tests/ffi/should_fail/ccall_value.stderr @@ -1,2 +1,2 @@ -ccall_value.hs:11:22: Malformed entity string +ccall_value.hs:11:22: error: [GHC-26204] Malformed entity string diff --git a/testsuite/tests/ffi/should_fail/ccfail001.stderr b/testsuite/tests/ffi/should_fail/ccfail001.stderr index 01c7ea5d15..f160066e64 100644 --- a/testsuite/tests/ffi/should_fail/ccfail001.stderr +++ b/testsuite/tests/ffi/should_fail/ccfail001.stderr @@ -1,6 +1,6 @@ -ccfail001.hs:10:1: - Unacceptable result type in foreign declaration: - ‘State# RealWorld’ cannot be marshalled in a foreign call - When checking declaration: - foreign import ccall safe foo :: Int -> State# RealWorld +ccfail001.hs:10:1: error: [GHC-89401] + • Unacceptable result type in foreign declaration: + ‘State# RealWorld’ cannot be marshalled in a foreign call + • When checking declaration: + foreign import ccall safe foo :: Int -> State# RealWorld diff --git a/testsuite/tests/ffi/should_fail/ccfail002.stderr b/testsuite/tests/ffi/should_fail/ccfail002.stderr index c3c04e25d5..abe495a6c8 100644 --- a/testsuite/tests/ffi/should_fail/ccfail002.stderr +++ b/testsuite/tests/ffi/should_fail/ccfail002.stderr @@ -1,7 +1,7 @@ -ccfail002.hs:10:1: - Unacceptable result type in foreign declaration: - ‘(# Int#, Int#, Int# #)’ cannot be marshalled in a foreign call - When checking declaration: - foreign import ccall unsafe "foo" foo - :: Int# -> Int# -> Int# -> (# Int#, Int#, Int# #) +ccfail002.hs:10:1: error: [GHC-89401] + • Unacceptable result type in foreign declaration: + ‘(# Int#, Int#, Int# #)’ cannot be marshalled in a foreign call + • When checking declaration: + foreign import ccall unsafe "foo" foo + :: Int# -> Int# -> Int# -> (# Int#, Int#, Int# #) diff --git a/testsuite/tests/ffi/should_fail/ccfail003.stderr b/testsuite/tests/ffi/should_fail/ccfail003.stderr index 6afdd7678f..9f82542199 100644 --- a/testsuite/tests/ffi/should_fail/ccfail003.stderr +++ b/testsuite/tests/ffi/should_fail/ccfail003.stderr @@ -1,12 +1,12 @@ -ccfail003.hs:7:1: - Unacceptable argument type in foreign declaration: - ‘Int#’ cannot be marshalled in a foreign call - When checking declaration: - foreign export ccall "foo" foo :: Int# -> IO () +ccfail003.hs:7:1: error: [GHC-89401] + • Unacceptable argument type in foreign declaration: + ‘Int#’ cannot be marshalled in a foreign call + • When checking declaration: + foreign export ccall "foo" foo :: Int# -> IO () -ccfail003.hs:10:1: - Unacceptable result type in foreign declaration: - ‘Int#’ cannot be marshalled in a foreign call - When checking declaration: - foreign export ccall "bar" bar :: Int -> Int# +ccfail003.hs:10:1: error: [GHC-89401] + • Unacceptable result type in foreign declaration: + ‘Int#’ cannot be marshalled in a foreign call + • When checking declaration: + foreign export ccall "bar" bar :: Int -> Int# diff --git a/testsuite/tests/ffi/should_fail/ccfail004.stderr b/testsuite/tests/ffi/should_fail/ccfail004.stderr index f10945d510..b597a6d73e 100644 --- a/testsuite/tests/ffi/should_fail/ccfail004.stderr +++ b/testsuite/tests/ffi/should_fail/ccfail004.stderr @@ -1,5 +1,5 @@ -ccfail004.hs:9:1: error: +ccfail004.hs:9:1: error: [GHC-72317] • Unacceptable argument type in foreign declaration: ‘NInt’ cannot be marshalled in a foreign call because its data constructor is not in scope @@ -7,7 +7,7 @@ ccfail004.hs:9:1: error: foreign import ccall safe f1 :: NInt -> IO Int Suggested fix: Import the data constructor to bring it into scope -ccfail004.hs:10:1: error: +ccfail004.hs:10:1: error: [GHC-72317] • Unacceptable result type in foreign declaration: ‘NInt’ cannot be marshalled in a foreign call because its data constructor is not in scope @@ -15,7 +15,7 @@ ccfail004.hs:10:1: error: foreign import ccall safe f2 :: Int -> IO NInt Suggested fix: Import the data constructor to bring it into scope -ccfail004.hs:11:1: error: +ccfail004.hs:11:1: error: [GHC-72317] • Unacceptable result type in foreign declaration: ‘NIO Int’ cannot be marshalled in a foreign call because the data constructor for ‘NIO’ is not in scope @@ -23,13 +23,13 @@ ccfail004.hs:11:1: error: foreign import ccall safe f3 :: Int -> NIO Int Suggested fix: Import the data constructor to bring it into scope -ccfail004.hs:14:1: error: +ccfail004.hs:14:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘[NT]’ cannot be marshalled in a foreign call • When checking declaration: foreign import ccall safe f4 :: NT -> IO () -ccfail004.hs:15:1: error: +ccfail004.hs:15:1: error: [GHC-89401] • Unacceptable result type in foreign declaration: ‘[NT]’ cannot be marshalled in a foreign call • When checking declaration: foreign import ccall safe f5 :: IO NT diff --git a/testsuite/tests/ffi/should_fail/ccfail005.stderr b/testsuite/tests/ffi/should_fail/ccfail005.stderr index d5e2a27901..676d2410e2 100644 --- a/testsuite/tests/ffi/should_fail/ccfail005.stderr +++ b/testsuite/tests/ffi/should_fail/ccfail005.stderr @@ -1,10 +1,10 @@ -ccfail005.hs:14:1: - Unacceptable argument type in foreign declaration: - ‘D’ cannot be marshalled in a foreign call - When checking declaration: foreign import ccall safe f1 :: F Bool +ccfail005.hs:14:1: error: [GHC-89401] + • Unacceptable argument type in foreign declaration: + ‘D’ cannot be marshalled in a foreign call + • When checking declaration: foreign import ccall safe f1 :: F Bool -ccfail005.hs:15:1: - Unacceptable result type in foreign declaration: - ‘D’ cannot be marshalled in a foreign call - When checking declaration: foreign import ccall safe f2 :: F Char +ccfail005.hs:15:1: error: [GHC-89401] + • Unacceptable result type in foreign declaration: + ‘D’ cannot be marshalled in a foreign call + • When checking declaration: foreign import ccall safe f2 :: F Char diff --git a/testsuite/tests/gadt/CasePrune.stderr b/testsuite/tests/gadt/CasePrune.stderr index c3d89e885c..ed694de046 100644 --- a/testsuite/tests/gadt/CasePrune.stderr +++ b/testsuite/tests/gadt/CasePrune.stderr @@ -1,6 +1,6 @@ -CasePrune.hs:14:31: error: - Couldn't match type ‘Int’ with ‘A’ - arising from the coercion of the method ‘ic’ - from type ‘T Int’ to type ‘T A’ - When deriving the instance for (C A) +CasePrune.hs:14:31: error: [GHC-18872] + • Couldn't match type ‘Int’ with ‘A’ + arising from the coercion of the method ‘ic’ + from type ‘T Int’ to type ‘T A’ + • When deriving the instance for (C A) diff --git a/testsuite/tests/gadt/T12468.stderr b/testsuite/tests/gadt/T12468.stderr index 5abe870814..e636f56592 100644 --- a/testsuite/tests/gadt/T12468.stderr +++ b/testsuite/tests/gadt/T12468.stderr @@ -1,5 +1,5 @@ -T12468.hs:9:7: error: +T12468.hs:9:7: error: [GHC-88464] • Found hole: _ :: Int • In an equation for ‘f’: f I = _ • Relevant bindings include f :: T a -> a (bound at T12468.hs:9:1) diff --git a/testsuite/tests/gadt/T15558.stderr b/testsuite/tests/gadt/T15558.stderr index e3223fb7a3..3f294ca630 100644 --- a/testsuite/tests/gadt/T15558.stderr +++ b/testsuite/tests/gadt/T15558.stderr @@ -1,5 +1,5 @@ -T15558.hs:11:15: warning: [-Winaccessible-code (in -Wdefault)] +T15558.hs:11:15: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a type expected by the context: (a ~ Bool) => () diff --git a/testsuite/tests/gadt/T20485.stderr b/testsuite/tests/gadt/T20485.stderr index e140b58ad3..375d0540da 100644 --- a/testsuite/tests/gadt/T20485.stderr +++ b/testsuite/tests/gadt/T20485.stderr @@ -1,15 +1,15 @@ -T20485.hs:7:3: warning: [-Wgadt-mono-local-binds (in -Wdefault)] +T20485.hs:7:3: warning: [GHC-58008] [-Wgadt-mono-local-binds (in -Wdefault)] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies -T20485.hs:9:19: warning: [-Wgadt-mono-local-binds (in -Wdefault)] +T20485.hs:9:19: warning: [GHC-58008] [-Wgadt-mono-local-binds (in -Wdefault)] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies -T20485.hs:12:3: warning: [-Wgadt-mono-local-binds (in -Wdefault)] +T20485.hs:12:3: warning: [GHC-58008] [-Wgadt-mono-local-binds (in -Wdefault)] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies diff --git a/testsuite/tests/gadt/T3163.stderr b/testsuite/tests/gadt/T3163.stderr index c9b09f1fa0..47efc402ba 100644 --- a/testsuite/tests/gadt/T3163.stderr +++ b/testsuite/tests/gadt/T3163.stderr @@ -1,5 +1,5 @@ -T3163.hs:9:5: error: +T3163.hs:9:5: error: [GHC-91510] • Illegal polymorphic type: forall s. s • In the definition of data constructor ‘Unreached’ In the data type declaration for ‘Taker’ diff --git a/testsuite/tests/gadt/T3169.stderr b/testsuite/tests/gadt/T3169.stderr index 9ab61c8720..4bf94bccd1 100644 --- a/testsuite/tests/gadt/T3169.stderr +++ b/testsuite/tests/gadt/T3169.stderr @@ -1,5 +1,5 @@ -T3169.hs:13:22: error: +T3169.hs:13:22: error: [GHC-25897] • Couldn't match type ‘elt’ with ‘Map b elt’ Expected: Map a (Map b elt) Actual: Map (a, b) elt diff --git a/testsuite/tests/gadt/T3651.stderr b/testsuite/tests/gadt/T3651.stderr index cd235748bb..b4c7a2e65d 100644 --- a/testsuite/tests/gadt/T3651.stderr +++ b/testsuite/tests/gadt/T3651.stderr @@ -1,12 +1,12 @@ -T3651.hs:11:15: error: +T3651.hs:11:15: error: [GHC-83865] • Couldn't match type ‘()’ with ‘Bool’ Expected: a Actual: () • In the expression: () In an equation for ‘unsafe1’: unsafe1 B U = () -T3651.hs:14:15: error: +T3651.hs:14:15: error: [GHC-83865] • Couldn't match type ‘()’ with ‘Bool’ Expected: a Actual: () diff --git a/testsuite/tests/gadt/T7293.stderr b/testsuite/tests/gadt/T7293.stderr index 4546789ec2..deb1446127 100644 --- a/testsuite/tests/gadt/T7293.stderr +++ b/testsuite/tests/gadt/T7293.stderr @@ -1,9 +1,9 @@ -T7293.hs:26:1: error: [-Woverlapping-patterns (in -Wdefault), -Werror=overlapping-patterns] +T7293.hs:26:1: error: [GHC-53633] [-Woverlapping-patterns (in -Wdefault), Werror=overlapping-patterns] Pattern match is redundant In an equation for ‘nth’: nth Nil _ = ... -T7293.hs:26:5: error: [-Winaccessible-code (in -Wdefault), -Werror=inaccessible-code] +T7293.hs:26:5: error: [GHC-40564] [-Winaccessible-code (in -Wdefault), Werror=inaccessible-code] • Inaccessible code in a pattern with constructor: Nil :: forall a. Vec a 'Zero, in an equation for ‘nth’ diff --git a/testsuite/tests/gadt/T7294.stderr b/testsuite/tests/gadt/T7294.stderr index 718a463e31..9d465fda69 100644 --- a/testsuite/tests/gadt/T7294.stderr +++ b/testsuite/tests/gadt/T7294.stderr @@ -1,9 +1,9 @@ -T7294.hs:27:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T7294.hs:27:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘nth’: nth Nil _ = ... -T7294.hs:27:5: warning: [-Winaccessible-code (in -Wdefault)] +T7294.hs:27:5: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: Nil :: forall a. Vec a 'Zero, in an equation for ‘nth’ diff --git a/testsuite/tests/gadt/T7558.stderr b/testsuite/tests/gadt/T7558.stderr index c8b9ec4223..600283670f 100644 --- a/testsuite/tests/gadt/T7558.stderr +++ b/testsuite/tests/gadt/T7558.stderr @@ -1,5 +1,5 @@ -T7558.hs:8:18: error: +T7558.hs:8:18: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Maybe a’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/gadt/gadt-escape1.stderr b/testsuite/tests/gadt/gadt-escape1.stderr index fcc562f56e..a1c2d44253 100644 --- a/testsuite/tests/gadt/gadt-escape1.stderr +++ b/testsuite/tests/gadt/gadt-escape1.stderr @@ -1,5 +1,5 @@ -gadt-escape1.hs:19:58: error: +gadt-escape1.hs:19:58: error: [GHC-25897] • Could not deduce ‘p ~ ExpGADT Int’ from the context: t ~ Int bound by a pattern with constructor: ExpInt :: Int -> ExpGADT Int, diff --git a/testsuite/tests/gadt/gadt10.stderr b/testsuite/tests/gadt/gadt10.stderr index 97bd197a2a..2bbfccf8b5 100644 --- a/testsuite/tests/gadt/gadt10.stderr +++ b/testsuite/tests/gadt/gadt10.stderr @@ -1,7 +1,7 @@ -gadt10.hs:6:24: error: - Expecting one more argument to ‘RInt’ - Expected a type, but ‘RInt’ has kind ‘k0 -> *’ - In the type ‘RInt’ - In the definition of data constructor ‘R’ - In the data declaration for ‘RInt’ +gadt10.hs:6:24: error: [GHC-83865] + • Expecting one more argument to ‘RInt’ + Expected a type, but ‘RInt’ has kind ‘k0 -> *’ + • In the type ‘RInt’ + In the definition of data constructor ‘R’ + In the data declaration for ‘RInt’ diff --git a/testsuite/tests/gadt/gadt13.stderr b/testsuite/tests/gadt/gadt13.stderr index b7eb4e9bd3..3b23f9189b 100644 --- a/testsuite/tests/gadt/gadt13.stderr +++ b/testsuite/tests/gadt/gadt13.stderr @@ -1,5 +1,5 @@ -gadt13.hs:15:13: error: +gadt13.hs:15:13: error: [GHC-25897] • Could not deduce ‘p ~ (String -> [Char])’ from the context: a ~ Int bound by a pattern with constructor: I :: Int -> Term Int, diff --git a/testsuite/tests/gadt/gadt21.stderr b/testsuite/tests/gadt/gadt21.stderr index 999448bb71..e34b0cb462 100644 --- a/testsuite/tests/gadt/gadt21.stderr +++ b/testsuite/tests/gadt/gadt21.stderr @@ -1,5 +1,5 @@ -gadt21.hs:21:60: error: +gadt21.hs:21:60: error: [GHC-39999] • Could not deduce ‘Ord a1’ arising from a use of ‘f’ from the context: a ~ Set a1 bound by a pattern with constructor: diff --git a/testsuite/tests/gadt/gadt7.stderr b/testsuite/tests/gadt/gadt7.stderr index f1e7237dac..704415a3a8 100644 --- a/testsuite/tests/gadt/gadt7.stderr +++ b/testsuite/tests/gadt/gadt7.stderr @@ -1,5 +1,5 @@ -gadt7.hs:16:38: error: +gadt7.hs:16:38: error: [GHC-25897] • Could not deduce ‘p1 ~ p2’ from the context: a ~ Int bound by a pattern with constructor: K :: T Int, diff --git a/testsuite/tests/gadt/lazypat.stderr b/testsuite/tests/gadt/lazypat.stderr index e9abf58540..3baa2f6cc8 100644 --- a/testsuite/tests/gadt/lazypat.stderr +++ b/testsuite/tests/gadt/lazypat.stderr @@ -1,7 +1,7 @@ -lazypat.hs:7:5: - An existential or GADT data constructor cannot be used - inside a lazy (~) pattern - In the pattern: T x f - In the pattern: ~(T x f) - In an equation for ‘f’: f ~(T x f) = f x +lazypat.hs:7:5: error: [GHC-87005] + • An existential or GADT data constructor cannot be used + inside a lazy (~) pattern + • In the pattern: T x f + In the pattern: ~(T x f) + In an equation for ‘f’: f ~(T x f) = f x diff --git a/testsuite/tests/gadt/records-fail1.stderr b/testsuite/tests/gadt/records-fail1.stderr index 9e8c80bb3b..d83e77f64e 100644 --- a/testsuite/tests/gadt/records-fail1.stderr +++ b/testsuite/tests/gadt/records-fail1.stderr @@ -1,2 +1,2 @@ -records-fail1.hs:18:6: error: parse error on input ‘{’ +records-fail1.hs:18:6: error: [GHC-58481] parse error on input ‘{’ diff --git a/testsuite/tests/gadt/rw.stderr b/testsuite/tests/gadt/rw.stderr index c4221368fd..7a5c84dd85 100644 --- a/testsuite/tests/gadt/rw.stderr +++ b/testsuite/tests/gadt/rw.stderr @@ -1,5 +1,5 @@ -rw.hs:14:47: error: +rw.hs:14:47: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Int’ ‘a’ is a rigid type variable bound by the type signature for: @@ -13,7 +13,7 @@ rw.hs:14:47: error: v :: T a (bound at rw.hs:13:10) writeInt :: T a -> IORef a -> IO () (bound at rw.hs:13:1) -rw.hs:19:51: error: +rw.hs:19:51: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Bool’ Expected: a -> Bool Actual: Bool -> Bool diff --git a/testsuite/tests/generics/GenCannotDoRep0_0.stderr b/testsuite/tests/generics/GenCannotDoRep0_0.stderr index ced307d7c9..04c03697b3 100644 --- a/testsuite/tests/generics/GenCannotDoRep0_0.stderr +++ b/testsuite/tests/generics/GenCannotDoRep0_0.stderr @@ -2,13 +2,13 @@ GenCannotDoRep0_0.hs:6:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -GenCannotDoRep0_0.hs:13:45: error: +GenCannotDoRep0_0.hs:13:45: error: [GHC-16437] • Can't make a derived instance of ‘Generic Dynamic’: Constructor ‘Dynamic’ has existential type variables in its type • In the data declaration for ‘Dynamic’ Suggested fix: Use a standalone deriving declaration instead -GenCannotDoRep0_0.hs:28:1: error: +GenCannotDoRep0_0.hs:28:1: error: [GHC-30367] • Can't make a derived instance of ‘Generic (D Int a)’: D must not have a datatype context • In the stand-alone deriving instance for ‘Generic (D Int a)’ diff --git a/testsuite/tests/generics/GenCannotDoRep0_1.stderr b/testsuite/tests/generics/GenCannotDoRep0_1.stderr index e99240d2c6..d6167ae61b 100644 --- a/testsuite/tests/generics/GenCannotDoRep0_1.stderr +++ b/testsuite/tests/generics/GenCannotDoRep0_1.stderr @@ -2,7 +2,7 @@ GenCannotDoRep0_1.hs:1:29: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -GenCannotDoRep0_1.hs:8:49: - Can't make a derived instance of ‘Generic (Context a)’: - Context must not have a datatype context - In the data declaration for ‘Context’ +GenCannotDoRep0_1.hs:8:49: error: [GHC-30367] + • Can't make a derived instance of ‘Generic (Context a)’: + Context must not have a datatype context + • In the data declaration for ‘Context’ diff --git a/testsuite/tests/generics/GenCannotDoRep0_2.stderr b/testsuite/tests/generics/GenCannotDoRep0_2.stderr index 9d0f7020d6..05cc0d1112 100644 --- a/testsuite/tests/generics/GenCannotDoRep0_2.stderr +++ b/testsuite/tests/generics/GenCannotDoRep0_2.stderr @@ -1,5 +1,5 @@ -GenCannotDoRep0_2.hs:13:1: - Can't make a derived instance of ‘Generic (Term a)’: - Int must be a vanilla data constructor - In the stand-alone deriving instance for ‘Generic (Term a)’ +GenCannotDoRep0_2.hs:13:1: error: [GHC-30367] + • Can't make a derived instance of ‘Generic (Term a)’: + Int must be a vanilla data constructor + • In the stand-alone deriving instance for ‘Generic (Term a)’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_0.stderr b/testsuite/tests/generics/GenCannotDoRep1_0.stderr index 604ad0c14c..a921239c15 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_0.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_0.stderr @@ -1,5 +1,5 @@ -GenCannotDoRep1_0.hs:9:49: error: +GenCannotDoRep1_0.hs:9:49: error: [GHC-16437] • Can't make a derived instance of ‘Generic1 Dynamic’: Constructor ‘Dynamic’ has existential type variables in its type • In the data declaration for ‘Dynamic’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_1.stderr b/testsuite/tests/generics/GenCannotDoRep1_1.stderr index 6ed636ffc8..9e009398cc 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_1.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_1.stderr @@ -2,7 +2,7 @@ GenCannotDoRep1_1.hs:1:29: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -GenCannotDoRep1_1.hs:8:49: - Can't make a derived instance of ‘Generic1 Context’: - Context must not have a datatype context - In the data declaration for ‘Context’ +GenCannotDoRep1_1.hs:8:49: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 Context’: + Context must not have a datatype context + • In the data declaration for ‘Context’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_2.stderr b/testsuite/tests/generics/GenCannotDoRep1_2.stderr index 17e1f5944f..ebf5d1bce0 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_2.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_2.stderr @@ -1,5 +1,5 @@ -GenCannotDoRep1_2.hs:13:1: - Can't make a derived instance of ‘Generic1 Term’: - Int must be a vanilla data constructor - In the stand-alone deriving instance for ‘Generic1 Term’ +GenCannotDoRep1_2.hs:13:1: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 Term’: + Int must be a vanilla data constructor + • In the stand-alone deriving instance for ‘Generic1 Term’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_3.stderr b/testsuite/tests/generics/GenCannotDoRep1_3.stderr index 2b7a280923..3fadb4eb21 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_3.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_3.stderr @@ -1,6 +1,6 @@ -GenCannotDoRep1_3.hs:11:33: - Can't make a derived instance of ‘Generic1 T’: - Constructor ‘T’ applies a type to an argument involving the last parameter - but the applied type is not of kind * -> * - In the data declaration for ‘T’ +GenCannotDoRep1_3.hs:11:33: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 T’: + Constructor ‘T’ applies a type to an argument involving the last parameter + but the applied type is not of kind * -> * + • In the data declaration for ‘T’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_4.stderr b/testsuite/tests/generics/GenCannotDoRep1_4.stderr index 973c9b0843..5afa28dcc4 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_4.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_4.stderr @@ -1,6 +1,6 @@ -GenCannotDoRep1_4.hs:8:34: - Can't make a derived instance of ‘Generic1 T’: - Constructor ‘T’ applies a type to an argument involving the last parameter - but the applied type is not of kind * -> * - In the data declaration for ‘T’ +GenCannotDoRep1_4.hs:8:34: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 T’: + Constructor ‘T’ applies a type to an argument involving the last parameter + but the applied type is not of kind * -> * + • In the data declaration for ‘T’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_6.stderr b/testsuite/tests/generics/GenCannotDoRep1_6.stderr index 04d88bf90e..1ba8ae73c6 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_6.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_6.stderr @@ -1,6 +1,6 @@ -GenCannotDoRep1_6.hs:9:43: - Can't make a derived instance of ‘Generic1 T’: - Constructor ‘T’ applies a type to an argument involving the last parameter - but the applied type is not of kind * -> * - In the data declaration for ‘T’ +GenCannotDoRep1_6.hs:9:43: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 T’: + Constructor ‘T’ applies a type to an argument involving the last parameter + but the applied type is not of kind * -> * + • In the data declaration for ‘T’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_7.stderr b/testsuite/tests/generics/GenCannotDoRep1_7.stderr index a35df31863..fcdc937699 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_7.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_7.stderr @@ -1,6 +1,6 @@ -GenCannotDoRep1_7.hs:9:32: - Can't make a derived instance of ‘Generic1 I’: - Constructor ‘I’ applies a type to an argument involving the last parameter - but the applied type is not of kind * -> * - In the data declaration for ‘I’ +GenCannotDoRep1_7.hs:9:32: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 I’: + Constructor ‘I’ applies a type to an argument involving the last parameter + but the applied type is not of kind * -> * + • In the data declaration for ‘I’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_8.stderr b/testsuite/tests/generics/GenCannotDoRep1_8.stderr index 1cf9bb9794..f413c30295 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_8.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_8.stderr @@ -1,6 +1,6 @@ -GenCannotDoRep1_8.hs:12:30: - Can't make a derived instance of ‘Generic1 T’: - Constructor ‘T’ applies a type to an argument involving the last parameter - but the applied type is not of kind * -> * - In the data declaration for ‘T’ +GenCannotDoRep1_8.hs:12:30: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 T’: + Constructor ‘T’ applies a type to an argument involving the last parameter + but the applied type is not of kind * -> * + • In the data declaration for ‘T’ diff --git a/testsuite/tests/generics/GenShouldFail0.stderr b/testsuite/tests/generics/GenShouldFail0.stderr index 90fe1bf305..f6c7dc61f8 100644 --- a/testsuite/tests/generics/GenShouldFail0.stderr +++ b/testsuite/tests/generics/GenShouldFail0.stderr @@ -1,5 +1,5 @@ -GenShouldFail0.hs:10:1: error: +GenShouldFail0.hs:10:1: error: [GHC-86639] • Can't make a derived instance of ‘Generic X’: You need DeriveGeneric to derive an instance for this class • In the stand-alone deriving instance for ‘Generic X’ diff --git a/testsuite/tests/generics/GenShouldFail1_0.stderr b/testsuite/tests/generics/GenShouldFail1_0.stderr index 26dfa8e405..0b4eac539b 100644 --- a/testsuite/tests/generics/GenShouldFail1_0.stderr +++ b/testsuite/tests/generics/GenShouldFail1_0.stderr @@ -1,5 +1,5 @@ -GenShouldFail1_0.hs:10:1: error: +GenShouldFail1_0.hs:10:1: error: [GHC-86639] • Can't make a derived instance of ‘Generic1 X’: You need DeriveGeneric to derive an instance for this class • In the stand-alone deriving instance for ‘Generic1 X’ diff --git a/testsuite/tests/generics/T10604/T10604_bad_variable_occurrence.stderr b/testsuite/tests/generics/T10604/T10604_bad_variable_occurrence.stderr index a8ac7c7471..69208c6668 100644 --- a/testsuite/tests/generics/T10604/T10604_bad_variable_occurrence.stderr +++ b/testsuite/tests/generics/T10604/T10604_bad_variable_occurrence.stderr @@ -1,5 +1,5 @@ -T10604_bad_variable_occurrence.hs:9:12: error: +T10604_bad_variable_occurrence.hs:9:12: error: [GHC-30367] • Can't make a derived instance of ‘Generic1 Fix’: Constructor ‘In’ applies a type to an argument involving the last parameter but the applied type is not of kind * -> * diff --git a/testsuite/tests/generics/T10604/T10604_no_PolyKinds.stderr b/testsuite/tests/generics/T10604/T10604_no_PolyKinds.stderr index 1f1c2178f6..85d62d22ed 100644 --- a/testsuite/tests/generics/T10604/T10604_no_PolyKinds.stderr +++ b/testsuite/tests/generics/T10604/T10604_no_PolyKinds.stderr @@ -1,5 +1,5 @@ -T10604_no_PolyKinds.hs:8:35: error: +T10604_no_PolyKinds.hs:8:35: error: [GHC-62016] • Cannot derive well-kinded instance of form ‘Generic1 (F ...)’ Class ‘Generic1’ expects an argument of kind ‘* -> *’ • In the data declaration for ‘F’ diff --git a/testsuite/tests/generics/T5462No1.stderr b/testsuite/tests/generics/T5462No1.stderr index b4977caa23..53d1ffa6df 100644 --- a/testsuite/tests/generics/T5462No1.stderr +++ b/testsuite/tests/generics/T5462No1.stderr @@ -1,7 +1,7 @@ -[1 of 2] Compiling GFunctor ( GFunctor/GFunctor.hs, out_T5462No1/GFunctor.o ) -[2 of 2] Compiling T5462No1 ( T5462No1.hs, out_T5462No1/T5462No1.o ) +[1 of 2] Compiling GFunctor ( GFunctor\GFunctor.hs, out_T5462No1\GFunctor.o ) +[2 of 2] Compiling T5462No1 ( T5462No1.hs, out_T5462No1\T5462No1.o ) -T5462No1.hs:25:42: error: +T5462No1.hs:25:42: error: [GHC-82023] • Can't make a derived instance of ‘GFunctor F’: ‘GFunctor’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘F’ @@ -9,13 +9,13 @@ T5462No1.hs:25:42: error: Perhaps you intended to use GeneralizedNewtypeDeriving for GHC's newtype-deriving extension -T5462No1.hs:27:23: error: +T5462No1.hs:27:23: error: [GHC-00158] • Can't make a derived instance of ‘C1 G’: ‘C1’ is not a stock derivable class (Eq, Show, etc.) • In the data declaration for ‘G’ Suggested fix: Perhaps you intended to use DeriveAnyClass -T5462No1.hs:28:23: error: +T5462No1.hs:28:23: error: [GHC-00158] • Can't make a derived instance of ‘C2 H’: ‘C2’ is not a stock derivable class (Eq, Show, etc.) • In the data declaration for ‘H’ diff --git a/testsuite/tests/generics/T8468.stderr b/testsuite/tests/generics/T8468.stderr index aaf68b9d5a..e49eafe402 100644 --- a/testsuite/tests/generics/T8468.stderr +++ b/testsuite/tests/generics/T8468.stderr @@ -1,5 +1,5 @@ -T8468.hs:6:42: - Can't make a derived instance of ‘Generic1 Array’: - Array must not have exotic unlifted or polymorphic arguments - In the data declaration for ‘Array’ +T8468.hs:6:42: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 Array’: + Array must not have exotic unlifted or polymorphic arguments + • In the data declaration for ‘Array’ diff --git a/testsuite/tests/ghc-api/T10508_api.stderr b/testsuite/tests/ghc-api/T10508_api.stderr index 29533435f3..ea386c3976 100644 --- a/testsuite/tests/ghc-api/T10508_api.stderr +++ b/testsuite/tests/ghc-api/T10508_api.stderr @@ -1,4 +1,4 @@ <no location info>: error: not an expression: ‘’ -<interactive>:1:3: error: parse error on input ‘,’ +<interactive>:1:3: error: [GHC-58481] parse error on input ‘,’ diff --git a/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr b/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr index b8fcd66a02..20bd7d48a3 100644 --- a/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr +++ b/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr @@ -1,9 +1,9 @@ -B.hs:4:1: warning: [-Wmissing-signatures (in -Wall)] +B.hs:4:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: answer_to_live_the_universe_and_everything :: Int -B.hs:5:13: warning: [-Wtype-defaults (in -Wall)] +B.hs:5:13: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints (Num a0) arising from the literal ‘1’ at B.hs:5:13 (Enum a0) @@ -12,14 +12,14 @@ B.hs:5:13: warning: [-Wtype-defaults (in -Wall)] In the first argument of ‘length’, namely ‘[1 .. 23 * 2]’ In the first argument of ‘(-)’, namely ‘length [1 .. 23 * 2]’ -A.hs:7:1: warning: [-Wmissing-signatures (in -Wall)] +A.hs:7:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: main :: IO () -B.hs:4:1: warning: [-Wmissing-signatures (in -Wall)] +B.hs:4:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: answer_to_live_the_universe_and_everything :: Int -B.hs:5:13: warning: [-Wtype-defaults (in -Wall)] +B.hs:5:13: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints (Num a0) arising from the literal ‘1’ at B.hs:5:13 (Enum a0) @@ -28,5 +28,5 @@ B.hs:5:13: warning: [-Wtype-defaults (in -Wall)] In the first argument of ‘length’, namely ‘[1 .. 23 * 2]’ In the first argument of ‘(-)’, namely ‘length [1 .. 23 * 2]’ -A.hs:7:1: warning: [-Wmissing-signatures (in -Wall)] +A.hs:7:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: main :: IO () diff --git a/testsuite/tests/ghc-api/exactprint/Test20239.stderr b/testsuite/tests/ghc-api/exactprint/Test20239.stderr index 32f05282ff..8ecb791c49 100644 --- a/testsuite/tests/ghc-api/exactprint/Test20239.stderr +++ b/testsuite/tests/ghc-api/exactprint/Test20239.stderr @@ -324,5 +324,5 @@ -Test20239.hs:4:15: error: +Test20239.hs:4:15: error: [GHC-76037] Not in scope: type constructor or class ‘Method’ diff --git a/testsuite/tests/ghc-api/target-contents/TargetContents.stderr b/testsuite/tests/ghc-api/target-contents/TargetContents.stderr index 2743f5135e..3fa570ca1d 100644 --- a/testsuite/tests/ghc-api/target-contents/TargetContents.stderr +++ b/testsuite/tests/ghc-api/target-contents/TargetContents.stderr @@ -1,19 +1,19 @@ == Error -A.hs:3:5: error: Variable not in scope: z +A.hs:3:5: error: [GHC-88464] Variable not in scope: z == CPP_D == CPP_M == Dep_DD_AB == Dep_Error_DD_AB -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z == Dep_Error_DD_A -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z == Dep_MM_AB == Dep_Error_MM_AB -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z == Dep_Error_MM_A A.hs:3:1: error: @@ -22,7 +22,7 @@ A.hs:3:1: error: == Dep_DM_AB == Dep_Error_DM_AB -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z == Dep_Error_DM_A A.hs:3:1: error: @@ -31,7 +31,7 @@ A.hs:3:1: error: == Dep_MD_AB == Dep_Error_MD_AB -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z == Dep_Error_MD_A -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z diff --git a/testsuite/tests/ghc-e/should_fail/T18441fail12.stderr b/testsuite/tests/ghc-e/should_fail/T18441fail12.stderr index 38ea987f38..fde0ff129d 100644 --- a/testsuite/tests/ghc-e/should_fail/T18441fail12.stderr +++ b/testsuite/tests/ghc-e/should_fail/T18441fail12.stderr @@ -1,5 +1,5 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-88464] Variable not in scope: abc :: IO String Suggested fix: Perhaps use ‘abs’ (imported from Prelude) 1 diff --git a/testsuite/tests/ghc-e/should_fail/T18441fail16.stderr b/testsuite/tests/ghc-e/should_fail/T18441fail16.stderr index 2194e5f81b..6b5c25e251 100644 --- a/testsuite/tests/ghc-e/should_fail/T18441fail16.stderr +++ b/testsuite/tests/ghc-e/should_fail/T18441fail16.stderr @@ -1,4 +1,4 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) 1 diff --git a/testsuite/tests/ghc-e/should_fail/T18441fail17.stderr b/testsuite/tests/ghc-e/should_fail/T18441fail17.stderr index d0749cc833..db934cf2fd 100644 --- a/testsuite/tests/ghc-e/should_fail/T18441fail17.stderr +++ b/testsuite/tests/ghc-e/should_fail/T18441fail17.stderr @@ -1,3 +1,4 @@ -<interactive>:0:33: error: Variable not in scope: a :: IO a +<interactive>:0:33: error: [GHC-88464] + Variable not in scope: a :: IO a 1 diff --git a/testsuite/tests/ghc-e/should_fail/T18441fail18.stderr b/testsuite/tests/ghc-e/should_fail/T18441fail18.stderr index 9981715a36..6a298acb5e 100644 --- a/testsuite/tests/ghc-e/should_fail/T18441fail18.stderr +++ b/testsuite/tests/ghc-e/should_fail/T18441fail18.stderr @@ -1,5 +1,5 @@ -<interactive>:0:53: error: +<interactive>:0:53: error: [GHC-88464] Variable not in scope: main :: IO a0 Suggested fix: Perhaps use ‘min’ (imported from Prelude) 1 diff --git a/testsuite/tests/ghc-e/should_fail/T18441fail4.stderr b/testsuite/tests/ghc-e/should_fail/T18441fail4.stderr index 91e20fe8f1..1bb42a359c 100644 --- a/testsuite/tests/ghc-e/should_fail/T18441fail4.stderr +++ b/testsuite/tests/ghc-e/should_fail/T18441fail4.stderr @@ -1,3 +1,4 @@ -<no location info>: error: module ‘Abcde’ cannot be found locally +<no location info>: error: [GHC-82272] + module ‘Abcde’ cannot be found locally 1 diff --git a/testsuite/tests/ghc-e/should_fail/T7962.stderr b/testsuite/tests/ghc-e/should_fail/T7962.stderr index cf1fdb92be..e22f055d80 100644 --- a/testsuite/tests/ghc-e/should_fail/T7962.stderr +++ b/testsuite/tests/ghc-e/should_fail/T7962.stderr @@ -1,4 +1,4 @@ -<interactive>:0:9: error: +<interactive>:0:9: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) 1 diff --git a/testsuite/tests/ghc-e/should_fail/T9905fail3.stderr b/testsuite/tests/ghc-e/should_fail/T9905fail3.stderr index de9de0b88f..2ac2988f00 100644 --- a/testsuite/tests/ghc-e/should_fail/T9905fail3.stderr +++ b/testsuite/tests/ghc-e/should_fail/T9905fail3.stderr @@ -1,3 +1,3 @@ -<interactive>:0:17: error: parse error on input ‘+’ +<interactive>:0:17: error: [GHC-58481] parse error on input ‘+’ 1 diff --git a/testsuite/tests/ghc-e/should_fail/ghc-e-fail1.stderr b/testsuite/tests/ghc-e/should_fail/ghc-e-fail1.stderr index d1f2d18251..3f5f8e398f 100644 --- a/testsuite/tests/ghc-e/should_fail/ghc-e-fail1.stderr +++ b/testsuite/tests/ghc-e/should_fail/ghc-e-fail1.stderr @@ -1,4 +1,4 @@ -<interactive>:0:8: error: +<interactive>:0:8: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) 1 diff --git a/testsuite/tests/ghci.debugger/scripts/T14628.stderr b/testsuite/tests/ghci.debugger/scripts/T14628.stderr index 0eb90fde1f..0cbee12ea1 100644 --- a/testsuite/tests/ghci.debugger/scripts/T14628.stderr +++ b/testsuite/tests/ghci.debugger/scripts/T14628.stderr @@ -1,5 +1,5 @@ -<interactive>:4:17: error: +<interactive>:4:17: error: [GHC-25897] • Couldn't match type ‘m’ with ‘(,) a0’ Expected: StateT Int ((,) a0) () Actual: StateT Int m () diff --git a/testsuite/tests/ghci.debugger/scripts/break003.stderr b/testsuite/tests/ghci.debugger/scripts/break003.stderr index a6f81eb1b0..91fdadd5ed 100644 --- a/testsuite/tests/ghci.debugger/scripts/break003.stderr +++ b/testsuite/tests/ghci.debugger/scripts/break003.stderr @@ -1,5 +1,5 @@ -<interactive>:4:1: error: +<interactive>:4:1: error: [GHC-39999] • No instance for ‘Show (t -> a)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it diff --git a/testsuite/tests/ghci.debugger/scripts/break006.stderr b/testsuite/tests/ghci.debugger/scripts/break006.stderr index 9d002cc286..80419e9f35 100644 --- a/testsuite/tests/ghci.debugger/scripts/break006.stderr +++ b/testsuite/tests/ghci.debugger/scripts/break006.stderr @@ -1,5 +1,5 @@ -<interactive>:4:1: error: +<interactive>:4:1: error: [GHC-39999] • No instance for ‘Show a’ arising from a use of ‘print’ Cannot resolve unknown runtime type ‘a’ Use :print or :force to determine these types @@ -12,7 +12,7 @@ (use -fprint-potential-instances to see them all) • In a stmt of an interactive GHCi command: print it -<interactive>:6:1: error: +<interactive>:6:1: error: [GHC-39999] • No instance for ‘Show a’ arising from a use of ‘print’ Cannot resolve unknown runtime type ‘a’ Use :print or :force to determine these types diff --git a/testsuite/tests/ghci.debugger/scripts/print019.stderr b/testsuite/tests/ghci.debugger/scripts/print019.stderr index 5957386183..0febc62927 100644 --- a/testsuite/tests/ghci.debugger/scripts/print019.stderr +++ b/testsuite/tests/ghci.debugger/scripts/print019.stderr @@ -1,5 +1,5 @@ -<interactive>:10:1: error: +<interactive>:10:1: error: [GHC-39999] • No instance for ‘Show a1’ arising from a use of ‘print’ Cannot resolve unknown runtime type ‘a1’ Use :print or :force to determine these types diff --git a/testsuite/tests/ghci/T11827/T11827.stderr b/testsuite/tests/ghci/T11827/T11827.stderr index 84f3cead71..a8165d0bfe 100644 --- a/testsuite/tests/ghci/T11827/T11827.stderr +++ b/testsuite/tests/ghci/T11827/T11827.stderr @@ -1,2 +1,2 @@ -A.hs:6:3: error: Not in scope: data constructor ‘C’ +A.hs:6:3: error: [GHC-76037] Not in scope: data constructor ‘C’ diff --git a/testsuite/tests/ghci/prog009/ghci.prog009.stderr b/testsuite/tests/ghci/prog009/ghci.prog009.stderr index e8e5d4ab3e..4725967558 100644 --- a/testsuite/tests/ghci/prog009/ghci.prog009.stderr +++ b/testsuite/tests/ghci/prog009/ghci.prog009.stderr @@ -1,8 +1,8 @@ -A.hs:1:16: error: parse error on input ‘where’ +A.hs:1:16: error: [GHC-58481] parse error on input ‘where’ -<interactive>:25:1: error: +<interactive>:25:1: error: [GHC-88464] Variable not in scope: yan Suggested fix: Perhaps use ‘tan’ (imported from Prelude) -A.hs:1:16: error: parse error on input ‘where’ +A.hs:1:16: error: [GHC-58481] parse error on input ‘where’ diff --git a/testsuite/tests/ghci/prog010/ghci.prog010.stderr b/testsuite/tests/ghci/prog010/ghci.prog010.stderr index 75c4fb4121..bf2a189b00 100644 --- a/testsuite/tests/ghci/prog010/ghci.prog010.stderr +++ b/testsuite/tests/ghci/prog010/ghci.prog010.stderr @@ -1,4 +1,4 @@ -<interactive>:1:1: error: Variable not in scope: g +<interactive>:1:1: error: [GHC-88464] Variable not in scope: g module 'A' is not interpreted; try ':add *A' first module 'A' is not interpreted; try ':add *A' first diff --git a/testsuite/tests/ghci/prog012/prog012.stderr b/testsuite/tests/ghci/prog012/prog012.stderr index 71d2bd385a..39eacfa7ab 100644 --- a/testsuite/tests/ghci/prog012/prog012.stderr +++ b/testsuite/tests/ghci/prog012/prog012.stderr @@ -1,2 +1,2 @@ -Bar.hs:3:7: error: Variable not in scope: nonexistent +Bar.hs:3:7: error: [GHC-88464] Variable not in scope: nonexistent diff --git a/testsuite/tests/ghci/prog013/prog013.stderr b/testsuite/tests/ghci/prog013/prog013.stderr index a1b5651c9e..066f9206e1 100644 --- a/testsuite/tests/ghci/prog013/prog013.stderr +++ b/testsuite/tests/ghci/prog013/prog013.stderr @@ -1,17 +1,17 @@ -Bad.hs:3:8: error: +Bad.hs:3:8: error: [GHC-21231] lexical error in string/character literal at character '\n' -Bad.hs:3:8: error: +Bad.hs:3:8: error: [GHC-21231] lexical error in string/character literal at character '\n' -Bad.hs:3:8: error: +Bad.hs:3:8: error: [GHC-21231] lexical error in string/character literal at character '\n' -<interactive>:9:1: error: parse error on input ‘+’ +<interactive>:9:1: error: [GHC-58481] parse error on input ‘+’ -Bad.hs:3:8: error: +Bad.hs:3:8: error: [GHC-21231] lexical error in string/character literal at character '\n' -Bad.hs:3:8: error: +Bad.hs:3:8: error: [GHC-21231] lexical error in string/character literal at character '\n' diff --git a/testsuite/tests/ghci/prog018/prog018.stdout b/testsuite/tests/ghci/prog018/prog018.stdout index 23323ebb4b..da160be432 100644 --- a/testsuite/tests/ghci/prog018/prog018.stdout +++ b/testsuite/tests/ghci/prog018/prog018.stdout @@ -1,6 +1,6 @@ [1 of 3] Compiling A ( A.hs, interpreted ) -A.hs:5:1: warning: [-Wincomplete-patterns (in -Wextra)] +A.hs:5:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘incompletePattern’: Patterns of type ‘Int’ not matched: p where p is not one of {0} @@ -15,9 +15,11 @@ B.hs:7:1: warning: [-Wunused-imports (in -Wextra)] To import instances alone, use: import Data.Tuple() [3 of 3] Compiling C ( C.hs, interpreted ) -C.hs:6:7: error: Variable not in scope: variableNotInScope :: () +C.hs:6:7: error: [GHC-88464] + Variable not in scope: variableNotInScope :: () Failed, two modules loaded. [3 of 3] Compiling C ( C.hs, interpreted ) -C.hs:6:7: error: Variable not in scope: variableNotInScope :: () +C.hs:6:7: error: [GHC-88464] + Variable not in scope: variableNotInScope :: () Failed, two modules loaded. diff --git a/testsuite/tests/ghci/scripts/Defer02.stderr b/testsuite/tests/ghci/scripts/Defer02.stderr index bb787b30c1..e05dccbd08 100644 --- a/testsuite/tests/ghci/scripts/Defer02.stderr +++ b/testsuite/tests/ghci/scripts/Defer02.stderr @@ -1,5 +1,5 @@ -Defer01.hs:11:40: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:11:40: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘Char’ with ‘[Char]’ Expected: String Actual: Char @@ -7,16 +7,16 @@ Defer01.hs:11:40: warning: [-Wdeferred-type-errors (in -Wdefault)] In the second argument of ‘(>>)’, namely ‘putStr ','’ In the expression: putStr "Hello World" >> putStr ',' -Defer01.hs:14:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:14:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer01.hs:25:1: warning: [-Woverlapping-patterns (in -Wdefault)] +Defer01.hs:25:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘c’: c (C2 x) = ... -Defer01.hs:25:4: warning: [-Winaccessible-code (in -Wdefault)] +Defer01.hs:25:4: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: C2 :: Bool -> C Bool, in an equation for ‘c’ @@ -24,7 +24,7 @@ Defer01.hs:25:4: warning: [-Winaccessible-code (in -Wdefault)] • In the pattern: C2 x In an equation for ‘c’: c (C2 x) = True -Defer01.hs:31:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:31:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Char -> t’ with actual type ‘Char’ • The function ‘e’ is applied to one value argument, but its type ‘Char’ has none @@ -32,7 +32,7 @@ Defer01.hs:31:5: warning: [-Wdeferred-type-errors (in -Wdefault)] In an equation for ‘f’: f = e 'q' • Relevant bindings include f :: t (bound at Defer01.hs:31:1) -Defer01.hs:34:8: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:34:8: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Char’ with actual type ‘a’ ‘a’ is a rigid type variable bound by the type signature for: @@ -45,7 +45,7 @@ Defer01.hs:34:8: warning: [-Wdeferred-type-errors (in -Wdefault)] x :: a (bound at Defer01.hs:34:3) h :: a -> (Char, Char) (bound at Defer01.hs:34:1) -Defer01.hs:39:17: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:39:17: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Bool’ with actual type ‘T a’ • In the first argument of ‘not’, namely ‘(K a)’ In the first argument of ‘seq’, namely ‘(not (K a))’ @@ -54,19 +54,19 @@ Defer01.hs:39:17: warning: [-Wdeferred-type-errors (in -Wdefault)] a :: a (bound at Defer01.hs:39:3) i :: a -> () (bound at Defer01.hs:39:1) -Defer01.hs:47:7: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:47:7: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Bool’ with actual type ‘Int’ • In the expression: x In an equation for ‘k’: k x = x -Defer01.hs:50:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:50:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type: IO a0 with actual type: Char -> IO () • Probable cause: ‘putChar’ is applied to too few arguments In the first argument of ‘(>>)’, namely ‘putChar’ In the expression: putChar >> putChar 'p' In an equation for ‘l’: l = putChar >> putChar 'p' -*** Exception: Defer01.hs:11:40: error: +*** Exception: Defer01.hs:11:40: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘[Char]’ Expected: String Actual: Char @@ -74,31 +74,31 @@ Defer01.hs:50:5: warning: [-Wdeferred-type-errors (in -Wdefault)] In the second argument of ‘(>>)’, namely ‘putStr ','’ In the expression: putStr "Hello World" >> putStr ',' (deferred type error) -*** Exception: Defer01.hs:14:5: error: +*** Exception: Defer01.hs:14:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' (deferred type error) -*** Exception: Defer01.hs:18:9: error: +*** Exception: Defer01.hs:18:9: error: [GHC-39999] • No instance for ‘Eq B’ arising from a use of ‘==’ • In the expression: x == x In an equation for ‘b’: b x = x == x (deferred type error) -<interactive>:10:11: error: +<interactive>:10:11: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: C Int Actual: C Bool • In the first argument of ‘c’, namely ‘(C2 True)’ In the first argument of ‘print’, namely ‘(c (C2 True))’ In the expression: print (c (C2 True)) -*** Exception: Defer01.hs:28:5: error: +*** Exception: Defer01.hs:28:5: error: [GHC-39999] • No instance for ‘Num (a -> a)’ arising from the literal ‘1’ (maybe you haven't applied a function to enough arguments?) • In the expression: 1 In an equation for ‘d’: d = 1 (deferred type error) -*** Exception: Defer01.hs:31:5: error: +*** Exception: Defer01.hs:31:5: error: [GHC-83865] • Couldn't match expected type ‘Char -> t’ with actual type ‘Char’ • The function ‘e’ is applied to one value argument, but its type ‘Char’ has none @@ -106,7 +106,7 @@ Defer01.hs:50:5: warning: [-Wdeferred-type-errors (in -Wdefault)] In an equation for ‘f’: f = e 'q' • Relevant bindings include f :: t (bound at Defer01.hs:31:1) (deferred type error) -*** Exception: Defer01.hs:34:8: error: +*** Exception: Defer01.hs:34:8: error: [GHC-25897] • Couldn't match expected type ‘Char’ with actual type ‘a’ ‘a’ is a rigid type variable bound by the type signature for: @@ -119,7 +119,7 @@ Defer01.hs:50:5: warning: [-Wdeferred-type-errors (in -Wdefault)] x :: a (bound at Defer01.hs:34:3) h :: a -> (Char, Char) (bound at Defer01.hs:34:1) (deferred type error) -*** Exception: Defer01.hs:39:17: error: +*** Exception: Defer01.hs:39:17: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘T a’ • In the first argument of ‘not’, namely ‘(K a)’ In the first argument of ‘seq’, namely ‘(not (K a))’ @@ -128,18 +128,18 @@ Defer01.hs:50:5: warning: [-Wdeferred-type-errors (in -Wdefault)] a :: a (bound at Defer01.hs:39:3) i :: a -> () (bound at Defer01.hs:39:1) (deferred type error) -*** Exception: Defer01.hs:43:5: error: +*** Exception: Defer01.hs:43:5: error: [GHC-39999] • No instance for ‘MyClass a1’ arising from a use of ‘myOp’ • In the expression: myOp 23 In an equation for ‘j’: j = myOp 23 (deferred type error) -<interactive>:16:8: error: +<interactive>:16:8: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘Bool’ arising from a use of ‘k’ • In the first argument of ‘print’, namely ‘(k 2)’ In the expression: print (k 2) In an equation for ‘it’: it = print (k 2) -*** Exception: Defer01.hs:50:5: error: +*** Exception: Defer01.hs:50:5: error: [GHC-83865] • Couldn't match expected type: IO a0 with actual type: Char -> IO () • Probable cause: ‘putChar’ is applied to too few arguments diff --git a/testsuite/tests/ghci/scripts/StaticPtr.stderr b/testsuite/tests/ghci/scripts/StaticPtr.stderr index b45f64e64d..7975283219 100644 --- a/testsuite/tests/ghci/scripts/StaticPtr.stderr +++ b/testsuite/tests/ghci/scripts/StaticPtr.stderr @@ -1,3 +1,3 @@ -<interactive>: warning: +<interactive>: warning: [GHC-77799] StaticPointers is not supported in GHCi interactive expressions. diff --git a/testsuite/tests/ghci/scripts/T10248.stderr b/testsuite/tests/ghci/scripts/T10248.stderr index b9cf45a8f6..8f5ca0ad08 100644 --- a/testsuite/tests/ghci/scripts/T10248.stderr +++ b/testsuite/tests/ghci/scripts/T10248.stderr @@ -1,5 +1,5 @@ -<interactive>:2:10: error: +<interactive>:2:10: error: [GHC-88464] • Found hole: _ :: f a Where: ‘f’, ‘a’ are rigid type variables bound by the inferred type of it :: Functor f => f (Maybe a) diff --git a/testsuite/tests/ghci/scripts/T10249.stderr b/testsuite/tests/ghci/scripts/T10249.stderr index b7e3e07a89..66f0c21987 100644 --- a/testsuite/tests/ghci/scripts/T10249.stderr +++ b/testsuite/tests/ghci/scripts/T10249.stderr @@ -1,5 +1,5 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-88464] • Found hole: _ :: p Where: ‘p’ is a rigid type variable bound by the inferred type of it :: p diff --git a/testsuite/tests/ghci/scripts/T10508.stderr b/testsuite/tests/ghci/scripts/T10508.stderr index 89392b3ea8..815f6681d2 100644 --- a/testsuite/tests/ghci/scripts/T10508.stderr +++ b/testsuite/tests/ghci/scripts/T10508.stderr @@ -1,5 +1,5 @@ -<interactive>:1:15: error: +<interactive>:1:15: error: [GHC-83865] • Couldn't match type: a0 -> a0 with: [Char] Expected: Prelude.String diff --git a/testsuite/tests/ghci/scripts/T10963.stderr b/testsuite/tests/ghci/scripts/T10963.stderr index c02729750c..3738fc16cc 100644 --- a/testsuite/tests/ghci/scripts/T10963.stderr +++ b/testsuite/tests/ghci/scripts/T10963.stderr @@ -1,5 +1,5 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘foo’ prevents the constraint ‘(Num a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/ghci/scripts/T11606.stderr b/testsuite/tests/ghci/scripts/T11606.stderr index bbfb7406c6..3b75f00ea8 100644 --- a/testsuite/tests/ghci/scripts/T11606.stderr +++ b/testsuite/tests/ghci/scripts/T11606.stderr @@ -1,12 +1,12 @@ -<interactive>:3:1: warning: [-Wname-shadowing (in -Wall)] +<interactive>:3:1: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘x’ shadows the existing binding defined at <interactive>:2:1 -<interactive>:4:1: warning: [-Wname-shadowing (in -Wall)] +<interactive>:4:1: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘x’ shadows the existing binding defined at <interactive>:3:1 -<interactive>:5:5: warning: [-Wname-shadowing (in -Wall)] +<interactive>:5:5: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘x’ shadows the existing binding defined at <interactive>:4:1 diff --git a/testsuite/tests/ghci/scripts/T13202.stderr b/testsuite/tests/ghci/scripts/T13202.stderr index 33c1945089..aa130f2d8d 100644 --- a/testsuite/tests/ghci/scripts/T13202.stderr +++ b/testsuite/tests/ghci/scripts/T13202.stderr @@ -1,5 +1,5 @@ -<interactive>:6:22: error: +<interactive>:6:22: error: [GHC-95781] • Cannot apply expression of type ‘TypeRep a0’ to a visible type argument ‘(Maybe Int#)’ • In the first argument of ‘typeRepKind’, namely diff --git a/testsuite/tests/ghci/scripts/T13202a.stderr b/testsuite/tests/ghci/scripts/T13202a.stderr index a2a6704432..880c9b03ec 100644 --- a/testsuite/tests/ghci/scripts/T13202a.stderr +++ b/testsuite/tests/ghci/scripts/T13202a.stderr @@ -1,5 +1,5 @@ -<interactive>:4:5: error: +<interactive>:4:5: error: [GHC-80003] • Non type-variable argument in the constraint: HasField "name" r a • When checking the inferred type foo :: forall {r} {a}. HasField "name" r a => r -> a diff --git a/testsuite/tests/ghci/scripts/T13466.stderr b/testsuite/tests/ghci/scripts/T13466.stderr index a31acf385b..638f26d295 100644 --- a/testsuite/tests/ghci/scripts/T13466.stderr +++ b/testsuite/tests/ghci/scripts/T13466.stderr @@ -1,2 +1,3 @@ -<interactive>:1:1: error: Variable not in scope: out_of_scope +<interactive>:1:1: error: [GHC-88464] + Variable not in scope: out_of_scope diff --git a/testsuite/tests/ghci/scripts/T14969.stderr b/testsuite/tests/ghci/scripts/T14969.stderr index b44c578b20..0dec7620b6 100644 --- a/testsuite/tests/ghci/scripts/T14969.stderr +++ b/testsuite/tests/ghci/scripts/T14969.stderr @@ -1,5 +1,5 @@ -<interactive>:2:1: error: +<interactive>:2:1: error: [GHC-80003] • Non type-variable argument in the constraint: Num (t2 -> t1 -> t3) • When checking the inferred type diff --git a/testsuite/tests/ghci/scripts/T15259.stderr b/testsuite/tests/ghci/scripts/T15259.stderr index 29a04a6487..c205f77b7b 100644 --- a/testsuite/tests/ghci/scripts/T15259.stderr +++ b/testsuite/tests/ghci/scripts/T15259.stderr @@ -1,2 +1,2 @@ -<interactive>:3:5: error: Variable not in scope: a +<interactive>:3:5: error: [GHC-88464] Variable not in scope: a diff --git a/testsuite/tests/ghci/scripts/T15325.stderr b/testsuite/tests/ghci/scripts/T15325.stderr index e7c6c8fc67..15b28426c2 100644 --- a/testsuite/tests/ghci/scripts/T15325.stderr +++ b/testsuite/tests/ghci/scripts/T15325.stderr @@ -1,10 +1,10 @@ -T15325.hs:11:7: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15325.hs:11:7: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • No instance for ‘PolyList e0’ arising from a use of ‘f’ • In the expression: f 0 In an equation for ‘plh’: plh = f 0 -T15325.hs:11:9: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15325.hs:11:9: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Ambiguous type variable ‘e0’ arising from the literal ‘0’ prevents the constraint ‘(Num e0)’ from being solved. Probable fix: use a type annotation to specify what ‘e0’ should be. @@ -17,7 +17,7 @@ T15325.hs:11:9: warning: [-Wdeferred-type-errors (in -Wdefault)] • In the first argument of ‘f’, namely ‘0’ In the expression: f 0 In an equation for ‘plh’: plh = f 0 -*** Exception: T15325.hs:11:7: error: +*** Exception: T15325.hs:11:7: error: [GHC-39999] • No instance for ‘PolyList e0’ arising from a use of ‘f’ • In the expression: f 0 In an equation for ‘plh’: plh = f 0 diff --git a/testsuite/tests/ghci/scripts/T15898.stderr b/testsuite/tests/ghci/scripts/T15898.stderr index aeda5ba5fe..4fd99bbccc 100644 --- a/testsuite/tests/ghci/scripts/T15898.stderr +++ b/testsuite/tests/ghci/scripts/T15898.stderr @@ -1,23 +1,23 @@ -<interactive>:3:14: error: +<interactive>:3:14: error: [GHC-83865] • Expected a type, but ‘'()’ has kind ‘()’ • In an expression type signature: '() In the expression: undefined :: '() In an equation for ‘it’: it = undefined :: '() -<interactive>:4:14: error: +<interactive>:4:14: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Proxy '()’ has kind ‘*’ • In an expression type signature: Proxy '() Int In the expression: undefined :: Proxy '() Int In an equation for ‘it’: it = undefined :: Proxy '() Int -<interactive>:5:14: error: +<interactive>:5:14: error: [GHC-83865] • Expected a type, but ‘[(), ()]’ has kind ‘[*]’ • In an expression type signature: [(), ()] In the expression: undefined :: [(), ()] In an equation for ‘it’: it = undefined :: [(), ()] -<interactive>:6:14: error: +<interactive>:6:14: error: [GHC-83865] • Expected a type, but ‘'( '[], '[])’ has kind ‘([k0], [k1])’ • In an expression type signature: '( '[], '[]) In the expression: undefined :: '( '[], '[]) diff --git a/testsuite/tests/ghci/scripts/T16376.stderr b/testsuite/tests/ghci/scripts/T16376.stderr index 7b34531569..8bf27a8626 100644 --- a/testsuite/tests/ghci/scripts/T16376.stderr +++ b/testsuite/tests/ghci/scripts/T16376.stderr @@ -1,11 +1,11 @@ -<interactive>:1:5: error: +<interactive>:1:5: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ In the expression: id @Maybe -<interactive>:1:5: error: +<interactive>:1:5: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the first argument of ‘Id’, namely ‘Maybe’ diff --git a/testsuite/tests/ghci/scripts/T17549.stderr b/testsuite/tests/ghci/scripts/T17549.stderr index 0abf6916ec..1e635e75da 100644 --- a/testsuite/tests/ghci/scripts/T17549.stderr +++ b/testsuite/tests/ghci/scripts/T17549.stderr @@ -1,3 +1,3 @@ -T17549.hs:1:7: +T17549.hs:1:7: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/ghci/scripts/T19158.stderr b/testsuite/tests/ghci/scripts/T19158.stderr index 9b15a102e8..be11b6d6dc 100644 --- a/testsuite/tests/ghci/scripts/T19158.stderr +++ b/testsuite/tests/ghci/scripts/T19158.stderr @@ -1,5 +1,5 @@ -<interactive>:1:5: error: +<interactive>:1:5: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ diff --git a/testsuite/tests/ghci/scripts/T19197.stderr b/testsuite/tests/ghci/scripts/T19197.stderr index 231ffd4de6..e77ca238cb 100644 --- a/testsuite/tests/ghci/scripts/T19197.stderr +++ b/testsuite/tests/ghci/scripts/T19197.stderr @@ -1,5 +1,5 @@ -<interactive>:1:8: error: +<interactive>:1:8: error: [GHC-83865] • Expected a type, but ‘'()’ has kind ‘()’ • In the kind ‘'()’ In the type ‘(() :: '())’ diff --git a/testsuite/tests/ghci/scripts/T20455.stderr b/testsuite/tests/ghci/scripts/T20455.stderr index 61870da12a..db1df877e3 100644 --- a/testsuite/tests/ghci/scripts/T20455.stderr +++ b/testsuite/tests/ghci/scripts/T20455.stderr @@ -1,5 +1,5 @@ -<interactive>:3:1: error: +<interactive>:3:1: error: [GHC-88464] Variable not in scope: ll Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/ghci/scripts/T21110.stderr b/testsuite/tests/ghci/scripts/T21110.stderr index 931666d072..13fe02def1 100644 --- a/testsuite/tests/ghci/scripts/T21110.stderr +++ b/testsuite/tests/ghci/scripts/T21110.stderr @@ -1,5 +1,5 @@ -<no location info>: warning: [-Wunused-packages] +<no location info>: warning: [GHC-42258] [-Wunused-packages] The following packages were specified via -package or -package-id flags, but were not needed for compilation: - template-haskell-2.19.0.0 (exposed by flag -package template-haskell) diff --git a/testsuite/tests/ghci/scripts/T2182ghci.stderr b/testsuite/tests/ghci/scripts/T2182ghci.stderr index 5d28baef74..a0db48413b 100644 --- a/testsuite/tests/ghci/scripts/T2182ghci.stderr +++ b/testsuite/tests/ghci/scripts/T2182ghci.stderr @@ -1,25 +1,25 @@ -<interactive>:2:1: error: +<interactive>:2:1: error: [GHC-39999] • No instance for ‘Show (p0 -> p0)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it -<interactive>:10:1: error: +<interactive>:10:1: error: [GHC-39999] • No instance for ‘Show (p0 -> p0)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it -<interactive>:19:1: error: +<interactive>:19:1: error: [GHC-39999] • No instance for ‘Show (p0 -> p0)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it -<interactive>:28:1: error: +<interactive>:28:1: error: [GHC-39999] • No instance for ‘Show (p0 -> p0)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it -<interactive>:49:1: error: +<interactive>:49:1: error: [GHC-39999] • No instance for ‘Show (p0 -> p0)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it diff --git a/testsuite/tests/ghci/scripts/T2182ghci2.stderr b/testsuite/tests/ghci/scripts/T2182ghci2.stderr index 8087c00af9..c690fc4074 100644 --- a/testsuite/tests/ghci/scripts/T2182ghci2.stderr +++ b/testsuite/tests/ghci/scripts/T2182ghci2.stderr @@ -1,10 +1,10 @@ -<interactive>:7:1: error: +<interactive>:7:1: error: [GHC-39999] • No instance for ‘GHC.Show.Show Float’ arising from a use of ‘System.IO.print’ • In a stmt of an interactive GHCi command: System.IO.print it -<interactive>:15:1: error: +<interactive>:15:1: error: [GHC-39999] • No instance for ‘GHC.Show.Show Float’ arising from a use of ‘System.IO.print’ • In a stmt of an interactive GHCi command: System.IO.print it diff --git a/testsuite/tests/ghci/scripts/T2452.stderr b/testsuite/tests/ghci/scripts/T2452.stderr index c6f37c6680..05de0373e9 100644 --- a/testsuite/tests/ghci/scripts/T2452.stderr +++ b/testsuite/tests/ghci/scripts/T2452.stderr @@ -1,8 +1,8 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-76037] Not in scope: ‘System.IO.hPutStrLn’ NB: no module named ‘System.IO’ is imported. -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-76037] Not in scope: ‘System.IO.hPutStrLn’ NB: no module named ‘System.IO’ is imported. diff --git a/testsuite/tests/ghci/scripts/T2816.stderr b/testsuite/tests/ghci/scripts/T2816.stderr index e41f25a5d2..45a551f24e 100644 --- a/testsuite/tests/ghci/scripts/T2816.stderr +++ b/testsuite/tests/ghci/scripts/T2816.stderr @@ -1,2 +1,2 @@ -<interactive>:1:1: error: Variable not in scope: α +<interactive>:1:1: error: [GHC-88464] Variable not in scope: α diff --git a/testsuite/tests/ghci/scripts/T3263.stderr b/testsuite/tests/ghci/scripts/T3263.stderr index dd72b3f31b..62bbf0523a 100644 --- a/testsuite/tests/ghci/scripts/T3263.stderr +++ b/testsuite/tests/ghci/scripts/T3263.stderr @@ -1,5 +1,4 @@ -T3263.hs:8:12: warning: [-Wunused-do-bind (in -Wall)] +T3263.hs:8:12: warning: [GHC-81995] [-Wunused-do-bind (in -Wall)] A do-notation statement discarded a result of type ‘Char’ - Suggested fix: - Suppress this warning by saying ‘_ <- getChar’ + Suggested fix: Suppress this warning by saying ‘_ <- getChar’ diff --git a/testsuite/tests/ghci/scripts/T5564.stderr b/testsuite/tests/ghci/scripts/T5564.stderr index 2338e22e03..3b7feeb898 100644 --- a/testsuite/tests/ghci/scripts/T5564.stderr +++ b/testsuite/tests/ghci/scripts/T5564.stderr @@ -1,9 +1,9 @@ -<interactive>:2:1: error: +<interactive>:2:1: error: [GHC-88464] Variable not in scope: git Suggested fix: Perhaps use ‘it’ (line 1) -<interactive>:4:1: error: +<interactive>:4:1: error: [GHC-88464] Variable not in scope: fit Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/ghci/scripts/T6018ghcifail.stderr b/testsuite/tests/ghci/scripts/T6018ghcifail.stderr index 30fbb0529f..af3d7480eb 100644 --- a/testsuite/tests/ghci/scripts/T6018ghcifail.stderr +++ b/testsuite/tests/ghci/scripts/T6018ghcifail.stderr @@ -1,45 +1,45 @@ -<interactive>:10:15: error: +<interactive>:10:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: F Char Bool Int = Int -- Defined at <interactive>:10:15 F Bool Int Char = Int -- Defined at <interactive>:11:15 -<interactive>:16:15: error: +<interactive>:16:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: I Int Char Bool = Bool -- Defined at <interactive>:16:15 I Int Int Int = Bool -- Defined at <interactive>:17:15 -<interactive>:26:15: error: +<interactive>:26:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: IdProxy a = Id a -- Defined at <interactive>:26:15 -<interactive>:34:15: error: +<interactive>:34:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘'Z’ P 'Z m = m -- Defined at <interactive>:34:15 -<interactive>:40:15: error: +<interactive>:40:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘b’ cannot be inferred from the right-hand side. In the type family equation: J Int b c = Char -- Defined at <interactive>:40:15 -<interactive>:44:15: error: +<interactive>:44:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘n’ cannot be inferred from the right-hand side. In the type family equation: K ('S n) m = 'S m -- Defined at <interactive>:44:15 -<interactive>:49:15: error: +<interactive>:49:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: L a = MaybeSyn a -- Defined at <interactive>:49:15 -<interactive>:55:41: error: +<interactive>:55:41: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k1’ cannot be inferred from the right-hand side. @@ -47,7 +47,7 @@ PolyKindVarsF @{[k1]} @[k2] ('[] @k1) = '[] @k2 -- Defined at <interactive>:55:41 -<interactive>:60:15: error: +<interactive>:60:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k1’ cannot be inferred from the right-hand side. @@ -55,14 +55,14 @@ PolyKindVars @[k1] @[k2] ('[] @k1) = '[] @k2 -- Defined at <interactive>:60:15 -<interactive>:64:15: error: +<interactive>:64:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k’ cannot be inferred from the right-hand side. In the type family equation: forall {k} {a :: k} {b :: k}. Fc @k a b = Int -- Defined at <interactive>:64:15 -<interactive>:68:15: error: +<interactive>:68:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variables ‘k’, ‘a’, ‘b’ cannot be inferred from the right-hand side. @@ -70,54 +70,54 @@ forall {k} {a :: k} {b :: k}. Gc @k a b = Int -- Defined at <interactive>:68:15 -<interactive>:81:15: error: +<interactive>:81:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: F1 [a] = Maybe (GF1 a) -- Defined at <interactive>:81:15 F1 (Maybe a) = Maybe (GF2 a) -- Defined at <interactive>:82:15 -<interactive>:85:15: error: +<interactive>:85:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘[a]’ W1 [a] = a -- Defined at <interactive>:85:15 -<interactive>:88:15: error: +<interactive>:88:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: W2 [a] = W2 a -- Defined at <interactive>:88:15 -<interactive>:92:15: error: +<interactive>:92:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: Z1 [a] = (a, a) -- Defined at <interactive>:92:15 Z1 (Maybe b) = (b, [b]) -- Defined at <interactive>:93:15 -<interactive>:96:15: error: +<interactive>:96:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G1 [a] = [a] -- Defined at <interactive>:96:15 G1 (Maybe b) = [(b, b)] -- Defined at <interactive>:97:15 -<interactive>:100:15: error: +<interactive>:100:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G3 a Int = (a, Int) -- Defined at <interactive>:100:15 G3 a Bool = (Bool, a) -- Defined at <interactive>:101:15 -<interactive>:104:15: error: +<interactive>:104:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘b’ cannot be inferred from the right-hand side. In the type family equation: G4 a b = [a] -- Defined at <interactive>:104:15 -<interactive>:107:15: error: +<interactive>:107:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G5 [a] = [GF1 a] -- Defined at <interactive>:107:15 G5 Int = [Bool] -- Defined at <interactive>:108:15 -<interactive>:111:15: error: +<interactive>:111:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘a’ cannot be inferred from the right-hand side. In the type family equation: diff --git a/testsuite/tests/ghci/scripts/T6018ghcirnfail.stderr b/testsuite/tests/ghci/scripts/T6018ghcirnfail.stderr index 87f5a040b1..96b4dcd95d 100644 --- a/testsuite/tests/ghci/scripts/T6018ghcirnfail.stderr +++ b/testsuite/tests/ghci/scripts/T6018ghcirnfail.stderr @@ -1,63 +1,69 @@ -<interactive>:10:23: +<interactive>:10:23: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -<interactive>:11:24: +<interactive>:11:24: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -<interactive>:12:37: +<interactive>:12:37: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -<interactive>:15:19: +<interactive>:15:19: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:16:20: +<interactive>:16:20: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:19:20: +<interactive>:19:20: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:19:24: +<interactive>:19:24: error: Unknown type variable on the RHS of injectivity condition: a -<interactive>:20:21: +<interactive>:20:21: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:20:25: +<interactive>:20:25: error: Unknown type variable on the RHS of injectivity condition: a -<interactive>:21:35: +<interactive>:21:35: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:21:39: +<interactive>:21:39: error: Unknown type variable on the RHS of injectivity condition: a -<interactive>:24:1: Not in scope: type variable ‘c’ +<interactive>:24:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:25:1: Not in scope: type variable ‘c’ +<interactive>:25:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:26:23: Not in scope: type variable ‘c’ +<interactive>:26:23: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:34:1: Not in scope: type variable ‘c’ +<interactive>:34:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:35:1: Not in scope: type variable ‘c’ +<interactive>:35:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:36:23: Not in scope: type variable ‘c’ +<interactive>:36:23: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:39:33: +<interactive>:39:33: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:42:37: +<interactive>:42:37: error: Unknown type variable on the RHS of injectivity condition: b diff --git a/testsuite/tests/ghci/scripts/T7627b.stderr b/testsuite/tests/ghci/scripts/T7627b.stderr index 87997e7988..f3c83d9cfb 100644 --- a/testsuite/tests/ghci/scripts/T7627b.stderr +++ b/testsuite/tests/ghci/scripts/T7627b.stderr @@ -1,12 +1,12 @@ -<interactive>:1:2: +<interactive>:1:2: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) -<interactive>:1:3: +<interactive>:1:3: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) -<interactive>:1:2: +<interactive>:1:2: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) -<interactive>:1:3: +<interactive>:1:3: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/ghci/scripts/T7873.stderr b/testsuite/tests/ghci/scripts/T7873.stderr index 8ec10322c8..c69f37b516 100644 --- a/testsuite/tests/ghci/scripts/T7873.stderr +++ b/testsuite/tests/ghci/scripts/T7873.stderr @@ -1,2 +1,3 @@ -<interactive>:2:32: error: Not in scope: type variable ‘k’ +<interactive>:2:32: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/ghci/scripts/T8353.stderr b/testsuite/tests/ghci/scripts/T8353.stderr index bf737eb3fb..71fd9de2d5 100644 --- a/testsuite/tests/ghci/scripts/T8353.stderr +++ b/testsuite/tests/ghci/scripts/T8353.stderr @@ -1,10 +1,10 @@ -Defer03.hs:4:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer03.hs:4:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer03.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] +Defer03.hs:7:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘f’: f = _ • Relevant bindings include f :: Int (bound at Defer03.hs:7:1) @@ -20,12 +20,12 @@ Defer03.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at Defer03.hs:1:8-11 (and originally defined in ‘GHC.Enum’)) -Defer03.hs:4:5: error: +Defer03.hs:4:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer03.hs:7:5: error: +Defer03.hs:7:5: error: [GHC-88464] • Found hole: _ :: Int • In an equation for ‘f’: f = _ • Relevant bindings include f :: Int (bound at Defer03.hs:7:1) @@ -41,12 +41,12 @@ Defer03.hs:7:5: error: (imported from ‘Prelude’ at Defer03.hs:1:8-11 (and originally defined in ‘GHC.Enum’)) -Defer03.hs:4:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer03.hs:4:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer03.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] +Defer03.hs:7:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘f’: f = _ • Relevant bindings include f :: Int (bound at Defer03.hs:7:1) @@ -62,12 +62,12 @@ Defer03.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at Defer03.hs:1:8-11 (and originally defined in ‘GHC.Enum’)) -Defer03.hs:4:5: error: +Defer03.hs:4:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer03.hs:7:5: error: +Defer03.hs:7:5: error: [GHC-88464] • Found hole: _ :: Int • In an equation for ‘f’: f = _ • Relevant bindings include f :: Int (bound at Defer03.hs:7:1) @@ -83,12 +83,12 @@ Defer03.hs:7:5: error: (imported from ‘Prelude’ at Defer03.hs:1:8-11 (and originally defined in ‘GHC.Enum’)) -Defer03.hs:4:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer03.hs:4:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer03.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] +Defer03.hs:7:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘f’: f = _ • Relevant bindings include f :: Int (bound at Defer03.hs:7:1) diff --git a/testsuite/tests/ghci/scripts/T8485.stderr b/testsuite/tests/ghci/scripts/T8485.stderr index 8d77f82eaa..9746327c39 100644 --- a/testsuite/tests/ghci/scripts/T8485.stderr +++ b/testsuite/tests/ghci/scripts/T8485.stderr @@ -1,5 +1,5 @@ -<interactive>:2:11: error: +<interactive>:2:11: error: [GHC-44432] The role annotation for ‘X’ lacks an accompanying binding Suggested fix: Move the role annotation to the declaration site of ‘X’. diff --git a/testsuite/tests/ghci/scripts/T8639.stderr b/testsuite/tests/ghci/scripts/T8639.stderr index 9764bcdf67..be69a84d9e 100644 --- a/testsuite/tests/ghci/scripts/T8639.stderr +++ b/testsuite/tests/ghci/scripts/T8639.stderr @@ -1,5 +1,5 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-76037] Not in scope: ‘H.bit’ NB: no module named ‘H’ is imported. Suggested fix: Perhaps use ‘Q.bit’ (imported from T8639) diff --git a/testsuite/tests/ghci/scripts/T8649.stderr b/testsuite/tests/ghci/scripts/T8649.stderr index 96afa36a54..19edacbc18 100644 --- a/testsuite/tests/ghci/scripts/T8649.stderr +++ b/testsuite/tests/ghci/scripts/T8649.stderr @@ -1,5 +1,5 @@ -<interactive>:4:4: error: +<interactive>:4:4: error: [GHC-83865] • Couldn't match expected type ‘Ghci1.X’ with actual type ‘X’ NB: ‘Ghci1.X’ is defined at <interactive>:1:1-14 ‘X’ is defined at <interactive>:3:1-25 diff --git a/testsuite/tests/ghci/scripts/T8959.stderr b/testsuite/tests/ghci/scripts/T8959.stderr index fae95f7327..02f3215961 100644 --- a/testsuite/tests/ghci/scripts/T8959.stderr +++ b/testsuite/tests/ghci/scripts/T8959.stderr @@ -1,21 +1,21 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-66043] Arrow command found where an expression was expected: () >- _ -<interactive>:1:7: error: +<interactive>:1:7: error: [GHC-66043] Arrow command found where an expression was expected: () -< _ -<interactive>:1:13: error: +<interactive>:1:13: error: [GHC-66043] Arrow command found where an expression was expected: () >>- _ -<interactive>:1:20: error: +<interactive>:1:20: error: [GHC-66043] Arrow command found where an expression was expected: () -<< () -<interactive>:8:15: error: +<interactive>:8:15: error: [GHC-83865] • Couldn't match expected type ‘()’ with actual type ‘Bool’ • In the pattern: True In a stmt of a pattern guard for @@ -23,23 +23,23 @@ True <- () In an equation for ‘fun’: fun foo | True <- () = () -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-66043] Arrow command found where an expression was expected: () ⤚ _ -<interactive>:1:7: error: +<interactive>:1:7: error: [GHC-66043] Arrow command found where an expression was expected: () ⤙ _ -<interactive>:1:13: error: +<interactive>:1:13: error: [GHC-66043] Arrow command found where an expression was expected: () ⤜ _ -<interactive>:1:20: error: +<interactive>:1:20: error: [GHC-66043] Arrow command found where an expression was expected: () ⤛ () -<interactive>:15:15: error: +<interactive>:15:15: error: [GHC-83865] • Couldn't match expected type ‘()’ with actual type ‘Bool’ • In the pattern: True In a stmt of a pattern guard for @@ -47,23 +47,23 @@ True ← () In an equation for ‘fun’: fun foo | True ← () = () -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-66043] Arrow command found where an expression was expected: () >- _ -<interactive>:1:7: error: +<interactive>:1:7: error: [GHC-66043] Arrow command found where an expression was expected: () -< _ -<interactive>:1:13: error: +<interactive>:1:13: error: [GHC-66043] Arrow command found where an expression was expected: () >>- _ -<interactive>:1:20: error: +<interactive>:1:20: error: [GHC-66043] Arrow command found where an expression was expected: () -<< () -<interactive>:22:15: error: +<interactive>:22:15: error: [GHC-83865] • Couldn't match expected type ‘()’ with actual type ‘Bool’ • In the pattern: True In a stmt of a pattern guard for diff --git a/testsuite/tests/ghci/scripts/T8959b.stderr b/testsuite/tests/ghci/scripts/T8959b.stderr index 971261ba40..7878b4c15c 100644 --- a/testsuite/tests/ghci/scripts/T8959b.stderr +++ b/testsuite/tests/ghci/scripts/T8959b.stderr @@ -1,15 +1,15 @@ -T8959b.hs:5:7: error: +T8959b.hs:5:7: error: [GHC-83865] • Couldn't match expected type ‘Int → Int’ with actual type ‘()’ • In the expression: () In an equation for ‘foo’: foo = () -T8959b.hs:8:7: error: +T8959b.hs:8:7: error: [GHC-83865] • Couldn't match expected type ‘()’ with actual type ‘t0 → m0 t0’ • In the expression: proc x -> do return ⤙ x In an equation for ‘bar’: bar = proc x -> do return ⤙ x -T8959b.hs:10:7: error: +T8959b.hs:10:7: error: [GHC-83865] • Couldn't match expected type ‘(∀ a. a → a) → a1’ with actual type ‘()’ • In the expression: () ∷ (∀ a. a → a) → a diff --git a/testsuite/tests/ghci/scripts/T9140.stdout b/testsuite/tests/ghci/scripts/T9140.stdout index 584803afbc..dbaa905b6f 100644 --- a/testsuite/tests/ghci/scripts/T9140.stdout +++ b/testsuite/tests/ghci/scripts/T9140.stdout @@ -1,9 +1,9 @@ -<interactive>:2:5: error: +<interactive>:2:5: error: [GHC-20036] You can't mix polymorphic and unlifted bindings: a = (# 1 #) Suggested fix: Add a type signature. -<interactive>:3:5: error: +<interactive>:3:5: error: [GHC-20036] You can't mix polymorphic and unlifted bindings: a = (# 1, 3 #) Suggested fix: Add a type signature. diff --git a/testsuite/tests/ghci/scripts/ghci022.stderr b/testsuite/tests/ghci/scripts/ghci022.stderr index 138460c99f..46376f1ca6 100644 --- a/testsuite/tests/ghci/scripts/ghci022.stderr +++ b/testsuite/tests/ghci/scripts/ghci022.stderr @@ -1,3 +1,3 @@ -ghci022.hs:2:6: +ghci022.hs:2:6: error: [GHC-21231] lexical error in string/character literal at character '\n' diff --git a/testsuite/tests/ghci/scripts/ghci036.stderr b/testsuite/tests/ghci/scripts/ghci036.stderr index 482fac7e62..0f15f7a2a2 100644 --- a/testsuite/tests/ghci/scripts/ghci036.stderr +++ b/testsuite/tests/ghci/scripts/ghci036.stderr @@ -1,18 +1,18 @@ -<interactive>:1:1: error: Variable not in scope: nubBy +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nubBy -<interactive>:1:1: error: Variable not in scope: nub +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nub -<interactive>:1:1: error: Variable not in scope: nubBy +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nubBy -<interactive>:1:1: error: Variable not in scope: nub +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nub -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nub Suggested fix: Perhaps use ‘L.nub’ (imported from Data.List) -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-76037] Not in scope: ‘L.nub’ NB: no module named ‘L’ is imported. -<interactive>:1:1: error: Variable not in scope: nub +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nub diff --git a/testsuite/tests/ghci/scripts/ghci038.stderr b/testsuite/tests/ghci/scripts/ghci038.stderr index ebd699a68f..c5009d2302 100644 --- a/testsuite/tests/ghci/scripts/ghci038.stderr +++ b/testsuite/tests/ghci/scripts/ghci038.stderr @@ -1,4 +1,4 @@ -<interactive>:1:1: error: Variable not in scope: map +<interactive>:1:1: error: [GHC-88464] Variable not in scope: map -<interactive>:1:1: error: Variable not in scope: x +<interactive>:1:1: error: [GHC-88464] Variable not in scope: x diff --git a/testsuite/tests/ghci/scripts/ghci044.stderr b/testsuite/tests/ghci/scripts/ghci044.stderr index 668388dea8..a066fed1f8 100644 --- a/testsuite/tests/ghci/scripts/ghci044.stderr +++ b/testsuite/tests/ghci/scripts/ghci044.stderr @@ -1,5 +1,5 @@ -<interactive>:9:1: error: +<interactive>:9:1: error: [GHC-43085] • Overlapping instances for C [Int] arising from a use of ‘f’ Matching instances: instance [safe] C a => C [a] -- Defined at <interactive>:8:10 diff --git a/testsuite/tests/ghci/scripts/ghci046.stderr b/testsuite/tests/ghci/scripts/ghci046.stderr index e6a2bd0bfd..c31102b152 100644 --- a/testsuite/tests/ghci/scripts/ghci046.stderr +++ b/testsuite/tests/ghci/scripts/ghci046.stderr @@ -1,5 +1,5 @@ -<interactive>:7:15: error: +<interactive>:7:15: error: [GHC-34447] Conflicting family instance declarations: AND HTrue HTrue = HTrue -- Defined at <interactive>:7:15 AND HTrue HTrue = HFalse -- Defined at <interactive>:20:15 diff --git a/testsuite/tests/ghci/scripts/ghci047.stderr b/testsuite/tests/ghci/scripts/ghci047.stderr index 90a9bb7c60..9a4efc1890 100644 --- a/testsuite/tests/ghci/scripts/ghci047.stderr +++ b/testsuite/tests/ghci/scripts/ghci047.stderr @@ -1,12 +1,12 @@ -<interactive>:40:1: error: +<interactive>:40:1: error: [GHC-18872] • Couldn't match type ‘HFalse’ with ‘HTrue’ arising from a use of ‘f’ • In the first argument of ‘($)’, namely ‘f’ In the expression: f $ Baz 'a' In an equation for ‘it’: it = f $ Baz 'a' -<interactive>:41:1: error: +<interactive>:41:1: error: [GHC-18872] • Couldn't match type ‘HFalse’ with ‘HTrue’ arising from a use of ‘f’ • In the first argument of ‘($)’, namely ‘f’ diff --git a/testsuite/tests/ghci/scripts/ghci050.stderr b/testsuite/tests/ghci/scripts/ghci050.stderr index 25a0507199..9e58fcdc50 100644 --- a/testsuite/tests/ghci/scripts/ghci050.stderr +++ b/testsuite/tests/ghci/scripts/ghci050.stderr @@ -1,5 +1,5 @@ -<interactive>:6:49: error: +<interactive>:6:49: error: [GHC-25897] • Couldn't match expected type ‘ListableElem (a, a)’ with actual type ‘a’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/ghci/scripts/ghci051.stderr b/testsuite/tests/ghci/scripts/ghci051.stderr index 9407837580..cbbc9e0539 100644 --- a/testsuite/tests/ghci/scripts/ghci051.stderr +++ b/testsuite/tests/ghci/scripts/ghci051.stderr @@ -1,5 +1,5 @@ -<interactive>:6:9: error: +<interactive>:6:9: error: [GHC-83865] • Couldn't match type ‘T’ with ‘Ghci1.T’ Expected: T' Actual: T diff --git a/testsuite/tests/ghci/scripts/ghci052.stderr b/testsuite/tests/ghci/scripts/ghci052.stderr index 047ab5e966..1cdd559775 100644 --- a/testsuite/tests/ghci/scripts/ghci052.stderr +++ b/testsuite/tests/ghci/scripts/ghci052.stderr @@ -1,5 +1,5 @@ -<interactive>:8:4: error: +<interactive>:8:4: error: [GHC-83865] • Couldn't match expected type ‘Ghci1.Planet’ with actual type ‘Planet’ NB: ‘Ghci1.Planet’ is defined at <interactive>:4:1-37 @@ -8,7 +8,7 @@ In the expression: pn Mercury In an equation for ‘it’: it = pn Mercury -<interactive>:9:4: error: +<interactive>:9:4: error: [GHC-83865] • Couldn't match expected type ‘Ghci1.Planet’ with actual type ‘Planet’ NB: ‘Ghci1.Planet’ is defined at <interactive>:4:1-37 @@ -17,7 +17,7 @@ In the expression: pn Venus In an equation for ‘it’: it = pn Venus -<interactive>:10:4: error: +<interactive>:10:4: error: [GHC-83865] • Couldn't match expected type ‘Ghci1.Planet’ with actual type ‘Planet’ NB: ‘Ghci1.Planet’ is defined at <interactive>:4:1-37 @@ -26,7 +26,7 @@ In the expression: pn Mars In an equation for ‘it’: it = pn Mars -<interactive>:12:44: error: +<interactive>:12:44: error: [GHC-83865] • Couldn't match expected type ‘Planet’ with actual type ‘Ghci1.Planet’ NB: ‘Planet’ is defined at <interactive>:7:1-36 diff --git a/testsuite/tests/ghci/scripts/ghci053.stderr b/testsuite/tests/ghci/scripts/ghci053.stderr index d2cd0a6a68..7cf1a64b88 100644 --- a/testsuite/tests/ghci/scripts/ghci053.stderr +++ b/testsuite/tests/ghci/scripts/ghci053.stderr @@ -1,5 +1,5 @@ -<interactive>:9:12: error: +<interactive>:9:12: error: [GHC-83865] • Couldn't match expected type ‘Ghci1.Planet’ with actual type ‘Planet’ NB: ‘Ghci1.Planet’ is defined at <interactive>:4:1-49 @@ -8,7 +8,7 @@ In the expression: mercury == Mercury In an equation for ‘it’: it = mercury == Mercury -<interactive>:11:10: error: +<interactive>:11:10: error: [GHC-83865] • Couldn't match expected type ‘Planet’ with actual type ‘Ghci1.Planet’ NB: ‘Planet’ is defined at <interactive>:7:1-41 diff --git a/testsuite/tests/ghci/scripts/ghci061.stderr b/testsuite/tests/ghci/scripts/ghci061.stderr index 27dac2cb77..74f701f0e0 100644 --- a/testsuite/tests/ghci/scripts/ghci061.stderr +++ b/testsuite/tests/ghci/scripts/ghci061.stderr @@ -1,5 +1,5 @@ -<interactive>:1:2: error: +<interactive>:1:2: error: [GHC-83865] • Couldn't match type: IO String with: Int -> IO String Expected: [String] -> Int -> IO String @@ -8,7 +8,7 @@ In an equation for ‘_compileParsedExpr’: _compileParsedExpr = (two_args) :: [String] -> Int -> IO String -<interactive>:1:2: error: +<interactive>:1:2: error: [GHC-83865] • Couldn't match type: IO String with: Int -> IO String Expected: [String] -> Int -> IO String diff --git a/testsuite/tests/ghci/scripts/ghci063.stderr b/testsuite/tests/ghci/scripts/ghci063.stderr index cc357499a2..2c3fcd8aeb 100644 --- a/testsuite/tests/ghci/scripts/ghci063.stderr +++ b/testsuite/tests/ghci/scripts/ghci063.stderr @@ -1,2 +1,2 @@ -B.hs:1:1: error: parse error on input ‘***’ +B.hs:1:1: error: [GHC-58481] parse error on input ‘***’ diff --git a/testsuite/tests/ghci/should_fail/T16287.stderr b/testsuite/tests/ghci/should_fail/T16287.stderr index df162c1b1b..cadd4e3d40 100644 --- a/testsuite/tests/ghci/should_fail/T16287.stderr +++ b/testsuite/tests/ghci/should_fail/T16287.stderr @@ -2,7 +2,7 @@ <interactive>:1:1: error: The type synonym ‘F1’ should have 1 argument, but has been given none -<interactive>:1:4: error: +<interactive>:1:4: error: [GHC-91028] • Expected kind ‘forall k. k’, but ‘F2’ has kind ‘k0’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall k. k @@ -12,7 +12,7 @@ <interactive>:1:1: error: The type synonym ‘F1’ should have 1 argument, but has been given none -<interactive>:1:11: error: +<interactive>:1:11: error: [GHC-91028] • Expected kind ‘forall k. k’, but ‘F2’ has kind ‘k0’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall k. k diff --git a/testsuite/tests/ghci/should_run/T15007.stderr b/testsuite/tests/ghci/should_run/T15007.stderr index 4a54f43e89..70967e4d00 100644 --- a/testsuite/tests/ghci/should_run/T15007.stderr +++ b/testsuite/tests/ghci/should_run/T15007.stderr @@ -1,5 +1,5 @@ -<interactive>:3:1: error: +<interactive>:3:1: error: [GHC-88464] • Found hole: _ :: p Where: ‘p’ is a rigid type variable bound by the inferred type of it :: p diff --git a/testsuite/tests/ghci/should_run/T15806.stderr b/testsuite/tests/ghci/should_run/T15806.stderr index 2c9bc177fd..f96c14f20f 100644 --- a/testsuite/tests/ghci/should_run/T15806.stderr +++ b/testsuite/tests/ghci/should_run/T15806.stderr @@ -1,4 +1,4 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-91510] Illegal polymorphic type: forall a. a -> a Suggested fix: Perhaps you intended to use ImpredicativeTypes diff --git a/testsuite/tests/ghci/should_run/T7253.stderr b/testsuite/tests/ghci/should_run/T7253.stderr index 17a3393ac8..5478ad817f 100644 --- a/testsuite/tests/ghci/should_run/T7253.stderr +++ b/testsuite/tests/ghci/should_run/T7253.stderr @@ -1,5 +1,5 @@ -<interactive>:19:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +<interactive>:19:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: FOO <interactive>:61:1: error: diff --git a/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr b/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr index 22dad49b1a..3f194aed68 100644 --- a/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr +++ b/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr @@ -226,14 +226,14 @@ m = undefined -Test.hs:33:9: warning: [-Wduplicate-exports (in -Wdefault)] +Test.hs:33:9: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘p’ is exported by ‘p’ and ‘R(..)’ -Test.hs:33:12: warning: [-Wduplicate-exports (in -Wdefault)] +Test.hs:33:12: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘q’ is exported by ‘q’ and ‘R(..)’ -Test.hs:33:15: warning: [-Wduplicate-exports (in -Wdefault)] +Test.hs:33:15: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘u’ is exported by ‘u’ and ‘R(..)’ -Test.hs:39:9: warning: [-Wduplicate-exports (in -Wdefault)] +Test.hs:39:9: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘a’ is exported by ‘a’ and ‘C(a, b)’ diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/T17544.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/T17544.stderr index de7d9e6f67..82a2640f34 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/T17544.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/T17544.stderr @@ -2252,20 +2252,20 @@ -T17544.hs:19:1: warning: [-Winvalid-haddock] +T17544.hs:19:1: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -T17544.hs:26:6: warning: [-Winvalid-haddock] +T17544.hs:26:6: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -T17544.hs:32:5: warning: [-Winvalid-haddock] +T17544.hs:32:5: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -T17544.hs:38:4: warning: [-Winvalid-haddock] +T17544.hs:38:4: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -T17544.hs:44:3: warning: [-Winvalid-haddock] +T17544.hs:44:3: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -T17544.hs:50:2: warning: [-Winvalid-haddock] +T17544.hs:50:2: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr index 2591afcbce..383507dd06 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr @@ -9,5 +9,5 @@ data F -T8944.hs:4:1: warning: [-Winvalid-haddock] +T8944.hs:4:1: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr index 010ec9c069..24bea15449 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr @@ -9,11 +9,11 @@ main -haddockA022.hs:4:5: warning: [-Winvalid-haddock] +haddockA022.hs:4:5: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -haddockA022.hs:6:5: warning: [-Winvalid-haddock] +haddockA022.hs:6:5: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -haddockA022.hs:10:5: warning: [-Winvalid-haddock] +haddockA022.hs:10:5: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA030.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA030.stderr index cd8c2eaa9f..77646a42fb 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA030.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA030.stderr @@ -12,6 +12,6 @@ data A -haddockA030.hs:7:5: warning: [-Winvalid-haddock] +haddockA030.hs:7:5: warning: [GHC-05641] [-Winvalid-haddock] Multiple Haddock comments for a single entity are not allowed. The extraneous comment will be ignored. diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA033.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA033.stderr index e3df0ec16f..33efbbfb2b 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA033.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA033.stderr @@ -10,8 +10,8 @@ f 3 = 6 -haddockA033.hs:5:1: warning: [-Winvalid-haddock] +haddockA033.hs:5:1: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -haddockA033.hs:7:1: warning: [-Winvalid-haddock] +haddockA033.hs:7:1: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockExtraDocs.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/haddockExtraDocs.stderr index b1e6cb5565..e263fe60e5 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/haddockExtraDocs.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockExtraDocs.stderr @@ -1,16 +1,16 @@ -haddockExtraDocs.hs:9:5: warning: [-Winvalid-haddock] +haddockExtraDocs.hs:9:5: warning: [GHC-05641] [-Winvalid-haddock] Multiple Haddock comments for a single entity are not allowed. The extraneous comment will be ignored. -haddockExtraDocs.hs:15:5: warning: [-Winvalid-haddock] +haddockExtraDocs.hs:15:5: warning: [GHC-05641] [-Winvalid-haddock] Multiple Haddock comments for a single entity are not allowed. The extraneous comment will be ignored. -haddockExtraDocs.hs:20:3: warning: [-Winvalid-haddock] +haddockExtraDocs.hs:20:3: warning: [GHC-05641] [-Winvalid-haddock] Multiple Haddock comments for a single entity are not allowed. The extraneous comment will be ignored. -haddockExtraDocs.hs:25:3: warning: [-Winvalid-haddock] +haddockExtraDocs.hs:25:3: warning: [GHC-05641] [-Winvalid-haddock] Multiple Haddock comments for a single entity are not allowed. The extraneous comment will be ignored. diff --git a/testsuite/tests/haddock/should_compile_noflag_haddock/haddockSimplUtilsBug.stderr b/testsuite/tests/haddock/should_compile_noflag_haddock/haddockSimplUtilsBug.stderr index 2d3393b249..64bfed9416 100644 --- a/testsuite/tests/haddock/should_compile_noflag_haddock/haddockSimplUtilsBug.stderr +++ b/testsuite/tests/haddock/should_compile_noflag_haddock/haddockSimplUtilsBug.stderr @@ -1,4 +1,4 @@ -haddockSimplUtilsBug.hs:28:7: warning: [-Woverlapping-patterns (in -Wdefault)] +haddockSimplUtilsBug.hs:28:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: _ -> ... diff --git a/testsuite/tests/impredicative/T17332.stderr b/testsuite/tests/impredicative/T17332.stderr index 2cff6c433d..5fb876b8c5 100644 --- a/testsuite/tests/impredicative/T17332.stderr +++ b/testsuite/tests/impredicative/T17332.stderr @@ -1,5 +1,5 @@ -T17332.hs:13:7: error: +T17332.hs:13:7: error: [GHC-05617] • Could not solve: ‘a’ arising from a use of ‘MkDict’ • In the expression: MkDict In an equation for ‘aux’: aux = MkDict diff --git a/testsuite/tests/impredicative/icfp20-fail.stderr b/testsuite/tests/impredicative/icfp20-fail.stderr index ebe54ba6e3..a2fb0cad24 100644 --- a/testsuite/tests/impredicative/icfp20-fail.stderr +++ b/testsuite/tests/impredicative/icfp20-fail.stderr @@ -1,5 +1,5 @@ -icfp20-fail.hs:20:10: error: +icfp20-fail.hs:20:10: error: [GHC-83865] • Couldn't match type: forall a. a -> a with: b -> b Expected: SId -> b -> b @@ -9,7 +9,7 @@ icfp20-fail.hs:20:10: error: • Relevant bindings include auto'1 :: SId -> b -> b (bound at icfp20-fail.hs:20:1) -icfp20-fail.hs:23:9: error: +icfp20-fail.hs:23:9: error: [GHC-91028] • Couldn't match expected type ‘a’ with actual type ‘SId -> b0 -> b0’ Cannot equate type variable ‘a’ @@ -22,7 +22,7 @@ icfp20-fail.hs:23:9: error: In an equation for ‘a6’: a6 = id auto'2 • Relevant bindings include a6 :: a (bound at icfp20-fail.hs:23:1) -icfp20-fail.hs:26:16: error: +icfp20-fail.hs:26:16: error: [GHC-83865] • Couldn't match type ‘SId’ with ‘b -> b’ Expected: (b -> b) -> b -> b Actual: SId -> b -> b @@ -32,7 +32,7 @@ icfp20-fail.hs:26:16: error: • Relevant bindings include a8 :: (b -> b) -> b -> b (bound at icfp20-fail.hs:26:1) -icfp20-fail.hs:30:12: error: +icfp20-fail.hs:30:12: error: [GHC-83865] • Couldn't match type: forall s. ST s a with: ST s0 a Expected: ST s0 a -> a diff --git a/testsuite/tests/indexed-types/should_compile/GivenCheck.stderr b/testsuite/tests/indexed-types/should_compile/GivenCheck.stderr index 8f50bf5058..1adc5ac140 100644 --- a/testsuite/tests/indexed-types/should_compile/GivenCheck.stderr +++ b/testsuite/tests/indexed-types/should_compile/GivenCheck.stderr @@ -1,4 +1,4 @@ -GivenCheck.hs:11:9: warning: [-Woverlapping-patterns (in -Wdefault)] +GivenCheck.hs:11:9: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g y | False = ... diff --git a/testsuite/tests/indexed-types/should_compile/GivenCheckSwap.stderr b/testsuite/tests/indexed-types/should_compile/GivenCheckSwap.stderr index 2ef17fd6d9..8b91fb04c4 100644 --- a/testsuite/tests/indexed-types/should_compile/GivenCheckSwap.stderr +++ b/testsuite/tests/indexed-types/should_compile/GivenCheckSwap.stderr @@ -1,4 +1,4 @@ -GivenCheckSwap.hs:11:9: warning: [-Woverlapping-patterns (in -Wdefault)] +GivenCheckSwap.hs:11:9: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g y | False = ... diff --git a/testsuite/tests/indexed-types/should_compile/PushedInAsGivens.stderr b/testsuite/tests/indexed-types/should_compile/PushedInAsGivens.stderr index 1a11c1f996..2589c03f71 100644 --- a/testsuite/tests/indexed-types/should_compile/PushedInAsGivens.stderr +++ b/testsuite/tests/indexed-types/should_compile/PushedInAsGivens.stderr @@ -1,11 +1,11 @@ -PushedInAsGivens.hs:10:31: error: +PushedInAsGivens.hs:10:31: error: [GHC-46956] • Couldn't match expected type ‘a’ with actual type ‘a0’ - because type variable ‘a’ would escape its scope - This (rigid, skolem) type variable is bound by - the type signature for: - foo :: forall a. (F Int ~ [a]) => a -> Int - at PushedInAsGivens.hs:9:13-44 + • because type variable ‘a’ would escape its scope + This (rigid, skolem) type variable is bound by + the type signature for: + foo :: forall a. (F Int ~ [a]) => a -> Int + at PushedInAsGivens.hs:9:13-44 • In the expression: y In the first argument of ‘length’, namely ‘[x, y]’ In the expression: length [x, y] @@ -15,7 +15,7 @@ PushedInAsGivens.hs:10:31: error: y :: a0 (bound at PushedInAsGivens.hs:9:5) bar :: a0 -> (a0, Int) (bound at PushedInAsGivens.hs:9:1) -PushedInAsGivens.hs:11:15: error: +PushedInAsGivens.hs:11:15: error: [GHC-18872] • Couldn't match type: F Int with: [a0] arising from a use of ‘foo’ diff --git a/testsuite/tests/indexed-types/should_compile/Simple14.stderr b/testsuite/tests/indexed-types/should_compile/Simple14.stderr index c9c83b6434..50a708440f 100644 --- a/testsuite/tests/indexed-types/should_compile/Simple14.stderr +++ b/testsuite/tests/indexed-types/should_compile/Simple14.stderr @@ -1,17 +1,12 @@ -Simple14.hs:22:27: error: +Simple14.hs:22:27: error: [GHC-83865] • Couldn't match type ‘z0’ with ‘n’ Expected: EQ_ z0 z0 Actual: EQ_ m n - • ‘z0’ is untouchable - inside the constraints: Maybe m ~ Maybe n - bound by a type expected by the context: - (Maybe m ~ Maybe n) => EQ_ z0 z0 - at Simple14.hs:22:26-41 - ‘n’ is a rigid type variable bound by - the type signature for: - foo :: forall m n. EQ_ (Maybe m) (Maybe n) - at Simple14.hs:21:1-42 + ‘n’ is a rigid type variable bound by + the type signature for: + foo :: forall m n. EQ_ (Maybe m) (Maybe n) + at Simple14.hs:21:1-42 • In the second argument of ‘eqE’, namely ‘(eqI :: EQ_ m n)’ In the expression: x `eqE` (eqI :: EQ_ m n) In the first argument of ‘ntI’, namely diff --git a/testsuite/tests/indexed-types/should_compile/Simple2.stderr b/testsuite/tests/indexed-types/should_compile/Simple2.stderr index 8c1235ffc7..70d825dbf6 100644 --- a/testsuite/tests/indexed-types/should_compile/Simple2.stderr +++ b/testsuite/tests/indexed-types/should_compile/Simple2.stderr @@ -1,5 +1,5 @@ -Simple2.hs:21:1: warning: [-Wmissing-methods (in -Wdefault)] +Simple2.hs:21:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘S3n’ • In the instance declaration for ‘C3 Char’ @@ -8,7 +8,7 @@ Simple2.hs:21:10: warning: [-Wmissing-methods (in -Wdefault)] ‘foo3n’ and ‘bar3n’ • In the instance declaration for ‘C3 Char’ -Simple2.hs:29:1: warning: [-Wmissing-methods (in -Wdefault)] +Simple2.hs:29:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘S3n’ • In the instance declaration for ‘C3 Bool’ @@ -17,11 +17,11 @@ Simple2.hs:29:10: warning: [-Wmissing-methods (in -Wdefault)] ‘foo3n’ and ‘bar3n’ • In the instance declaration for ‘C3 Bool’ -Simple2.hs:39:1: warning: [-Wmissing-methods (in -Wdefault)] +Simple2.hs:39:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘S3n’ • In the instance declaration for ‘C3 Float’ -Simple2.hs:39:1: warning: [-Wmissing-methods (in -Wdefault)] +Simple2.hs:39:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘S3’ • In the instance declaration for ‘C3 Float’ diff --git a/testsuite/tests/indexed-types/should_compile/T10806.stderr b/testsuite/tests/indexed-types/should_compile/T10806.stderr index 96284e6c75..e718787275 100644 --- a/testsuite/tests/indexed-types/should_compile/T10806.stderr +++ b/testsuite/tests/indexed-types/should_compile/T10806.stderr @@ -1,5 +1,5 @@ -T10806.hs:11:32: error: +T10806.hs:11:32: error: [GHC-83865] • Couldn't match expected type: Char -> Bool with actual type: IO () • The function ‘print’ is applied to two value arguments, diff --git a/testsuite/tests/indexed-types/should_compile/T12538.stderr b/testsuite/tests/indexed-types/should_compile/T12538.stderr index f4dcb4392b..fc9fcda2d4 100644 --- a/testsuite/tests/indexed-types/should_compile/T12538.stderr +++ b/testsuite/tests/indexed-types/should_compile/T12538.stderr @@ -1,5 +1,5 @@ -T12538.hs:37:8: error: +T12538.hs:37:8: error: [GHC-25897] • Could not deduce ‘a' ~ Tagged Int a’ from the context: (TagImpl a a', b ~ DF a') bound by the instance declaration at T12538.hs:36:10-46 diff --git a/testsuite/tests/indexed-types/should_compile/T15322a.stderr b/testsuite/tests/indexed-types/should_compile/T15322a.stderr index d6e483f7d3..696a23effc 100644 --- a/testsuite/tests/indexed-types/should_compile/T15322a.stderr +++ b/testsuite/tests/indexed-types/should_compile/T15322a.stderr @@ -1,5 +1,5 @@ -T15322a.hs:12:7: error: +T15322a.hs:12:7: error: [GHC-39999] • Could not deduce ‘KnownNat (n + 1)’ arising from a use of ‘typeRep’ from the context: KnownNat n diff --git a/testsuite/tests/indexed-types/should_compile/T19336.stderr b/testsuite/tests/indexed-types/should_compile/T19336.stderr index f841f79628..d4ecc690a3 100644 --- a/testsuite/tests/indexed-types/should_compile/T19336.stderr +++ b/testsuite/tests/indexed-types/should_compile/T19336.stderr @@ -1,4 +1,4 @@ -T19336.hs:43:1: warning: [-Wmissing-signatures (in -Wall)] +T19336.hs:43:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: oops :: (X a (F a), Poly a) => a -> F a diff --git a/testsuite/tests/indexed-types/should_compile/T3023.stderr b/testsuite/tests/indexed-types/should_compile/T3023.stderr index 95fee97355..2a51c7df64 100644 --- a/testsuite/tests/indexed-types/should_compile/T3023.stderr +++ b/testsuite/tests/indexed-types/should_compile/T3023.stderr @@ -1,3 +1,3 @@ -T3023.hs:18:1: warning: [-Wmissing-signatures (in -Wall)] +T3023.hs:18:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: bar :: Bool -> Bool diff --git a/testsuite/tests/indexed-types/should_compile/T3208b.stderr b/testsuite/tests/indexed-types/should_compile/T3208b.stderr index c9c1be88b6..45a3b9b74c 100644 --- a/testsuite/tests/indexed-types/should_compile/T3208b.stderr +++ b/testsuite/tests/indexed-types/should_compile/T3208b.stderr @@ -1,5 +1,5 @@ -T3208b.hs:15:10: error: +T3208b.hs:15:10: error: [GHC-05617] • Could not deduce ‘OTerm o0 ~ STerm a’ arising from a use of ‘fce’ from the context: (OTerm a ~ STerm a, OBJECT a, SUBST a) bound by the type signature for: @@ -14,7 +14,7 @@ T3208b.hs:15:10: error: f :: a (bound at T3208b.hs:15:6) fce' :: a -> c (bound at T3208b.hs:15:1) -T3208b.hs:15:15: error: +T3208b.hs:15:15: error: [GHC-05617] • Could not deduce ‘STerm o0 ~ STerm a’ arising from a use of ‘apply’ from the context: (OTerm a ~ STerm a, OBJECT a, SUBST a) diff --git a/testsuite/tests/indexed-types/should_compile/T8889.stderr b/testsuite/tests/indexed-types/should_compile/T8889.stderr index 551ced73a0..4b0e380dd9 100644 --- a/testsuite/tests/indexed-types/should_compile/T8889.stderr +++ b/testsuite/tests/indexed-types/should_compile/T8889.stderr @@ -1,4 +1,4 @@ -T8889.hs:12:1: warning: [-Wmissing-signatures (in -Wall)] +T8889.hs:12:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: f :: (C_fmap f a, C f) => (a -> b) -> f a -> f b diff --git a/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr b/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr index cdd7206f41..a81eb065b6 100644 --- a/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr +++ b/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr @@ -1,5 +1,5 @@ -DerivUnsatFam.hs:8:1: error: +DerivUnsatFam.hs:8:1: error: [GHC-82614] • Can't make a derived instance of ‘Functor T’: No family instance for ‘T’ • In the stand-alone deriving instance for ‘Functor T’ diff --git a/testsuite/tests/indexed-types/should_fail/ExpandTFs.stderr b/testsuite/tests/indexed-types/should_fail/ExpandTFs.stderr index ff2daf734f..bee1dbc87d 100644 --- a/testsuite/tests/indexed-types/should_fail/ExpandTFs.stderr +++ b/testsuite/tests/indexed-types/should_fail/ExpandTFs.stderr @@ -1,5 +1,5 @@ -ExpandTFs.hs:9:52: error: +ExpandTFs.hs:9:52: error: [GHC-83865] • Couldn't match kind ‘()’ with ‘Maybe String’ Expected kind ‘Maybe (Foo Int)’, but ‘'()’ has kind ‘()’ • In the type ‘'()’ diff --git a/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams3.stderr b/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams3.stderr index 92e0b1df64..91c4ac9372 100644 --- a/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams3.stderr +++ b/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams3.stderr @@ -1,17 +1,18 @@ -ExplicitForAllFams3.hs:7:28: error: Not in scope: type variable ‘b’ +ExplicitForAllFams3.hs:7:28: error: [GHC-76037] + Not in scope: type variable ‘b’ -ExplicitForAllFams3.hs:10:33: error: +ExplicitForAllFams3.hs:10:33: error: [GHC-76037] Not in scope: type variable ‘b’ -ExplicitForAllFams3.hs:13:33: error: +ExplicitForAllFams3.hs:13:33: error: [GHC-76037] Not in scope: type variable ‘b’ -ExplicitForAllFams3.hs:16:36: error: +ExplicitForAllFams3.hs:16:36: error: [GHC-76037] Not in scope: type variable ‘b’ -ExplicitForAllFams3.hs:22:34: error: +ExplicitForAllFams3.hs:22:34: error: [GHC-76037] Not in scope: type variable ‘b’ -ExplicitForAllFams3.hs:23:34: error: +ExplicitForAllFams3.hs:23:34: error: [GHC-76037] Not in scope: type variable ‘b’ diff --git a/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams4b.stderr b/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams4b.stderr index c12678c32a..320592e8bb 100644 --- a/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams4b.stderr +++ b/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams4b.stderr @@ -4,7 +4,7 @@ ExplicitForAllFams4b.hs:8:24: error: but not used in the family instance • In the type instance declaration for ‘J’ -ExplicitForAllFams4b.hs:8:27: error: +ExplicitForAllFams4b.hs:8:27: error: [GHC-34447] Conflicting family instance declarations: J [a] = Float -- Defined at ExplicitForAllFams4b.hs:8:27 J _ = Maybe b -- Defined at ExplicitForAllFams4b.hs:9:27 @@ -19,7 +19,7 @@ ExplicitForAllFams4b.hs:12:24: error: but not bound on the LHS of the family instance • In the data instance declaration for ‘K’ -ExplicitForAllFams4b.hs:12:27: error: +ExplicitForAllFams4b.hs:12:27: error: [GHC-34447] Conflicting family instance declarations: K (a, Bool) -- Defined at ExplicitForAllFams4b.hs:12:27 K _ -- Defined at ExplicitForAllFams4b.hs:13:27 @@ -34,7 +34,7 @@ ExplicitForAllFams4b.hs:16:27: error: but not bound on the LHS of the family instance • In the newtype instance declaration for ‘L’ -ExplicitForAllFams4b.hs:16:30: error: +ExplicitForAllFams4b.hs:16:30: error: [GHC-34447] Conflicting family instance declarations: L (a, Bool) -- Defined at ExplicitForAllFams4b.hs:16:30 L _ -- Defined at ExplicitForAllFams4b.hs:17:30 diff --git a/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr b/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr index e3ff20d973..6d761cc35d 100644 --- a/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr +++ b/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr @@ -1,5 +1,5 @@ -ExtraTcsUntch.hs:23:18: error: +ExtraTcsUntch.hs:23:18: error: [GHC-83865] • Couldn't match expected type: F Int with actual type: [[a0]] • In the first argument of ‘h’, namely ‘[x]’ @@ -9,7 +9,7 @@ ExtraTcsUntch.hs:23:18: error: x :: [a0] (bound at ExtraTcsUntch.hs:21:3) f :: [a0] -> ((), ((), ())) (bound at ExtraTcsUntch.hs:21:1) -ExtraTcsUntch.hs:25:53: error: +ExtraTcsUntch.hs:25:53: error: [GHC-46956] • Couldn't match type ‘a0’ with ‘a’ arising from a functional dependency between: constraint ‘C [a0] [a]’ arising from a use of ‘op’ diff --git a/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr b/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr index 46d8c43ddc..db54d54e25 100644 --- a/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr +++ b/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr @@ -1,5 +1,5 @@ -GADTwrong1.hs:12:21: error: +GADTwrong1.hs:12:21: error: [GHC-25897] • Couldn't match expected type ‘b’ with actual type ‘c’ ‘c’ is a rigid type variable bound by a pattern with constructor: T :: forall c. c -> T (Const c), diff --git a/testsuite/tests/indexed-types/should_fail/NoGood.stderr b/testsuite/tests/indexed-types/should_fail/NoGood.stderr index c4adb9ae9d..79a4c81b8e 100644 --- a/testsuite/tests/indexed-types/should_fail/NoGood.stderr +++ b/testsuite/tests/indexed-types/should_fail/NoGood.stderr @@ -1,5 +1,5 @@ -NoGood.hs:4:15: +NoGood.hs:4:15: error: [GHC-34447] Conflicting family instance declarations: F a a = Int -- Defined at NoGood.hs:4:15 F [a] a = Bool -- Defined at NoGood.hs:5:15 diff --git a/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr b/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr index 1f155bbea0..fe9520345f 100644 --- a/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr +++ b/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr @@ -1,11 +1,11 @@ -NoMatchErr.hs:19:7: error: +NoMatchErr.hs:19:7: error: [GHC-83865] • Couldn't match type: Memo d0 with: Memo d Expected: Memo d a -> Memo d a Actual: Memo d0 a -> Memo d0 a - NB: ‘Memo’ is a non-injective type family - The type variable ‘d0’ is ambiguous + NB: ‘Memo’ is a non-injective type family + The type variable ‘d0’ is ambiguous • In the ambiguity check for ‘f’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes In the type signature: f :: (Fun d) => Memo d a -> Memo d a diff --git a/testsuite/tests/indexed-types/should_fail/Over.stderr b/testsuite/tests/indexed-types/should_fail/Over.stderr index c53dcb9e06..e8ec20e772 100644 --- a/testsuite/tests/indexed-types/should_fail/Over.stderr +++ b/testsuite/tests/indexed-types/should_fail/Over.stderr @@ -1,10 +1,10 @@ -OverD.hs:1:1: error: +OverD.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: OverA.D [Int] [a] = Int -- Defined in module OverB OverA.D [a] [Int] = Char -- Defined in module OverC -OverD.hs:1:1: error: +OverD.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: C [Int] [a] -- Defined in module OverB C [a] [Int] -- Defined in module OverC diff --git a/testsuite/tests/indexed-types/should_fail/OverDirectThisMod.stderr b/testsuite/tests/indexed-types/should_fail/OverDirectThisMod.stderr index e58159ac60..46b73dad6f 100644 --- a/testsuite/tests/indexed-types/should_fail/OverDirectThisMod.stderr +++ b/testsuite/tests/indexed-types/should_fail/OverDirectThisMod.stderr @@ -1,10 +1,10 @@ -OverDirectThisModC.hs:1:1: error: +OverDirectThisModC.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: D [Int] [a] = Int -- Defined in module OverDirectThisModB D [a] [Int] = Char -- Defined at OverDirectThisModC.hs:12:15 -OverDirectThisModC.hs:1:1: error: +OverDirectThisModC.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: C [Int] [a] -- Defined in module OverDirectThisModB C [a] [Int] -- Defined at OverDirectThisModC.hs:10:15 diff --git a/testsuite/tests/indexed-types/should_fail/OverIndirectThisMod.stderr b/testsuite/tests/indexed-types/should_fail/OverIndirectThisMod.stderr index c413a79038..13bb275c79 100644 --- a/testsuite/tests/indexed-types/should_fail/OverIndirectThisMod.stderr +++ b/testsuite/tests/indexed-types/should_fail/OverIndirectThisMod.stderr @@ -1,10 +1,10 @@ -OverIndirectThisModD.hs:1:1: error: +OverIndirectThisModD.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: D [Int] [a] = Int -- Defined in module OverIndirectThisModB D [a] [Int] = Char -- Defined at OverIndirectThisModD.hs:13:15 -OverIndirectThisModD.hs:1:1: error: +OverIndirectThisModD.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: C [Int] [a] -- Defined in module OverIndirectThisModB C [a] [Int] -- Defined at OverIndirectThisModD.hs:11:15 diff --git a/testsuite/tests/indexed-types/should_fail/Overlap10.stderr b/testsuite/tests/indexed-types/should_fail/Overlap10.stderr index b6ad5772fe..bc20a805b8 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap10.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap10.stderr @@ -1,8 +1,8 @@ -Overlap10.hs:10:7: - Couldn't match expected type ‘F a Bool’ with actual type ‘Bool’ - In the expression: False - In an equation for ‘g’: g x = False - Relevant bindings include - x :: a (bound at Overlap10.hs:10:3) - g :: a -> F a Bool (bound at Overlap10.hs:10:1) +Overlap10.hs:10:7: error: [GHC-83865] + • Couldn't match expected type ‘F a Bool’ with actual type ‘Bool’ + • In the expression: False + In an equation for ‘g’: g x = False + • Relevant bindings include + x :: a (bound at Overlap10.hs:10:3) + g :: a -> F a Bool (bound at Overlap10.hs:10:1) diff --git a/testsuite/tests/indexed-types/should_fail/Overlap11.stderr b/testsuite/tests/indexed-types/should_fail/Overlap11.stderr index f07c35b1b8..240f4f8f44 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap11.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap11.stderr @@ -1,5 +1,5 @@ -Overlap11.hs:10:8: error: +Overlap11.hs:10:8: error: [GHC-83865] • Couldn't match expected type ‘F a Int’ with actual type ‘Int’ • In the expression: 5 :: Int In an equation for ‘g’: g x = (5 :: Int) diff --git a/testsuite/tests/indexed-types/should_fail/Overlap15.stderr b/testsuite/tests/indexed-types/should_fail/Overlap15.stderr index b06751c575..b9a2343411 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap15.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap15.stderr @@ -1,5 +1,5 @@ -Overlap15.hs:16:9: error: +Overlap15.hs:16:9: error: [GHC-83865] • Couldn't match expected type ‘F b [b] Bool’ with actual type ‘Bool’ • In the expression: False diff --git a/testsuite/tests/indexed-types/should_fail/Overlap6.stderr b/testsuite/tests/indexed-types/should_fail/Overlap6.stderr index b1aaea25b1..cf7d1d0591 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap6.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap6.stderr @@ -1,5 +1,5 @@ -Overlap6.hs:15:7: error: +Overlap6.hs:15:7: error: [GHC-25897] • Couldn't match type ‘x’ with ‘And x 'True’ Expected: Proxy (And x 'True) Actual: Proxy x diff --git a/testsuite/tests/indexed-types/should_fail/Overlap9.stderr b/testsuite/tests/indexed-types/should_fail/Overlap9.stderr index 11b73c52f9..ca911b9533 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap9.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap9.stderr @@ -1,8 +1,8 @@ -Overlap9.hs:10:7: - Couldn't match expected type ‘F a’ with actual type ‘Int’ - In the expression: length (show x) - In an equation for ‘g’: g x = length (show x) - Relevant bindings include - x :: a (bound at Overlap9.hs:10:3) - g :: a -> F a (bound at Overlap9.hs:10:1) +Overlap9.hs:10:7: error: [GHC-83865] + • Couldn't match expected type ‘F a’ with actual type ‘Int’ + • In the expression: length (show x) + In an equation for ‘g’: g x = length (show x) + • Relevant bindings include + x :: a (bound at Overlap9.hs:10:3) + g :: a -> F a (bound at Overlap9.hs:10:1) diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail11a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail11a.stderr index 41ed865dfb..026fecb35c 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail11a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail11a.stderr @@ -1,10 +1,10 @@ -SimpleFail11a.hs:6:15: error: +SimpleFail11a.hs:6:15: error: [GHC-34447] Conflicting family instance declarations: C9 Int Int -- Defined at SimpleFail11a.hs:6:15 C9 Int Int -- Defined at SimpleFail11a.hs:8:15 -SimpleFail11a.hs:11:15: error: +SimpleFail11a.hs:11:15: error: [GHC-34447] Conflicting family instance declarations: D9 Int Int = Char -- Defined at SimpleFail11a.hs:11:15 D9 Int Int = Int -- Defined at SimpleFail11a.hs:13:15 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail11b.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail11b.stderr index bd05039dc8..94ad291a19 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail11b.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail11b.stderr @@ -1,10 +1,10 @@ -SimpleFail11b.hs:7:15: error: +SimpleFail11b.hs:7:15: error: [GHC-34447] Conflicting family instance declarations: C9 [a] Int -- Defined at SimpleFail11b.hs:7:15 C9 [a] Int -- Defined at SimpleFail11b.hs:9:15 -SimpleFail11b.hs:13:15: error: +SimpleFail11b.hs:13:15: error: [GHC-34447] Conflicting family instance declarations: D9 [a] Int = [a] -- Defined at SimpleFail11b.hs:13:15 D9 [a] Int = Maybe a -- Defined at SimpleFail11b.hs:15:15 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail11c.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail11c.stderr index cbb457933b..8655beddd5 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail11c.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail11c.stderr @@ -1,10 +1,10 @@ -SimpleFail11c.hs:7:15: error: +SimpleFail11c.hs:7:15: error: [GHC-34447] Conflicting family instance declarations: C9 [a] Int -- Defined at SimpleFail11c.hs:7:15 C9 [Int] Int -- Defined at SimpleFail11c.hs:9:15 -SimpleFail11c.hs:13:15: error: +SimpleFail11c.hs:13:15: error: [GHC-34447] Conflicting family instance declarations: D9 [a] Int = [a] -- Defined at SimpleFail11c.hs:13:15 D9 [Int] Int = [Bool] -- Defined at SimpleFail11c.hs:15:15 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail11d.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail11d.stderr index 48d3c33fef..13c1af8aa2 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail11d.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail11d.stderr @@ -1,5 +1,5 @@ -SimpleFail11d.hs:8:15: error: +SimpleFail11d.hs:8:15: error: [GHC-34447] Conflicting family instance declarations: C9 [Int] [a] -- Defined at SimpleFail11d.hs:8:15 C9 [a] [Int] -- Defined at SimpleFail11d.hs:10:15 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr index ca6c11b6a3..8640400f87 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr @@ -1,4 +1,4 @@ -SimpleFail12.hs:8:15: error: +SimpleFail12.hs:8:15: error: [GHC-91510] • Illegal polymorphic type: forall a. [a] • In the type instance declaration for ‘C’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr index f18894df85..3f5d7ec570 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr @@ -1,5 +1,5 @@ -SimpleFail14.hs:5:15: error: +SimpleFail14.hs:5:15: error: [GHC-83865] • Expected a type, but ‘a ~ a’ has kind ‘Constraint’ • In the type ‘(a ~ a)’ In the definition of data constructor ‘T’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr index 133ab2c288..4ae7d99ede 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr @@ -1,5 +1,5 @@ -SimpleFail15.hs:6:8: error: +SimpleFail15.hs:6:8: error: [GHC-91510] • Illegal qualified type: (a ~ b) => t • In the type signature: foo :: (a, b) -> (a ~ b => t) -> (a, b) Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr index d33d2f9535..bc59e8dd59 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr @@ -1,5 +1,5 @@ -SimpleFail16.hs:10:12: error: +SimpleFail16.hs:10:12: error: [GHC-83865] • Couldn't match expected type: p0 a0 with actual type: F () • In the first argument of ‘foo’, namely ‘(undefined :: F ())’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr index 8637eaa892..e98233e7e9 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr @@ -1,5 +1,5 @@ -SimpleFail1a.hs:4:1: error: +SimpleFail1a.hs:4:1: error: [GHC-83865] • Expecting one more argument to ‘T1 Int’ Expected a type, but ‘T1 Int’ has kind ‘* -> *’ • In the data instance declaration for ‘T1’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr index 32303ecccb..f156c46987 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr @@ -1,4 +1,4 @@ -SimpleFail1b.hs:4:1: error: +SimpleFail1b.hs:4:1: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘T1 Int Bool’ has kind ‘*’ • In the data instance declaration for ‘T1’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr index ebe0e53c1e..4a5fa6daf0 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr @@ -6,7 +6,7 @@ SimpleFail2a.hs:11:3: error: • In the data instance declaration for ‘Sd’ In the instance declaration for ‘C Int’ -SimpleFail2a.hs:11:11: error: +SimpleFail2a.hs:11:11: error: [GHC-34447] Conflicting family instance declarations: Sd a -- Defined at SimpleFail2a.hs:11:11 Sd Int -- Defined at SimpleFail2a.hs:12:11 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail2b.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail2b.stderr index 88fdfe127c..44a0c95bd5 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail2b.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail2b.stderr @@ -1,5 +1,5 @@ -SimpleFail2b.hs:9:11: error: +SimpleFail2b.hs:9:11: error: [GHC-34447] Conflicting family instance declarations: Sd Int -- Defined at SimpleFail2b.hs:9:11 Sd Int -- Defined at SimpleFail2b.hs:10:11 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr index c437d95501..526e9acb99 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr @@ -1,5 +1,5 @@ -SimpleFail5a.hs:31:11: error: +SimpleFail5a.hs:31:11: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Int’ Expected: S3 a Actual: S3 Int diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr index 7398ef0fe8..a01cf3538d 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr @@ -1,5 +1,5 @@ -SimpleFail5b.hs:31:12: error: +SimpleFail5b.hs:31:12: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘Int’ Expected: S3 Int Actual: S3 Char diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr index ea54a4a862..09e913e2d3 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr @@ -1,6 +1,6 @@ -SimpleFail8.hs:9:8: +SimpleFail8.hs:9:8: error: [GHC-54721] ‘Map’ is not a (visible) associated type of class ‘C6’ -SimpleFail8.hs:10:8: +SimpleFail8.hs:10:8: error: [GHC-54721] ‘S3’ is not a (visible) associated type of class ‘C6’ diff --git a/testsuite/tests/indexed-types/should_fail/T10141.stderr b/testsuite/tests/indexed-types/should_fail/T10141.stderr index 79c964c71d..69212d5a1f 100644 --- a/testsuite/tests/indexed-types/should_fail/T10141.stderr +++ b/testsuite/tests/indexed-types/should_fail/T10141.stderr @@ -1,5 +1,5 @@ -T10141.hs:6:6: error: - Expected kind ‘k’, but ‘Int’ has kind ‘*’ - In the first argument of ‘G’, namely ‘Int’ - In the type family declaration for ‘G’ +T10141.hs:6:6: error: [GHC-25897] + • Expected kind ‘k’, but ‘Int’ has kind ‘*’ + • In the first argument of ‘G’, namely ‘Int’ + In the type family declaration for ‘G’ diff --git a/testsuite/tests/indexed-types/should_fail/T10899.stderr b/testsuite/tests/indexed-types/should_fail/T10899.stderr index ef0bd1b3f4..ae2d1756c8 100644 --- a/testsuite/tests/indexed-types/should_fail/T10899.stderr +++ b/testsuite/tests/indexed-types/should_fail/T10899.stderr @@ -1,5 +1,5 @@ -T10899.hs:8:3: error: +T10899.hs:8:3: error: [GHC-91510] • Illegal polymorphic type: forall (m :: * -> *). m a • In the default type instance declaration for ‘F’ In the class declaration for ‘C’ diff --git a/testsuite/tests/indexed-types/should_fail/T12522a.stderr b/testsuite/tests/indexed-types/should_fail/T12522a.stderr index cfde80b0b4..5a10c33bb7 100644 --- a/testsuite/tests/indexed-types/should_fail/T12522a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T12522a.stderr @@ -1,5 +1,5 @@ -T12522a.hs:23:26: error: +T12522a.hs:23:26: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘show’ prevents the constraint ‘(Show a0)’ from being solved. Relevant bindings include diff --git a/testsuite/tests/indexed-types/should_fail/T12867.stderr b/testsuite/tests/indexed-types/should_fail/T12867.stderr index 501da20907..892f9c9d76 100644 --- a/testsuite/tests/indexed-types/should_fail/T12867.stderr +++ b/testsuite/tests/indexed-types/should_fail/T12867.stderr @@ -1,5 +1,5 @@ -T12867.hs:8:21: error: +T12867.hs:8:21: error: [GHC-83865] • Expected kind ‘k0 -> *’, but ‘TestM’ has kind ‘*’ • In the first argument of ‘Eq’, namely ‘(TestM a)’ In the type ‘(Eq (TestM a))’ diff --git a/testsuite/tests/indexed-types/should_fail/T13092/T13092.stderr b/testsuite/tests/indexed-types/should_fail/T13092/T13092.stderr index c13bde5ad8..88eab9cbbe 100644 --- a/testsuite/tests/indexed-types/should_fail/T13092/T13092.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13092/T13092.stderr @@ -1,5 +1,5 @@ -Main.hs:10:15: error: +Main.hs:10:15: error: [GHC-34447] Conflicting family instance declarations: A (a, Y) = Bool -- Defined at Main.hs:10:15 A (B.X, b) = () -- Defined in module B diff --git a/testsuite/tests/indexed-types/should_fail/T13092c/T13092c.stderr b/testsuite/tests/indexed-types/should_fail/T13092c/T13092c.stderr index ab714e3ecc..3cdf86f26c 100644 --- a/testsuite/tests/indexed-types/should_fail/T13092c/T13092c.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13092c/T13092c.stderr @@ -1,5 +1,5 @@ -T13092c_4.hs:7:15: error: +T13092c_4.hs:7:15: error: [GHC-34447] Conflicting family instance declarations: F (a, Char) = String -- Defined at T13092c_4.hs:7:15 F (T13092c_2.X, b) = Bool -- Defined in module T13092c_2 diff --git a/testsuite/tests/indexed-types/should_fail/T13271.stderr b/testsuite/tests/indexed-types/should_fail/T13271.stderr index 5899110be4..4a8e7ebd20 100644 --- a/testsuite/tests/indexed-types/should_fail/T13271.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13271.stderr @@ -1,5 +1,5 @@ -T13271.hs:12:3: error: +T13271.hs:12:3: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: X 1 = T1 -- Defined at T13271.hs:12:3 @@ -7,7 +7,7 @@ T13271.hs:12:3: error: • In the equations for closed type family ‘X’ In the type family declaration for ‘X’ -T13271.hs:13:3: error: +T13271.hs:13:3: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: X 2 = T2 -- Defined at T13271.hs:13:3 diff --git a/testsuite/tests/indexed-types/should_fail/T13674.stderr b/testsuite/tests/indexed-types/should_fail/T13674.stderr index 55798b1189..9ab9fc795f 100644 --- a/testsuite/tests/indexed-types/should_fail/T13674.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13674.stderr @@ -1,5 +1,5 @@ -T13674.hs:56:21: error: +T13674.hs:56:21: error: [GHC-25897] • Couldn't match type ‘m’ with ‘Lcm m m’ Expected: GF m Actual: GF (Lcm m m) @@ -18,7 +18,7 @@ T13674.hs:56:21: error: x :: GF m (bound at T13674.hs:56:6) bar :: GF m -> GF m -> GF m (bound at T13674.hs:56:1) -T13674.hs:56:31: error: +T13674.hs:56:31: error: [GHC-25897] • Couldn't match type ‘m’ with ‘Lcm m m’ Expected: GF m Actual: GF (Lcm m m) diff --git a/testsuite/tests/indexed-types/should_fail/T13784.stderr b/testsuite/tests/indexed-types/should_fail/T13784.stderr index 04156ccdc9..d868bcfdc3 100644 --- a/testsuite/tests/indexed-types/should_fail/T13784.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13784.stderr @@ -1,5 +1,5 @@ -T13784.hs:29:28: error: +T13784.hs:29:28: error: [GHC-25897] • Couldn't match type ‘as’ with ‘a : Divide a as’ Expected: Product (Divide a (a : as)) Actual: Product as1 @@ -13,7 +13,7 @@ T13784.hs:29:28: error: divide :: Product (a : as) -> (a, Product (Divide a (a : as))) (bound at T13784.hs:29:5) -T13784.hs:33:24: error: +T13784.hs:33:24: error: [GHC-83865] • Couldn't match type: Product (a : as0) with: (b, Product (a : Divide b as)) Expected: (b, Product (Divide b (a : as))) @@ -25,7 +25,7 @@ T13784.hs:33:24: error: divide :: Product (a : as) -> (b, Product (Divide b (a : as))) (bound at T13784.hs:33:5) -T13784.hs:33:29: error: +T13784.hs:33:29: error: [GHC-83865] • Couldn't match type: (a0, Product (Divide a0 as)) with: Product as0 Expected: Product as0 diff --git a/testsuite/tests/indexed-types/should_fail/T13877.stderr b/testsuite/tests/indexed-types/should_fail/T13877.stderr index fdbc89ab1e..d0c99376d2 100644 --- a/testsuite/tests/indexed-types/should_fail/T13877.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13877.stderr @@ -1,5 +1,5 @@ -T13877.hs:65:41: error: +T13877.hs:65:41: error: [GHC-83865] • Expecting one more argument to ‘p’ Expected kind ‘(-?>) [a] (*) (':->)’, but ‘p’ has kind ‘[a] ~> *’ • In the type ‘p’ diff --git a/testsuite/tests/indexed-types/should_fail/T14175.stderr b/testsuite/tests/indexed-types/should_fail/T14175.stderr index e177036e9e..4eb6312a34 100644 --- a/testsuite/tests/indexed-types/should_fail/T14175.stderr +++ b/testsuite/tests/indexed-types/should_fail/T14175.stderr @@ -1,5 +1,5 @@ -T14175.hs:7:42: error: +T14175.hs:7:42: error: [GHC-83865] • Expecting one more argument to ‘k’ Expected a type, but ‘k’ has kind ‘j -> *’ • In the kind ‘k’ diff --git a/testsuite/tests/indexed-types/should_fail/T14179.stderr b/testsuite/tests/indexed-types/should_fail/T14179.stderr index bb956c7b51..f8eb9aaf93 100644 --- a/testsuite/tests/indexed-types/should_fail/T14179.stderr +++ b/testsuite/tests/indexed-types/should_fail/T14179.stderr @@ -1,15 +1,15 @@ -T14179.hs:7:15: error: +T14179.hs:7:15: error: [GHC-34447] Conflicting family instance declarations: Foo1 a -- Defined at T14179.hs:7:15 Foo1 a -- Defined at T14179.hs:8:15 -T14179.hs:11:15: error: +T14179.hs:11:15: error: [GHC-34447] Conflicting family instance declarations: Foo2 -- Defined at T14179.hs:11:15 Foo2 -- Defined at T14179.hs:12:15 -T14179.hs:15:15: error: +T14179.hs:15:15: error: [GHC-34447] Conflicting family instance declarations: Foo3 [a] -- Defined at T14179.hs:15:15 Foo3 [a] -- Defined at T14179.hs:18:15 diff --git a/testsuite/tests/indexed-types/should_fail/T14246.stderr b/testsuite/tests/indexed-types/should_fail/T14246.stderr index 292c49fb25..3374308a8f 100644 --- a/testsuite/tests/indexed-types/should_fail/T14246.stderr +++ b/testsuite/tests/indexed-types/should_fail/T14246.stderr @@ -1,10 +1,10 @@ -T14246.hs:19:5: error: +T14246.hs:19:5: error: [GHC-91510] • Illegal polymorphic type: forall (t :: v). f t • In the equations for closed type family ‘KLN’ In the type family declaration for ‘KLN’ -T14246.hs:23:27: error: +T14246.hs:23:27: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘L’ Expected kind ‘Vect (KLN f) L’, but ‘Cons (Label (t :: v)) l’ has kind ‘Vect ('S (KLN (f t))) (*)’ @@ -12,7 +12,7 @@ T14246.hs:23:27: error: ‘(Cons (Label (t :: v)) l)’ In the type family declaration for ‘Reveal’ -T14246.hs:23:67: error: +T14246.hs:23:67: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘L’ Expected kind ‘Vect (KLN (f t)) L’, but ‘l’ has kind ‘Vect (KLN (f t)) (*)’ @@ -20,7 +20,7 @@ T14246.hs:23:67: error: In the type ‘Reveal (f t) l’ In the type family declaration for ‘Reveal’ -T14246.hs:24:24: error: +T14246.hs:24:24: error: [GHC-83865] • Couldn't match kind ‘'Z’ with ‘KLN a’ Expected kind ‘Vect (KLN a) L’, but ‘Nil’ has kind ‘Vect 'Z L’ • In the second argument of ‘Reveal’, namely ‘Nil’ diff --git a/testsuite/tests/indexed-types/should_fail/T14369.stderr b/testsuite/tests/indexed-types/should_fail/T14369.stderr index 9ab572afcd..8dcf45bd30 100644 --- a/testsuite/tests/indexed-types/should_fail/T14369.stderr +++ b/testsuite/tests/indexed-types/should_fail/T14369.stderr @@ -1,5 +1,5 @@ -T14369.hs:29:5: error: +T14369.hs:29:5: error: [GHC-25897] • Couldn't match type ‘a1’ with ‘a2’ Expected: Sing x -> Maybe (Demote a2) Actual: Sing x -> Demote (Maybe a1) diff --git a/testsuite/tests/indexed-types/should_fail/T14904.stderr b/testsuite/tests/indexed-types/should_fail/T14904.stderr index 8a7142d350..13ca9f9ee0 100644 --- a/testsuite/tests/indexed-types/should_fail/T14904.stderr +++ b/testsuite/tests/indexed-types/should_fail/T14904.stderr @@ -1,5 +1,5 @@ -T14904.hs:8:8: error: +T14904.hs:8:8: error: [GHC-91028] • Expected kind ‘forall (a :: k1). g a’, but ‘f’ has kind ‘k0’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall (a :: k1). g a diff --git a/testsuite/tests/indexed-types/should_fail/T15740.stderr b/testsuite/tests/indexed-types/should_fail/T15740.stderr index 9d7cdcfee7..8549b6ac9e 100644 --- a/testsuite/tests/indexed-types/should_fail/T15740.stderr +++ b/testsuite/tests/indexed-types/should_fail/T15740.stderr @@ -1,11 +1,11 @@ -T15740.hs:11:20: error: +T15740.hs:11:20: error: [GHC-83865] • Expected kind ‘forall k. k -> *’, but ‘SBool’ has kind ‘Bool -> *’ • In the type ‘SBool’ In the type instance declaration for ‘F2’ -T15740.hs:12:20: error: +T15740.hs:12:20: error: [GHC-83865] • Expected kind ‘forall k. k -> *’, but ‘SNat’ has kind ‘Nat -> *’ • In the type ‘SNat’ In the type instance declaration for ‘F2’ diff --git a/testsuite/tests/indexed-types/should_fail/T15870.stderr b/testsuite/tests/indexed-types/should_fail/T15870.stderr index 54a2ea87e9..ced646a276 100644 --- a/testsuite/tests/indexed-types/should_fail/T15870.stderr +++ b/testsuite/tests/indexed-types/should_fail/T15870.stderr @@ -1,5 +1,5 @@ -T15870.hs:32:34: error: +T15870.hs:32:34: error: [GHC-25897] • Couldn't match kind ‘k’ with ‘*’ Expected kind ‘Optic @{k} a’, but ‘g2’ has kind ‘Optic @{*} b’ ‘k’ is a rigid type variable bound by diff --git a/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr b/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr index 2381655876..a20bada920 100644 --- a/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr +++ b/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr @@ -1,11 +1,15 @@ -T16110_Fail1.hs:10:19: error: Not in scope: type variable ‘a’ +T16110_Fail1.hs:10:19: error: [GHC-76037] + Not in scope: type variable ‘a’ -T16110_Fail1.hs:10:21: error: Not in scope: type variable ‘b’ +T16110_Fail1.hs:10:21: error: [GHC-76037] + Not in scope: type variable ‘b’ -T16110_Fail1.hs:10:32: error: Not in scope: type variable ‘a’ +T16110_Fail1.hs:10:32: error: [GHC-76037] + Not in scope: type variable ‘a’ -T16110_Fail1.hs:10:34: error: Not in scope: type variable ‘b’ +T16110_Fail1.hs:10:34: error: [GHC-76037] + Not in scope: type variable ‘b’ T16110_Fail1.hs:13:15: error: Conflicting definitions for ‘dup’ @@ -13,6 +17,8 @@ T16110_Fail1.hs:13:15: error: T16110_Fail1.hs:13:19-21 T16110_Fail1.hs:13:23-25 -T16110_Fail1.hs:16:21: error: Not in scope: type variable ‘a’ +T16110_Fail1.hs:16:21: error: [GHC-76037] + Not in scope: type variable ‘a’ -T16110_Fail1.hs:19:21: error: Not in scope: type variable ‘k’ +T16110_Fail1.hs:19:21: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/indexed-types/should_fail/T16356_Fail3.stderr b/testsuite/tests/indexed-types/should_fail/T16356_Fail3.stderr index 7dcc5defea..876a380e1b 100644 --- a/testsuite/tests/indexed-types/should_fail/T16356_Fail3.stderr +++ b/testsuite/tests/indexed-types/should_fail/T16356_Fail3.stderr @@ -1,5 +1,5 @@ -T16356_Fail3.hs:10:3: error: +T16356_Fail3.hs:10:3: error: [GHC-20967] • Cannot apply function of kind ‘* -> *’ to visible kind argument ‘Type’ • In the default type instance declaration for ‘T1’ diff --git a/testsuite/tests/indexed-types/should_fail/T1897b.stderr b/testsuite/tests/indexed-types/should_fail/T1897b.stderr index 9048b59770..ef291b87ce 100644 --- a/testsuite/tests/indexed-types/should_fail/T1897b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T1897b.stderr @@ -1,11 +1,11 @@ -T1897b.hs:16:1: error: +T1897b.hs:16:1: error: [GHC-83865] • Couldn't match type: Depend a0 with: Depend a Expected: t (Depend a) -> Bool Actual: t (Depend a0) -> Bool - NB: ‘Depend’ is a non-injective type family - The type variable ‘a0’ is ambiguous + NB: ‘Depend’ is a non-injective type family + The type variable ‘a0’ is ambiguous • In the ambiguity check for the inferred type for ‘isValid’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the inferred type diff --git a/testsuite/tests/indexed-types/should_fail/T1900.stderr b/testsuite/tests/indexed-types/should_fail/T1900.stderr index bb4a160d49..8b245af562 100644 --- a/testsuite/tests/indexed-types/should_fail/T1900.stderr +++ b/testsuite/tests/indexed-types/should_fail/T1900.stderr @@ -1,11 +1,11 @@ -T1900.hs:8:3: error: +T1900.hs:8:3: error: [GHC-83865] • Couldn't match type: Depend s0 with: Depend s Expected: Depend s -> Depend s Actual: Depend s0 -> Depend s0 - NB: ‘Depend’ is a non-injective type family - The type variable ‘s0’ is ambiguous + NB: ‘Depend’ is a non-injective type family + The type variable ‘s0’ is ambiguous • In the ambiguity check for ‘trans’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: diff --git a/testsuite/tests/indexed-types/should_fail/T20465.stderr b/testsuite/tests/indexed-types/should_fail/T20465.stderr index 90e90c9f57..00762b2027 100644 --- a/testsuite/tests/indexed-types/should_fail/T20465.stderr +++ b/testsuite/tests/indexed-types/should_fail/T20465.stderr @@ -1,5 +1,5 @@ -T20465.hs:17:7: error: +T20465.hs:17:7: error: [GHC-43085] • Overlapping instances for Cls Proxy arising from a use of ‘foo’ Matching instances: instance Cls a -- Defined at T20465.hs:12:10 diff --git a/testsuite/tests/indexed-types/should_fail/T20466.stderr b/testsuite/tests/indexed-types/should_fail/T20466.stderr index be526681ae..97a161990b 100644 --- a/testsuite/tests/indexed-types/should_fail/T20466.stderr +++ b/testsuite/tests/indexed-types/should_fail/T20466.stderr @@ -1,5 +1,5 @@ -T20466.hs:28:7: error: +T20466.hs:28:7: error: [GHC-43085] • Overlapping instances for Cls (Either a (F (Either (G a) (G b)))) arising from a use of ‘foo’ Matching instance: @@ -13,7 +13,7 @@ T20466.hs:28:7: error: • In the expression: foo In an equation for ‘bar’: bar = foo -T20466.hs:34:8: error: +T20466.hs:34:8: error: [GHC-43085] • Overlapping instances for Cls (Either Int (F Bool)) arising from a use of ‘foo'’ Matching instance: diff --git a/testsuite/tests/indexed-types/should_fail/T20521.stderr b/testsuite/tests/indexed-types/should_fail/T20521.stderr index 2909a9c892..eb72ca19b1 100644 --- a/testsuite/tests/indexed-types/should_fail/T20521.stderr +++ b/testsuite/tests/indexed-types/should_fail/T20521.stderr @@ -1,5 +1,5 @@ -T20521.hs:19:9: error: +T20521.hs:19:9: error: [GHC-83865] • Couldn't match type ‘XFam Constraint (*) (XFam (*) Constraint Float)’ with ‘Float’ diff --git a/testsuite/tests/indexed-types/should_fail/T21092.stderr b/testsuite/tests/indexed-types/should_fail/T21092.stderr index b5b211cb38..de628a19c0 100644 --- a/testsuite/tests/indexed-types/should_fail/T21092.stderr +++ b/testsuite/tests/indexed-types/should_fail/T21092.stderr @@ -1,5 +1,5 @@ -T21092.hs:8:15: error: +T21092.hs:8:15: error: [GHC-34447] Conflicting family instance declarations: F (*) = Int -- Defined at T21092.hs:8:15 F Constraint = Bool -- Defined at T21092.hs:9:15 diff --git a/testsuite/tests/indexed-types/should_fail/T21896.stderr b/testsuite/tests/indexed-types/should_fail/T21896.stderr index 971c220171..b75aab8803 100644 --- a/testsuite/tests/indexed-types/should_fail/T21896.stderr +++ b/testsuite/tests/indexed-types/should_fail/T21896.stderr @@ -1,5 +1,5 @@ -T21896.hs:8:5: error: +T21896.hs:8:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: forall {k} {r :: k}. F 'Foo r = r -- Defined at T21896.hs:8:5 @@ -7,7 +7,7 @@ T21896.hs:8:5: error: • In the equations for closed type family ‘F’ In the type family declaration for ‘F’ -T21896.hs:8:5: error: +T21896.hs:8:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘'Foo’ @@ -15,7 +15,7 @@ T21896.hs:8:5: error: • In the equations for closed type family ‘F’ In the type family declaration for ‘F’ -T21896.hs:9:5: error: +T21896.hs:9:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘'Bar’ diff --git a/testsuite/tests/indexed-types/should_fail/T2334A.stderr b/testsuite/tests/indexed-types/should_fail/T2334A.stderr index a5bc0a0e78..d4cd3285c2 100644 --- a/testsuite/tests/indexed-types/should_fail/T2334A.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2334A.stderr @@ -11,7 +11,7 @@ T2334A.hs:10:27: error: • In the definition of data constructor ‘H’ In the newtype instance declaration for ‘F’ -T2334A.hs:12:15: error: +T2334A.hs:12:15: error: [GHC-34447] Conflicting family instance declarations: F Bool -- Defined at T2334A.hs:12:15 F Bool -- Defined at T2334A.hs:13:15 diff --git a/testsuite/tests/indexed-types/should_fail/T2544.stderr b/testsuite/tests/indexed-types/should_fail/T2544.stderr index be58f59e05..1f0d70f904 100644 --- a/testsuite/tests/indexed-types/should_fail/T2544.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2544.stderr @@ -1,24 +1,24 @@ -T2544.hs:19:18: error: +T2544.hs:19:18: error: [GHC-83865] • Couldn't match type: IxMap i0 with: IxMap l Expected: IxMap l [Int] Actual: IxMap i0 [Int] - NB: ‘IxMap’ is a non-injective type family - The type variable ‘i0’ is ambiguous + NB: ‘IxMap’ is a non-injective type family + The type variable ‘i0’ is ambiguous • In the first argument of ‘BiApp’, namely ‘empty’ In the expression: BiApp empty empty In an equation for ‘empty’: empty = BiApp empty empty • Relevant bindings include empty :: IxMap (l :|: r) [Int] (bound at T2544.hs:19:4) -T2544.hs:19:24: error: +T2544.hs:19:24: error: [GHC-83865] • Couldn't match type: IxMap i1 with: IxMap r Expected: IxMap r [Int] Actual: IxMap i1 [Int] - NB: ‘IxMap’ is a non-injective type family - The type variable ‘i1’ is ambiguous + NB: ‘IxMap’ is a non-injective type family + The type variable ‘i1’ is ambiguous • In the second argument of ‘BiApp’, namely ‘empty’ In the expression: BiApp empty empty In an equation for ‘empty’: empty = BiApp empty empty diff --git a/testsuite/tests/indexed-types/should_fail/T2627b.stderr b/testsuite/tests/indexed-types/should_fail/T2627b.stderr index cf25ba5918..266ab6d766 100644 --- a/testsuite/tests/indexed-types/should_fail/T2627b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2627b.stderr @@ -1,5 +1,5 @@ -T2627b.hs:20:24: error: +T2627b.hs:20:24: error: [GHC-27958] • Could not deduce ‘Dual (Dual a0) ~ a0’ arising from a use of ‘conn’ from the context: (Dual a ~ b, Dual b ~ a) diff --git a/testsuite/tests/indexed-types/should_fail/T2664.stderr b/testsuite/tests/indexed-types/should_fail/T2664.stderr index 80bddc7f78..a697c98f1f 100644 --- a/testsuite/tests/indexed-types/should_fail/T2664.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2664.stderr @@ -1,5 +1,5 @@ -T2664.hs:32:52: error: +T2664.hs:32:52: error: [GHC-25897] • Could not deduce ‘b ~ a’ arising from a use of ‘newPChan’ from the context: ((a :*: b) ~ Dual c, c ~ Dual (a :*: b)) bound by the type signature for: diff --git a/testsuite/tests/indexed-types/should_fail/T2677.stderr b/testsuite/tests/indexed-types/should_fail/T2677.stderr index 1f08b366b1..0ecea2e69c 100644 --- a/testsuite/tests/indexed-types/should_fail/T2677.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2677.stderr @@ -1,5 +1,5 @@ -T2677.hs:6:15: +T2677.hs:6:15: error: [GHC-34447] Conflicting family instance declarations: A a = Bool -- Defined at T2677.hs:6:15 A Int = Char -- Defined at T2677.hs:7:15 diff --git a/testsuite/tests/indexed-types/should_fail/T2693.stderr b/testsuite/tests/indexed-types/should_fail/T2693.stderr index f07905b570..1f34d6b34b 100644 --- a/testsuite/tests/indexed-types/should_fail/T2693.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2693.stderr @@ -1,46 +1,46 @@ -T2693.hs:12:15: error: +T2693.hs:12:15: error: [GHC-83865] • Couldn't match expected type: (a8, b1) with actual type: TFn a6 - The type variable ‘a6’ is ambiguous + The type variable ‘a6’ is ambiguous • In the first argument of ‘fst’, namely ‘x’ In the first argument of ‘(+)’, namely ‘fst x’ In the expression: fst x + fst x • Relevant bindings include n :: a8 (bound at T2693.hs:12:7) -T2693.hs:12:23: error: +T2693.hs:12:23: error: [GHC-83865] • Couldn't match expected type: (a8, b2) with actual type: TFn a7 - The type variable ‘a7’ is ambiguous + The type variable ‘a7’ is ambiguous • In the first argument of ‘fst’, namely ‘x’ In the second argument of ‘(+)’, namely ‘fst x’ In the expression: fst x + fst x • Relevant bindings include n :: a8 (bound at T2693.hs:12:7) -T2693.hs:19:15: error: +T2693.hs:19:15: error: [GHC-83865] • Couldn't match expected type: (a5, b0) with actual type: TFn a2 - The type variable ‘a2’ is ambiguous + The type variable ‘a2’ is ambiguous • In the first argument of ‘fst’, namely ‘x’ In the first argument of ‘(+)’, namely ‘fst x’ In the expression: fst x + snd x • Relevant bindings include n :: a5 (bound at T2693.hs:19:7) -T2693.hs:19:23: error: +T2693.hs:19:23: error: [GHC-83865] • Couldn't match expected type: (a4, a5) with actual type: TFn a3 - The type variable ‘a3’ is ambiguous + The type variable ‘a3’ is ambiguous • In the first argument of ‘snd’, namely ‘x’ In the second argument of ‘(+)’, namely ‘snd x’ In the expression: fst x + snd x • Relevant bindings include n :: a5 (bound at T2693.hs:19:7) -T2693.hs:29:20: error: +T2693.hs:29:20: error: [GHC-83865] • Couldn't match type: TFn a0 with: PVR a1 Expected: () -> Maybe (PVR a1) Actual: () -> Maybe (TFn a0) - The type variable ‘a0’ is ambiguous + The type variable ‘a0’ is ambiguous • In the first argument of ‘mapM’, namely ‘g’ In a stmt of a 'do' block: pvs <- mapM g undefined In the expression: diff --git a/testsuite/tests/indexed-types/should_fail/T3330a.stderr b/testsuite/tests/indexed-types/should_fail/T3330a.stderr index 1fba198ab7..c65763c6c3 100644 --- a/testsuite/tests/indexed-types/should_fail/T3330a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T3330a.stderr @@ -1,5 +1,5 @@ -T3330a.hs:19:34: error: +T3330a.hs:19:34: error: [GHC-25897] • Couldn't match type ‘ix’ with ‘r ix1 -> Writer [AnyF s] (r'0 ix1)’ Expected: (s0 ix0 -> ix1) -> r ix1 -> Writer [AnyF s] (r'0 ix1) @@ -17,7 +17,7 @@ T3330a.hs:19:34: error: p :: s ix (bound at T3330a.hs:19:10) children :: s ix -> PF s r ix -> [AnyF s] (bound at T3330a.hs:19:1) -T3330a.hs:19:44: error: +T3330a.hs:19:44: error: [GHC-25897] • Couldn't match type ‘ix’ with ‘r0 ix0 -> Writer [AnyF s0] (r0 ix0)’ Expected: PF s r (r0 ix0 -> Writer [AnyF s0] (r0 ix0)) diff --git a/testsuite/tests/indexed-types/should_fail/T3330b.stderr b/testsuite/tests/indexed-types/should_fail/T3330b.stderr index faa5d1a1a7..6827abf906 100644 --- a/testsuite/tests/indexed-types/should_fail/T3330b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T3330b.stderr @@ -1,5 +1,5 @@ -T3330b.hs:14:10: +T3330b.hs:14:10: error: [GHC-34447] Conflicting family instance declarations: Res c a b = b -- Defined at T3330b.hs:14:10 Res [c] a b = [b] -- Defined at T3330b.hs:18:10 diff --git a/testsuite/tests/indexed-types/should_fail/T3330c.stderr b/testsuite/tests/indexed-types/should_fail/T3330c.stderr index b661193655..be6103ace1 100644 --- a/testsuite/tests/indexed-types/should_fail/T3330c.stderr +++ b/testsuite/tests/indexed-types/should_fail/T3330c.stderr @@ -1,5 +1,5 @@ -T3330c.hs:25:43: error: +T3330c.hs:25:43: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘* -> *’ When matching types f1 :: * -> * diff --git a/testsuite/tests/indexed-types/should_fail/T4093a.stderr b/testsuite/tests/indexed-types/should_fail/T4093a.stderr index bd11021454..76493a9637 100644 --- a/testsuite/tests/indexed-types/should_fail/T4093a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4093a.stderr @@ -1,5 +1,5 @@ -T4093a.hs:8:8: error: +T4093a.hs:8:8: error: [GHC-25897] • Could not deduce ‘e ~ ()’ from the context: Foo e ~ Maybe e bound by the type signature for: diff --git a/testsuite/tests/indexed-types/should_fail/T4093b.stderr b/testsuite/tests/indexed-types/should_fail/T4093b.stderr index 3180708365..774e08094f 100644 --- a/testsuite/tests/indexed-types/should_fail/T4093b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4093b.stderr @@ -1,5 +1,5 @@ -T4093b.hs:31:13: error: +T4093b.hs:31:13: error: [GHC-25897] • Could not deduce ‘e ~ C’ from the context: (EitherCO e (A C O n) (A O O n) ~ A e O n, EitherCO x (A C C n) (A C O n) ~ A C x n) diff --git a/testsuite/tests/indexed-types/should_fail/T4099.stderr b/testsuite/tests/indexed-types/should_fail/T4099.stderr index 5ed4d36640..9f0f528cc1 100644 --- a/testsuite/tests/indexed-types/should_fail/T4099.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4099.stderr @@ -1,9 +1,9 @@ -T4099.hs:11:30: error: +T4099.hs:11:30: error: [GHC-83865] • Couldn't match expected type: T a0 with actual type: T b - NB: ‘T’ is a non-injective type family - The type variable ‘a0’ is ambiguous + NB: ‘T’ is a non-injective type family + The type variable ‘a0’ is ambiguous • In the second argument of ‘foo’, namely ‘x’ In the expression: foo (error "urk") x In an equation for ‘bar1’: bar1 a x = foo (error "urk") x @@ -12,10 +12,10 @@ T4099.hs:11:30: error: a :: b (bound at T4099.hs:11:6) bar1 :: b -> T b -> Int (bound at T4099.hs:11:1) -T4099.hs:14:30: error: +T4099.hs:14:30: error: [GHC-83865] • Couldn't match expected type: T a1 with actual type: Maybe b - The type variable ‘a1’ is ambiguous + The type variable ‘a1’ is ambiguous • In the second argument of ‘foo’, namely ‘x’ In the expression: foo (error "urk") x In an equation for ‘bar2’: bar2 a x = foo (error "urk") x diff --git a/testsuite/tests/indexed-types/should_fail/T4174.stderr b/testsuite/tests/indexed-types/should_fail/T4174.stderr index a33dcf7222..c2802c0604 100644 --- a/testsuite/tests/indexed-types/should_fail/T4174.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4174.stderr @@ -1,5 +1,5 @@ -T4174.hs:45:12: error: +T4174.hs:45:12: error: [GHC-18872] • Couldn't match type ‘False’ with ‘True’ arising from a use of ‘sync_large_objects’ • In the expression: sync_large_objects diff --git a/testsuite/tests/indexed-types/should_fail/T4179.stderr b/testsuite/tests/indexed-types/should_fail/T4179.stderr index 545c03754d..3f88289e23 100644 --- a/testsuite/tests/indexed-types/should_fail/T4179.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4179.stderr @@ -1,5 +1,5 @@ -T4179.hs:26:16: error: +T4179.hs:26:16: error: [GHC-83865] • Couldn't match type: A3 (x (A2 (FCon x) -> A3 (FCon x))) with: A3 (FCon x) Expected: x (A2 (FCon x) -> A3 (FCon x)) @@ -7,7 +7,7 @@ T4179.hs:26:16: error: Actual: x (A2 (FCon x) -> A3 (FCon x)) -> A2 (x (A2 (FCon x) -> A3 (FCon x))) -> A3 (x (A2 (FCon x) -> A3 (FCon x))) - NB: ‘A3’ is a non-injective type family + NB: ‘A3’ is a non-injective type family • In the first argument of ‘foldDoC’, namely ‘op’ In the expression: foldDoC op In an equation for ‘fCon’: fCon = foldDoC op diff --git a/testsuite/tests/indexed-types/should_fail/T4246.stderr b/testsuite/tests/indexed-types/should_fail/T4246.stderr index f2bf56b214..af603d69d6 100644 --- a/testsuite/tests/indexed-types/should_fail/T4246.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4246.stderr @@ -1,10 +1,10 @@ -T4246.hs:9:9: error: +T4246.hs:9:9: error: [GHC-34447] Conflicting family instance declarations: F a = a -- Defined at T4246.hs:9:9 F Int = Bool -- Defined at T4246.hs:12:9 -T4246.hs:15:15: error: +T4246.hs:15:15: error: [GHC-34447] Conflicting family instance declarations: G Int = Int -- Defined at T4246.hs:15:15 G Int = Bool -- Defined at T4246.hs:16:15 diff --git a/testsuite/tests/indexed-types/should_fail/T4254b.stderr b/testsuite/tests/indexed-types/should_fail/T4254b.stderr index d45d0ccdaf..551978715c 100644 --- a/testsuite/tests/indexed-types/should_fail/T4254b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4254b.stderr @@ -1,5 +1,5 @@ -T4254b.hs:10:10: error: +T4254b.hs:10:10: error: [GHC-25897] • Couldn't match type ‘b’ with ‘Bool’ arising from a functional dependency between constraints: ‘FD Int Bool’ diff --git a/testsuite/tests/indexed-types/should_fail/T4272.stderr b/testsuite/tests/indexed-types/should_fail/T4272.stderr index 69df514c0f..8a2feeb00f 100644 --- a/testsuite/tests/indexed-types/should_fail/T4272.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4272.stderr @@ -1,5 +1,5 @@ -T4272.hs:15:26: error: +T4272.hs:15:26: error: [GHC-25897] • Couldn't match type ‘a’ with ‘TermFamily a a’ Expected: TermFamily a (TermFamily a a) Actual: TermFamily a a diff --git a/testsuite/tests/indexed-types/should_fail/T4485.stderr b/testsuite/tests/indexed-types/should_fail/T4485.stderr index 71251b70f6..3c501554f8 100644 --- a/testsuite/tests/indexed-types/should_fail/T4485.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4485.stderr @@ -1,5 +1,5 @@ -T4485.hs:51:15: error: +T4485.hs:51:15: error: [GHC-43085] • Overlapping instances for EmbedAsChild (IdentityT IO) (XMLGenT m0 (XML m0)) arising from a use of ‘asChild’ @@ -20,7 +20,7 @@ T4485.hs:51:15: error: In an equation for ‘asChild’: asChild b = asChild $ (genElement "foo") -T4485.hs:51:26: error: +T4485.hs:51:26: error: [GHC-39999] • Ambiguous type variable ‘m0’ arising from a use of ‘genElement’ prevents the constraint ‘(XMLGen m0)’ from being solved. Probable fix: use a type annotation to specify what ‘m0’ should be. diff --git a/testsuite/tests/indexed-types/should_fail/T5439.stderr b/testsuite/tests/indexed-types/should_fail/T5439.stderr index fb38d71112..be0c6810c3 100644 --- a/testsuite/tests/indexed-types/should_fail/T5439.stderr +++ b/testsuite/tests/indexed-types/should_fail/T5439.stderr @@ -1,5 +1,5 @@ -T5439.hs:83:33: error: +T5439.hs:83:33: error: [GHC-83865] • Couldn't match expected type: Attempt (HElemOf rs) with actual type: Attempt (HHead (HDrop n0 l0)) -> Attempt (HElemOf l0) @@ -21,7 +21,7 @@ T5439.hs:83:33: error: -> f (Attempt (WaitOpResult (WaitOps rs))) -> IO Bool (bound at T5439.hs:62:3) -T5439.hs:83:39: error: +T5439.hs:83:39: error: [GHC-83865] • Couldn't match expected type: Peano n0 with actual type: Attempt α0 • In the second argument of ‘($)’, namely diff --git a/testsuite/tests/indexed-types/should_fail/T5934.stderr b/testsuite/tests/indexed-types/should_fail/T5934.stderr index 9024f516b8..b15f5d0d04 100644 --- a/testsuite/tests/indexed-types/should_fail/T5934.stderr +++ b/testsuite/tests/indexed-types/should_fail/T5934.stderr @@ -1,5 +1,5 @@ -T5934.hs:12:7: error: +T5934.hs:12:7: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘(forall s. Gen (PrimState (ST s))) -> Int’ Expected: (forall s. GenST s) -> Int diff --git a/testsuite/tests/indexed-types/should_fail/T6123.stderr b/testsuite/tests/indexed-types/should_fail/T6123.stderr index eafd27c454..c20ec3e5dc 100644 --- a/testsuite/tests/indexed-types/should_fail/T6123.stderr +++ b/testsuite/tests/indexed-types/should_fail/T6123.stderr @@ -1,5 +1,5 @@ -T6123.hs:10:14: error: +T6123.hs:10:14: error: [GHC-27958] • Couldn't match type ‘a0’ with ‘Id a0’ arising from a use of ‘cid’ The type variable ‘a0’ is ambiguous • In the expression: cid undefined diff --git a/testsuite/tests/indexed-types/should_fail/T7010.stderr b/testsuite/tests/indexed-types/should_fail/T7010.stderr index 12f443df7d..65d8e3d6e1 100644 --- a/testsuite/tests/indexed-types/should_fail/T7010.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7010.stderr @@ -1,5 +1,5 @@ -T7010.hs:53:27: error: +T7010.hs:53:27: error: [GHC-83865] • Couldn't match type: IO Float with: Serial (IO Float) Expected: (Float, ValueTuple Vector) diff --git a/testsuite/tests/indexed-types/should_fail/T7102a.stderr b/testsuite/tests/indexed-types/should_fail/T7102a.stderr index 8dd542391b..5af87cfb28 100644 --- a/testsuite/tests/indexed-types/should_fail/T7102a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7102a.stderr @@ -1,5 +1,5 @@ -<interactive>:3:15: error: +<interactive>:3:15: error: [GHC-34447] Conflicting family instance declarations: A Int = () -- Defined at <interactive>:3:15 A Int = Bool -- Defined at <interactive>:4:15 diff --git a/testsuite/tests/indexed-types/should_fail/T7194.stderr b/testsuite/tests/indexed-types/should_fail/T7194.stderr index d509f9fac9..b6427a5429 100644 --- a/testsuite/tests/indexed-types/should_fail/T7194.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7194.stderr @@ -1,11 +1,11 @@ -T7194.hs:18:35: error: +T7194.hs:18:35: error: [GHC-46956] • Couldn't match expected type ‘b0’ with actual type ‘F a’ - because type variable ‘a’ would escape its scope - This (rigid, skolem) type variable is bound by - the type signature for: - g :: forall a. C (F a) => a -> Int - at T7194.hs:17:18-41 + • because type variable ‘a’ would escape its scope + This (rigid, skolem) type variable is bound by + the type signature for: + g :: forall a. C (F a) => a -> Int + at T7194.hs:17:18-41 • In the expression: foo y In the first argument of ‘length’, namely ‘[x, foo y]’ In the expression: length [x, foo y] diff --git a/testsuite/tests/indexed-types/should_fail/T7354.stderr b/testsuite/tests/indexed-types/should_fail/T7354.stderr index e2dfbedf28..1d8be26b5a 100644 --- a/testsuite/tests/indexed-types/should_fail/T7354.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7354.stderr @@ -1,5 +1,5 @@ -T7354.hs:28:11: error: +T7354.hs:28:11: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Base t (Prim [a] a)’ Expected: Prim [a] a -> Base t (Prim [a] a) Actual: Prim [a] a -> a diff --git a/testsuite/tests/indexed-types/should_fail/T7354a.stderr b/testsuite/tests/indexed-types/should_fail/T7354a.stderr index a5ec40630e..1eaa65f6c4 100644 --- a/testsuite/tests/indexed-types/should_fail/T7354a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7354a.stderr @@ -1,5 +1,5 @@ -T7354a.hs:5:13: error: +T7354a.hs:5:13: error: [GHC-83865] • Couldn't match expected type ‘Base t t’ with actual type ‘()’ • In the first argument of ‘embed’, namely ‘()’ In the expression: embed () diff --git a/testsuite/tests/indexed-types/should_fail/T7729.stderr b/testsuite/tests/indexed-types/should_fail/T7729.stderr index 8973e8690e..532e2a21bd 100644 --- a/testsuite/tests/indexed-types/should_fail/T7729.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7729.stderr @@ -1,5 +1,5 @@ -T7729.hs:36:14: error: +T7729.hs:36:14: error: [GHC-83865] • Couldn't match type: BasePrimMonad m with: t0 (BasePrimMonad m) Expected: t0 (BasePrimMonad m) a -> Rand m a diff --git a/testsuite/tests/indexed-types/should_fail/T7729a.stderr b/testsuite/tests/indexed-types/should_fail/T7729a.stderr index 34ef48e179..41aa1a057f 100644 --- a/testsuite/tests/indexed-types/should_fail/T7729a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7729a.stderr @@ -1,5 +1,5 @@ -T7729a.hs:36:26: error: +T7729a.hs:36:26: error: [GHC-83865] • Couldn't match type: BasePrimMonad m with: t0 m0 Expected: BasePrimMonad (Rand m) a diff --git a/testsuite/tests/indexed-types/should_fail/T7938.stderr b/testsuite/tests/indexed-types/should_fail/T7938.stderr index 5751c4e992..1b79fb8e7e 100644 --- a/testsuite/tests/indexed-types/should_fail/T7938.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7938.stderr @@ -1,5 +1,5 @@ -T7938.hs:12:17: error: +T7938.hs:12:17: error: [GHC-83865] • Expected a type, but ‘KP :: KProxy k2’ has kind ‘KProxy k2’ • In the type ‘(KP :: KProxy k2)’ In the type instance declaration for ‘Bar’ diff --git a/testsuite/tests/indexed-types/should_fail/T7967.stderr b/testsuite/tests/indexed-types/should_fail/T7967.stderr index 8a7e419a5d..bd14d79780 100644 --- a/testsuite/tests/indexed-types/should_fail/T7967.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7967.stderr @@ -1,5 +1,5 @@ -T7967.hs:33:26: error: +T7967.hs:33:26: error: [GHC-83865] • Couldn't match type: h0 : t0 with: '[] Expected: Index n l diff --git a/testsuite/tests/indexed-types/should_fail/T8155.stderr b/testsuite/tests/indexed-types/should_fail/T8155.stderr index 771bb4fc58..6851d57b26 100644 --- a/testsuite/tests/indexed-types/should_fail/T8155.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8155.stderr @@ -1,5 +1,5 @@ -T8155.hs:26:14: error: +T8155.hs:26:14: error: [GHC-39999] • Could not deduce ‘Integral (BoundsOf (a -> a))’ arising from a use of ‘buildV’ from the context: Num a diff --git a/testsuite/tests/indexed-types/should_fail/T8227.stderr b/testsuite/tests/indexed-types/should_fail/T8227.stderr index e821356430..64792ae0e9 100644 --- a/testsuite/tests/indexed-types/should_fail/T8227.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8227.stderr @@ -1,5 +1,5 @@ -T8227.hs:24:27: error: +T8227.hs:24:27: error: [GHC-83865] • Couldn't match type: Scalar (V a) with: t0 -> t0 Expected: Scalar (V a) @@ -13,7 +13,7 @@ T8227.hs:24:27: error: absoluteToParam :: Scalar (V a) -> a -> Scalar (V a) (bound at T8227.hs:24:1) -T8227.hs:24:48: error: +T8227.hs:24:48: error: [GHC-27958] • Couldn't match type ‘t0’ with ‘Scalar (V t0)’ arising from a type equality Scalar (V a) ~ t0 -> t0 The type variable ‘t0’ is ambiguous diff --git a/testsuite/tests/indexed-types/should_fail/T8368.stderr b/testsuite/tests/indexed-types/should_fail/T8368.stderr index 8cd5e71bac..2d79b2deea 100644 --- a/testsuite/tests/indexed-types/should_fail/T8368.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8368.stderr @@ -1,5 +1,5 @@ -T8368.hs:9:3: error: +T8368.hs:9:3: error: [GHC-83865] • Couldn't match expected type ‘Fam a0’ with actual type ‘Foo’ • In the result type of data constructor ‘MkFam’ In the data instance declaration for ‘Fam’ diff --git a/testsuite/tests/indexed-types/should_fail/T8368a.stderr b/testsuite/tests/indexed-types/should_fail/T8368a.stderr index a3d01dc47f..3530b81c49 100644 --- a/testsuite/tests/indexed-types/should_fail/T8368a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8368a.stderr @@ -1,5 +1,5 @@ -T8368a.hs:7:3: error: +T8368a.hs:7:3: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: Fam Int b Actual: Fam Bool b diff --git a/testsuite/tests/indexed-types/should_fail/T8518.stderr b/testsuite/tests/indexed-types/should_fail/T8518.stderr index 044991ff5b..e2284caa37 100644 --- a/testsuite/tests/indexed-types/should_fail/T8518.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8518.stderr @@ -1,5 +1,5 @@ -T8518.hs:14:18: error: +T8518.hs:14:18: error: [GHC-83865] • Couldn't match expected type: Z c -> B c -> t0 with actual type: F c • The function ‘rpt’ is applied to four value arguments, @@ -17,7 +17,7 @@ T8518.hs:14:18: error: c :: c (bound at T8518.hs:14:10) callCont :: c -> Z c -> B c -> Maybe (F c) (bound at T8518.hs:14:1) -T8518.hs:17:9: error: +T8518.hs:17:9: error: [GHC-83865] • Couldn't match type: F t2 with: Z t2 -> B t2 -> F t2 Expected: t1 -> t2 -> F t2 diff --git a/testsuite/tests/indexed-types/should_fail/T9036.stderr b/testsuite/tests/indexed-types/should_fail/T9036.stderr index 0f783738ba..bb11438916 100644 --- a/testsuite/tests/indexed-types/should_fail/T9036.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9036.stderr @@ -1,11 +1,11 @@ -T9036.hs:18:17: error: +T9036.hs:18:17: error: [GHC-83865] • Couldn't match type: GetMonad t0 with: GetMonad t Expected: Maybe (GetMonad t after) -> Curried t [t] Actual: Maybe (GetMonad t0 after) -> Curried t0 [t0] - NB: ‘GetMonad’ is a non-injective type family - The type variable ‘t0’ is ambiguous + NB: ‘GetMonad’ is a non-injective type family + The type variable ‘t0’ is ambiguous • In the ambiguity check for ‘simpleLogger’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes In the type signature: diff --git a/testsuite/tests/indexed-types/should_fail/T9171.stderr b/testsuite/tests/indexed-types/should_fail/T9171.stderr index 6922be8ade..7d93c7aa8e 100644 --- a/testsuite/tests/indexed-types/should_fail/T9171.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9171.stderr @@ -1,11 +1,11 @@ -T9171.hs:10:20: error: +T9171.hs:10:20: error: [GHC-83865] • Couldn't match expected type: GetParam @(*) @k2 @(*) Base (GetParam @(*) @(*) @k2 Base Int) with actual type: GetParam @(*) @k20 @(*) Base (GetParam @(*) @(*) @k20 Base Int) - NB: ‘GetParam’ is a non-injective type family - The type variable ‘k20’ is ambiguous + NB: ‘GetParam’ is a non-injective type family + The type variable ‘k20’ is ambiguous • In the ambiguity check for an expression type signature To defer the ambiguity check to use sites, enable AllowAmbiguousTypes In an expression type signature: GetParam Base (GetParam Base Int) diff --git a/testsuite/tests/indexed-types/should_fail/T9357.stderr b/testsuite/tests/indexed-types/should_fail/T9357.stderr index 3cda558e9e..7c06fd5bb4 100644 --- a/testsuite/tests/indexed-types/should_fail/T9357.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9357.stderr @@ -1,4 +1,4 @@ -T9357.hs:12:15: error: +T9357.hs:12:15: error: [GHC-91510] • Illegal polymorphic type: forall (a :: TYPE t). a -> a • In the type instance declaration for ‘F’ diff --git a/testsuite/tests/indexed-types/should_fail/T9371.stderr b/testsuite/tests/indexed-types/should_fail/T9371.stderr index 9207ac5ae2..fe4c32ba29 100644 --- a/testsuite/tests/indexed-types/should_fail/T9371.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9371.stderr @@ -1,5 +1,5 @@ -T9371.hs:14:10: error: +T9371.hs:14:10: error: [GHC-34447] Conflicting family instance declarations: D x -- Defined at T9371.hs:14:10 D (x, y) -- Defined at T9371.hs:18:10 diff --git a/testsuite/tests/indexed-types/should_fail/T9580.stderr b/testsuite/tests/indexed-types/should_fail/T9580.stderr index 5612906f84..76206882ed 100644 --- a/testsuite/tests/indexed-types/should_fail/T9580.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9580.stderr @@ -1,11 +1,11 @@ [1 of 2] Compiling T9580a ( T9580a.hs, T9580a.o ) [2 of 2] Compiling T9580 ( T9580.hs, T9580.o ) -T9580.hs:7:9: error: - Couldn't match representation of type ‘Dimensional Int Double’ - with that of ‘Double’ - arising from a use of ‘coerce’ - The data constructor ‘T9580a.Quantity'’ - of newtype ‘Dimensional Int v’ is not in scope - In the expression: coerce x - In an equation for ‘foo’: foo x = coerce x +T9580.hs:7:9: error: [GHC-18872] + • Couldn't match representation of type ‘Dimensional Int Double’ + with that of ‘Double’ + arising from a use of ‘coerce’ + The data constructor ‘T9580a.Quantity'’ + of newtype ‘Dimensional Int v’ is not in scope + • In the expression: coerce x + In an equation for ‘foo’: foo x = coerce x diff --git a/testsuite/tests/indexed-types/should_fail/T9662.stderr b/testsuite/tests/indexed-types/should_fail/T9662.stderr index 9584311636..20e0084aa2 100644 --- a/testsuite/tests/indexed-types/should_fail/T9662.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9662.stderr @@ -1,5 +1,5 @@ -T9662.hs:49:8: error: +T9662.hs:49:8: error: [GHC-25897] • Couldn't match type ‘k’ with ‘Int’ Expected: Exp (((sh :. k) :. m) :. n) -> Exp (((sh :. m) :. n) :. k) diff --git a/testsuite/tests/layout/layout001.stdout b/testsuite/tests/layout/layout001.stdout index a8b1976673..8d4ee0d1be 100644 --- a/testsuite/tests/layout/layout001.stdout +++ b/testsuite/tests/layout/layout001.stdout @@ -1,9 +1,9 @@ Running with -XNoAlternativeLayoutRule Running with -XAlternativeLayoutRule -layout001.hs:6:3: error: parse error on input ‘where’ +layout001.hs:6:3: error: [GHC-58481] parse error on input ‘where’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional -layout001.hs:6:3: warning: [-Walternative-layout-rule-transitional (in -Wdefault)] +layout001.hs:6:3: warning: [GHC-93617] [-Walternative-layout-rule-transitional (in -Wdefault)] transitional layout will not be accepted in the future: `where' clause at the same depth as implicit layout block diff --git a/testsuite/tests/layout/layout003.stdout b/testsuite/tests/layout/layout003.stdout index 927fe884c7..2a9d2c57cf 100644 --- a/testsuite/tests/layout/layout003.stdout +++ b/testsuite/tests/layout/layout003.stdout @@ -1,9 +1,9 @@ Running with -XNoAlternativeLayoutRule Running with -XAlternativeLayoutRule -layout003.hs:11:4: error: parse error on input ‘|’ +layout003.hs:11:4: error: [GHC-58481] parse error on input ‘|’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional -layout003.hs:11:4: warning: [-Walternative-layout-rule-transitional (in -Wdefault)] +layout003.hs:11:4: warning: [GHC-93617] [-Walternative-layout-rule-transitional (in -Wdefault)] transitional layout will not be accepted in the future: `|' at the same depth as implicit layout block diff --git a/testsuite/tests/layout/layout004.stdout b/testsuite/tests/layout/layout004.stdout index 264606f13c..e300472205 100644 --- a/testsuite/tests/layout/layout004.stdout +++ b/testsuite/tests/layout/layout004.stdout @@ -1,7 +1,7 @@ Running with -XNoAlternativeLayoutRule Running with -XAlternativeLayoutRule -layout004.hs:7:14: parse error on input ‘,’ +layout004.hs:7:14: error: [GHC-58481] parse error on input ‘,’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional -layout004.hs:7:14: parse error on input ‘,’ +layout004.hs:7:14: error: [GHC-58481] parse error on input ‘,’ diff --git a/testsuite/tests/layout/layout006.stdout b/testsuite/tests/layout/layout006.stdout index 8037c234c5..bb6ac25311 100644 --- a/testsuite/tests/layout/layout006.stdout +++ b/testsuite/tests/layout/layout006.stdout @@ -1,17 +1,17 @@ Running with -XNoAlternativeLayoutRule -layout006.hs:12:4: warning: [-Woverlapping-patterns (in -Wdefault)] +layout006.hs:12:4: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f | True = ... Running with -XAlternativeLayoutRule -layout006.hs:12:2: error: parse error on input ‘|’ +layout006.hs:12:2: error: [GHC-58481] parse error on input ‘|’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional -layout006.hs:12:2: warning: [-Walternative-layout-rule-transitional (in -Wdefault)] +layout006.hs:12:2: warning: [GHC-93617] [-Walternative-layout-rule-transitional (in -Wdefault)] transitional layout will not be accepted in the future: `|' at the same depth as implicit layout block -layout006.hs:12:4: warning: [-Woverlapping-patterns (in -Wdefault)] +layout006.hs:12:4: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f | True = ... diff --git a/testsuite/tests/linear/should_fail/Linear1.stderr b/testsuite/tests/linear/should_fail/Linear1.stderr index c549d75be3..8d68aff479 100644 --- a/testsuite/tests/linear/should_fail/Linear1.stderr +++ b/testsuite/tests/linear/should_fail/Linear1.stderr @@ -1,10 +1,10 @@ -Linear1.hs:10:14: error: +Linear1.hs:10:14: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectDup’: incorrectDup x = (x, x) -Linear1.hs:14:15: error: +Linear1.hs:14:15: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectDrop’: incorrectDrop x = () diff --git a/testsuite/tests/linear/should_fail/Linear11.stderr b/testsuite/tests/linear/should_fail/Linear11.stderr index cb52fa16f4..2ab0f3f162 100644 --- a/testsuite/tests/linear/should_fail/Linear11.stderr +++ b/testsuite/tests/linear/should_fail/Linear11.stderr @@ -1,11 +1,11 @@ -Linear11.hs:9:23: error: +Linear11.hs:9:23: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘a’ • In an equation for ‘incorrectUnrestricted’: incorrectUnrestricted a = Unrestricted a -Linear11.hs:14:43: error: +Linear11.hs:14:43: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘a’ • In the pattern: NotUnrestricted a diff --git a/testsuite/tests/linear/should_fail/Linear13.stderr b/testsuite/tests/linear/should_fail/Linear13.stderr index 4e8603c3e3..62c0097b68 100644 --- a/testsuite/tests/linear/should_fail/Linear13.stderr +++ b/testsuite/tests/linear/should_fail/Linear13.stderr @@ -1,11 +1,11 @@ -Linear13.hs:6:14: error: +Linear13.hs:6:14: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘a’ • In an equation for ‘incorrectLet’: incorrectLet a = let x = a in () -Linear13.hs:9:27: error: +Linear13.hs:9:27: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectLetWithSignature’: @@ -15,13 +15,13 @@ Linear13.hs:9:27: error: y = x in () -Linear13.hs:12:20: error: +Linear13.hs:12:20: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectLazyMatch’: incorrectLazyMatch x = let (a, b) = x in b -Linear13.hs:15:24: error: +Linear13.hs:15:24: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectCasePromotion’: diff --git a/testsuite/tests/linear/should_fail/Linear17.stderr b/testsuite/tests/linear/should_fail/Linear17.stderr index 12193e115b..1329db16e3 100644 --- a/testsuite/tests/linear/should_fail/Linear17.stderr +++ b/testsuite/tests/linear/should_fail/Linear17.stderr @@ -1,5 +1,5 @@ -Linear17.hs:17:3: error: +Linear17.hs:17:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In a stmt of a 'do' block: x <- () @@ -16,7 +16,7 @@ Linear17.hs:17:3: error: () <- y .... -Linear17.hs:25:6: error: +Linear17.hs:25:6: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘z’ • In the pattern: (y, z) @@ -27,7 +27,7 @@ Linear17.hs:25:6: error: () <- y () -Linear17.hs:30:3: error: +Linear17.hs:30:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In a stmt of a 'do' block: x <- () diff --git a/testsuite/tests/linear/should_fail/Linear2.stderr b/testsuite/tests/linear/should_fail/Linear2.stderr index eec52922a0..b659915b9a 100644 --- a/testsuite/tests/linear/should_fail/Linear2.stderr +++ b/testsuite/tests/linear/should_fail/Linear2.stderr @@ -1,15 +1,15 @@ -Linear2.hs:9:15: error: +Linear2.hs:9:15: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectApp1’: incorrectApp1 x = dup (x, 0) -Linear2.hs:12:17: error: +Linear2.hs:12:17: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectApp2’: incorrectApp2 f x = f x -Linear2.hs:15:15: error: +Linear2.hs:15:15: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘n’ • In an equation for ‘incorrectIf’: diff --git a/testsuite/tests/linear/should_fail/Linear5.stderr b/testsuite/tests/linear/should_fail/Linear5.stderr index 4de49fb9d9..d6856c1174 100644 --- a/testsuite/tests/linear/should_fail/Linear5.stderr +++ b/testsuite/tests/linear/should_fail/Linear5.stderr @@ -1,5 +1,5 @@ -Linear5.hs:7:20: error: +Linear5.hs:7:20: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘n’ • In an equation for ‘incorrectEqn’: incorrectEqn False n = 0 diff --git a/testsuite/tests/linear/should_fail/Linear7.stderr b/testsuite/tests/linear/should_fail/Linear7.stderr index 9dc596477d..fe7b58ac6a 100644 --- a/testsuite/tests/linear/should_fail/Linear7.stderr +++ b/testsuite/tests/linear/should_fail/Linear7.stderr @@ -1,5 +1,5 @@ -Linear7.hs:7:16: error: +Linear7.hs:7:16: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘n’ • In an equation for ‘incorrectLCase’: diff --git a/testsuite/tests/linear/should_fail/Linear9.stderr b/testsuite/tests/linear/should_fail/Linear9.stderr index ab13270ee3..34148b5817 100644 --- a/testsuite/tests/linear/should_fail/Linear9.stderr +++ b/testsuite/tests/linear/should_fail/Linear9.stderr @@ -1,32 +1,32 @@ -Linear9.hs:9:17: error: +Linear9.hs:9:17: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: _ In the pattern: (a, _) In an equation for ‘incorrectFst’: incorrectFst (a, _) = a -Linear9.hs:12:20: error: +Linear9.hs:12:20: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘b’ • In the pattern: (a, b) In an equation for ‘incorrectFstVar’: incorrectFstVar (a, b) = a -Linear9.hs:15:20: error: +Linear9.hs:15:20: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘a’ • In the pattern: (a, b) In an equation for ‘incorrectFirstDup’: incorrectFirstDup (a, b) = ((a, a), b) -Linear9.hs:18:21: error: +Linear9.hs:18:21: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: _ In the pattern: (a, _) In the pattern: ((a, _), _) -Linear9.hs:18:24: error: +Linear9.hs:18:24: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: _ @@ -34,7 +34,7 @@ Linear9.hs:18:24: error: In an equation for ‘incorrectFstFst’: incorrectFstFst ((a, _), _) = a -Linear9.hs:25:25: error: +Linear9.hs:25:25: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: _ diff --git a/testsuite/tests/linear/should_fail/LinearAsPat.stderr b/testsuite/tests/linear/should_fail/LinearAsPat.stderr index 7d6cc245cf..ef13389074 100644 --- a/testsuite/tests/linear/should_fail/LinearAsPat.stderr +++ b/testsuite/tests/linear/should_fail/LinearAsPat.stderr @@ -1,5 +1,5 @@ -LinearAsPat.hs:6:12: error: +LinearAsPat.hs:6:12: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In an equation for ‘shouldFail’: shouldFail x@True = x diff --git a/testsuite/tests/linear/should_fail/LinearBottomMult.stderr b/testsuite/tests/linear/should_fail/LinearBottomMult.stderr index 11ee3d10fd..aa6dab87d9 100644 --- a/testsuite/tests/linear/should_fail/LinearBottomMult.stderr +++ b/testsuite/tests/linear/should_fail/LinearBottomMult.stderr @@ -1,5 +1,5 @@ -LinearBottomMult.hs:13:3: error: +LinearBottomMult.hs:13:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘f’: diff --git a/testsuite/tests/linear/should_fail/LinearConfusedDollar.stderr b/testsuite/tests/linear/should_fail/LinearConfusedDollar.stderr index 51dc7cdd91..55022acd61 100644 --- a/testsuite/tests/linear/should_fail/LinearConfusedDollar.stderr +++ b/testsuite/tests/linear/should_fail/LinearConfusedDollar.stderr @@ -1,5 +1,5 @@ -LinearConfusedDollar.hs:12:7: error: +LinearConfusedDollar.hs:12:7: error: [GHC-83865] • Couldn't match type ‘'One’ with ‘'Many’ Expected: a -> a Actual: a %1 -> a diff --git a/testsuite/tests/linear/should_fail/LinearErrOrigin.stderr b/testsuite/tests/linear/should_fail/LinearErrOrigin.stderr index 7bd7222618..dd7e04d936 100644 --- a/testsuite/tests/linear/should_fail/LinearErrOrigin.stderr +++ b/testsuite/tests/linear/should_fail/LinearErrOrigin.stderr @@ -1,5 +1,5 @@ -LinearErrOrigin.hs:7:7: error: +LinearErrOrigin.hs:7:7: error: [GHC-25897] • Couldn't match type ‘p’ with ‘q’ arising from multiplicity of ‘x’ ‘p’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/linear/should_fail/LinearFFI.stderr b/testsuite/tests/linear/should_fail/LinearFFI.stderr index 6d0707252e..8473ad0425 100644 --- a/testsuite/tests/linear/should_fail/LinearFFI.stderr +++ b/testsuite/tests/linear/should_fail/LinearFFI.stderr @@ -1,18 +1,18 @@ -LinearFFI.hs:6:1: error: +LinearFFI.hs:6:1: error: [GHC-57396] • Unacceptable argument type in foreign declaration: Linear types are not supported in FFI declarations, see #18472 • When checking declaration: foreign import ccall safe "exp" c_exp :: Double %1 -> Double -LinearFFI.hs:7:1: error: +LinearFFI.hs:7:1: error: [GHC-57396] • Unacceptable argument type in foreign declaration: Linear types are not supported in FFI declarations, see #18472 • When checking declaration: foreign import stdcall safe "dynamic" d8 :: FunPtr (IO Int) %1 -> IO Int -LinearFFI.hs:8:1: error: +LinearFFI.hs:8:1: error: [GHC-57396] • Unacceptable argument type in foreign declaration: Linear types are not supported in FFI declarations, see #18472 • When checking declaration: diff --git a/testsuite/tests/linear/should_fail/LinearIf.stderr b/testsuite/tests/linear/should_fail/LinearIf.stderr index c34bec5f4d..122d1f9a8e 100644 --- a/testsuite/tests/linear/should_fail/LinearIf.stderr +++ b/testsuite/tests/linear/should_fail/LinearIf.stderr @@ -1,15 +1,15 @@ -LinearIf.hs:13:3: error: +LinearIf.hs:13:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘b’ • In an equation for ‘f’: f b x y = if b then x else y -LinearIf.hs:13:5: error: +LinearIf.hs:13:5: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘f’: f b x y = if b then x else y -LinearIf.hs:13:7: error: +LinearIf.hs:13:7: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘y’ • In an equation for ‘f’: f b x y = if b then x else y diff --git a/testsuite/tests/linear/should_fail/LinearKind.stderr b/testsuite/tests/linear/should_fail/LinearKind.stderr index c70e90a1b5..c3efe4d3ce 100644 --- a/testsuite/tests/linear/should_fail/LinearKind.stderr +++ b/testsuite/tests/linear/should_fail/LinearKind.stderr @@ -1,4 +1,4 @@ -LinearKind.hs:4:1: error: +LinearKind.hs:4:1: error: [GHC-13218] • Illegal linear function in a kind: * %1 -> * • In the data type declaration for ‘A’ diff --git a/testsuite/tests/linear/should_fail/LinearKind2.stderr b/testsuite/tests/linear/should_fail/LinearKind2.stderr index 0bdf1b0d19..2426e1cf80 100644 --- a/testsuite/tests/linear/should_fail/LinearKind2.stderr +++ b/testsuite/tests/linear/should_fail/LinearKind2.stderr @@ -1,4 +1,4 @@ -LinearKind2.hs:7:1: error: +LinearKind2.hs:7:1: error: [GHC-13218] • Illegal linear function in a kind: * %1 -> * • In the data type declaration for ‘Two’ diff --git a/testsuite/tests/linear/should_fail/LinearKind3.stderr b/testsuite/tests/linear/should_fail/LinearKind3.stderr index 8e16996baf..8f55a8ab37 100644 --- a/testsuite/tests/linear/should_fail/LinearKind3.stderr +++ b/testsuite/tests/linear/should_fail/LinearKind3.stderr @@ -1,5 +1,5 @@ -LinearKind3.hs:8:1: error: +LinearKind3.hs:8:1: error: [GHC-13218] • Illegal linear function in a kind: * %1 -> * • In the expansion of type synonym ‘K’ In the data type declaration for ‘T’ diff --git a/testsuite/tests/linear/should_fail/LinearLazyPat.stderr b/testsuite/tests/linear/should_fail/LinearLazyPat.stderr index 1893d10417..cb923f9416 100644 --- a/testsuite/tests/linear/should_fail/LinearLazyPat.stderr +++ b/testsuite/tests/linear/should_fail/LinearLazyPat.stderr @@ -1,5 +1,5 @@ -LinearLazyPat.hs:5:3: error: +LinearLazyPat.hs:5:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: ~(x, y) diff --git a/testsuite/tests/linear/should_fail/LinearLet.stderr b/testsuite/tests/linear/should_fail/LinearLet.stderr index 3b94833d7e..de1771f89f 100644 --- a/testsuite/tests/linear/should_fail/LinearLet.stderr +++ b/testsuite/tests/linear/should_fail/LinearLet.stderr @@ -1,5 +1,5 @@ -LinearLet.hs:5:3: error: +LinearLet.hs:5:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘f’: f x = let y = x in (y, y) diff --git a/testsuite/tests/linear/should_fail/LinearNoExt.stderr b/testsuite/tests/linear/should_fail/LinearNoExt.stderr index 6bcb5425ed..21bbc6181e 100644 --- a/testsuite/tests/linear/should_fail/LinearNoExt.stderr +++ b/testsuite/tests/linear/should_fail/LinearNoExt.stderr @@ -1,4 +1,4 @@ -LinearNoExt.hs:3:14: error: +LinearNoExt.hs:3:14: error: [GHC-31574] Illegal use of linear functions Suggested fix: Perhaps you intended to use LinearTypes diff --git a/testsuite/tests/linear/should_fail/LinearNoExtU.stderr b/testsuite/tests/linear/should_fail/LinearNoExtU.stderr index 4c6e3a9065..ae769e7626 100644 --- a/testsuite/tests/linear/should_fail/LinearNoExtU.stderr +++ b/testsuite/tests/linear/should_fail/LinearNoExtU.stderr @@ -1,4 +1,4 @@ -LinearNoExtU.hs:4:14: error: +LinearNoExtU.hs:4:14: error: [GHC-31574] Illegal use of linear functions Suggested fix: Perhaps you intended to use LinearTypes diff --git a/testsuite/tests/linear/should_fail/LinearPartialSig.stderr b/testsuite/tests/linear/should_fail/LinearPartialSig.stderr index cc302ec4b6..405e6df2be 100644 --- a/testsuite/tests/linear/should_fail/LinearPartialSig.stderr +++ b/testsuite/tests/linear/should_fail/LinearPartialSig.stderr @@ -1,5 +1,5 @@ -LinearPartialSig.hs:5:9: error: +LinearPartialSig.hs:5:9: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘'Many :: GHC.Types.Multiplicity’ To use the inferred type, enable PartialTypeSignatures diff --git a/testsuite/tests/linear/should_fail/LinearPatSyn.stderr b/testsuite/tests/linear/should_fail/LinearPatSyn.stderr index 95d18396aa..bda38f7765 100644 --- a/testsuite/tests/linear/should_fail/LinearPatSyn.stderr +++ b/testsuite/tests/linear/should_fail/LinearPatSyn.stderr @@ -1,5 +1,5 @@ -LinearPatSyn.hs:13:4: error: +LinearPatSyn.hs:13:4: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: P y x diff --git a/testsuite/tests/linear/should_fail/LinearPatSyn2.stderr b/testsuite/tests/linear/should_fail/LinearPatSyn2.stderr index 78b3ee52f6..c0acb225bd 100644 --- a/testsuite/tests/linear/should_fail/LinearPatSyn2.stderr +++ b/testsuite/tests/linear/should_fail/LinearPatSyn2.stderr @@ -1,5 +1,5 @@ -LinearPatSyn2.hs:6:1: error: +LinearPatSyn2.hs:6:1: error: [GHC-15172] • Pattern synonyms do not support linear fields (GHC #18806): x %1 -> Maybe x • In the declaration for pattern synonym ‘J’ diff --git a/testsuite/tests/linear/should_fail/LinearPatternGuardWildcard.stderr b/testsuite/tests/linear/should_fail/LinearPatternGuardWildcard.stderr index 466ad41862..05aea0087b 100644 --- a/testsuite/tests/linear/should_fail/LinearPatternGuardWildcard.stderr +++ b/testsuite/tests/linear/should_fail/LinearPatternGuardWildcard.stderr @@ -1,5 +1,5 @@ -LinearPatternGuardWildcard.hs:7:15: error: +LinearPatternGuardWildcard.hs:7:15: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘unsafeConsume’: unsafeConsume x | _ <- x = () diff --git a/testsuite/tests/linear/should_fail/LinearPolyType.stderr b/testsuite/tests/linear/should_fail/LinearPolyType.stderr index 22d8013aed..5988dc53a1 100644 --- a/testsuite/tests/linear/should_fail/LinearPolyType.stderr +++ b/testsuite/tests/linear/should_fail/LinearPolyType.stderr @@ -1,6 +1,6 @@ -LinearPolyType.hs:15:1: error: +LinearPolyType.hs:15:1: error: [GHC-59840] GHC bug #19517: GHC currently does not support programs using GADTs or type families to witness equality of multiplicities -LinearPolyType.hs:15:1: error: +LinearPolyType.hs:15:1: error: [GHC-59840] GHC bug #19517: GHC currently does not support programs using GADTs or type families to witness equality of multiplicities diff --git a/testsuite/tests/linear/should_fail/LinearRecordUpdate.stderr b/testsuite/tests/linear/should_fail/LinearRecordUpdate.stderr index aa32a9db68..faf82f690e 100644 --- a/testsuite/tests/linear/should_fail/LinearRecordUpdate.stderr +++ b/testsuite/tests/linear/should_fail/LinearRecordUpdate.stderr @@ -1,5 +1,5 @@ -LinearRecordUpdate.hs:8:12: error: +LinearRecordUpdate.hs:8:12: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘r’ • In an equation for ‘shouldFail’: shouldFail r = r {y = False} diff --git a/testsuite/tests/linear/should_fail/LinearRole.stderr b/testsuite/tests/linear/should_fail/LinearRole.stderr index 6d499c4d70..edeb98d84d 100644 --- a/testsuite/tests/linear/should_fail/LinearRole.stderr +++ b/testsuite/tests/linear/should_fail/LinearRole.stderr @@ -1,5 +1,5 @@ -LinearRole.hs:12:7: error: +LinearRole.hs:12:7: error: [GHC-18872] • Couldn't match type ‘'One’ with ‘'Many’ arising from a use of ‘coerce’ • In the expression: coerce x diff --git a/testsuite/tests/linear/should_fail/LinearSeq.stderr b/testsuite/tests/linear/should_fail/LinearSeq.stderr index f6b22b5999..2ed15de260 100644 --- a/testsuite/tests/linear/should_fail/LinearSeq.stderr +++ b/testsuite/tests/linear/should_fail/LinearSeq.stderr @@ -1,5 +1,5 @@ -LinearSeq.hs:6:5: error: +LinearSeq.hs:6:5: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘bad’: bad x = seq x () diff --git a/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr b/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr index a3fdb4d7df..9c04ee212a 100644 --- a/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr +++ b/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr @@ -1,10 +1,10 @@ -LinearSequenceExpr.hs:7:3: error: +LinearSequenceExpr.hs:7:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘f’: f x y = [x .. y] -LinearSequenceExpr.hs:7:5: error: +LinearSequenceExpr.hs:7:5: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘y’ • In an equation for ‘f’: f x y = [x .. y] diff --git a/testsuite/tests/linear/should_fail/LinearTHFail.stderr b/testsuite/tests/linear/should_fail/LinearTHFail.stderr index 681fa4294d..90ddb47e38 100644 --- a/testsuite/tests/linear/should_fail/LinearTHFail.stderr +++ b/testsuite/tests/linear/should_fail/LinearTHFail.stderr @@ -1,5 +1,5 @@ -LinearTHFail.hs:8:3: error: +LinearTHFail.hs:8:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘f’: @@ -7,7 +7,7 @@ LinearTHFail.hs:8:3: error: = [| Just $x |] pending(rn) [<spn, x>] -LinearTHFail.hs:11:3: error: +LinearTHFail.hs:11:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘g’: g x = [|| Just $$x ||] diff --git a/testsuite/tests/linear/should_fail/LinearTHFail2.stderr b/testsuite/tests/linear/should_fail/LinearTHFail2.stderr index bab983bfd0..5defe5bde7 100644 --- a/testsuite/tests/linear/should_fail/LinearTHFail2.stderr +++ b/testsuite/tests/linear/should_fail/LinearTHFail2.stderr @@ -1,3 +1,3 @@ -LinearTHFail2.hs:7:2: error: +LinearTHFail2.hs:7:2: error: [GHC-65904] Non-linear fields in data constructors not (yet) handled by Template Haskell diff --git a/testsuite/tests/linear/should_fail/LinearTHFail3.stderr b/testsuite/tests/linear/should_fail/LinearTHFail3.stderr index dcf0038b6e..d518eb4083 100644 --- a/testsuite/tests/linear/should_fail/LinearTHFail3.stderr +++ b/testsuite/tests/linear/should_fail/LinearTHFail3.stderr @@ -1,3 +1,3 @@ -LinearTHFail3.hs:7:2: error: +LinearTHFail3.hs:7:2: error: [GHC-65904] Non-linear fields in data constructors not (yet) handled by Template Haskell diff --git a/testsuite/tests/linear/should_fail/LinearVar.stderr b/testsuite/tests/linear/should_fail/LinearVar.stderr index 85a9cff899..e327454936 100644 --- a/testsuite/tests/linear/should_fail/LinearVar.stderr +++ b/testsuite/tests/linear/should_fail/LinearVar.stderr @@ -1,5 +1,5 @@ -LinearVar.hs:5:5: error: +LinearVar.hs:5:5: error: [GHC-25897] • Couldn't match type ‘m’ with ‘'Many’ Expected: a %m -> b Actual: a -> b diff --git a/testsuite/tests/linear/should_fail/LinearViewPattern.stderr b/testsuite/tests/linear/should_fail/LinearViewPattern.stderr index c0aa969741..d923a5eefd 100644 --- a/testsuite/tests/linear/should_fail/LinearViewPattern.stderr +++ b/testsuite/tests/linear/should_fail/LinearViewPattern.stderr @@ -1,5 +1,5 @@ -LinearViewPattern.hs:11:4: error: +LinearViewPattern.hs:11:4: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: not -> True diff --git a/testsuite/tests/linear/should_fail/T18888_datakinds.stderr b/testsuite/tests/linear/should_fail/T18888_datakinds.stderr index a2a7ad88c7..1771d39cb5 100644 --- a/testsuite/tests/linear/should_fail/T18888_datakinds.stderr +++ b/testsuite/tests/linear/should_fail/T18888_datakinds.stderr @@ -1,5 +1,5 @@ -T18888_datakinds.hs:5:9: - Expected kind ‘GHC.Types.Multiplicity’, +T18888_datakinds.hs:5:9: error: [GHC-83865] + • Expected kind ‘GHC.Types.Multiplicity’, but ‘001’ has kind ‘GHC.Num.Natural.Natural’ - In the type signature: f :: a %001 -> b + • In the type signature: f :: a %001 -> b diff --git a/testsuite/tests/linear/should_fail/T19120.stderr b/testsuite/tests/linear/should_fail/T19120.stderr index 5926c50047..8ab12c00b1 100644 --- a/testsuite/tests/linear/should_fail/T19120.stderr +++ b/testsuite/tests/linear/should_fail/T19120.stderr @@ -1,5 +1,5 @@ -T19120.hs:9:3: error: +T19120.hs:9:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘z’: z x | notL x = True diff --git a/testsuite/tests/linear/should_fail/T19361.stderr b/testsuite/tests/linear/should_fail/T19361.stderr index 1d7746786a..31770a96e5 100644 --- a/testsuite/tests/linear/should_fail/T19361.stderr +++ b/testsuite/tests/linear/should_fail/T19361.stderr @@ -1,5 +1,5 @@ -T19361.hs:6:3: error: +T19361.hs:6:3: error: [GHC-25897] • Couldn't match type ‘m’ with ‘'Many’ arising from multiplicity of ‘x’ ‘m’ is a rigid type variable bound by diff --git a/testsuite/tests/linear/should_fail/T20083.stderr b/testsuite/tests/linear/should_fail/T20083.stderr index 5799d7c86d..32968a4e7d 100644 --- a/testsuite/tests/linear/should_fail/T20083.stderr +++ b/testsuite/tests/linear/should_fail/T20083.stderr @@ -1,5 +1,5 @@ -T20083.hs:6:6: error: +T20083.hs:6:6: error: [GHC-25897] • Couldn't match type ‘m’ with ‘'Many’ arising from multiplicity of ‘x’ ‘m’ is a rigid type variable bound by @@ -11,7 +11,7 @@ T20083.hs:6:6: error: • Relevant bindings include ap :: (a -> b) -> a %m -> b (bound at T20083.hs:6:1) -T20083.hs:9:5: error: +T20083.hs:9:5: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: _ diff --git a/testsuite/tests/linear/should_fail/TypeClass.stderr b/testsuite/tests/linear/should_fail/TypeClass.stderr index c7116dd22b..ae7419f970 100644 --- a/testsuite/tests/linear/should_fail/TypeClass.stderr +++ b/testsuite/tests/linear/should_fail/TypeClass.stderr @@ -1,5 +1,5 @@ -TypeClass.hs:45:7: error: +TypeClass.hs:45:7: error: [GHC-39999] • No instance for ‘Iden (FUN 'One)’ arising from a use of ‘iden’ • In the expression: iden In an equation for ‘foo’: foo = iden diff --git a/testsuite/tests/mdo/should_fail/mdofail001.stderr b/testsuite/tests/mdo/should_fail/mdofail001.stderr index 9a3ea6686d..888bb90fbf 100644 --- a/testsuite/tests/mdo/should_fail/mdofail001.stderr +++ b/testsuite/tests/mdo/should_fail/mdofail001.stderr @@ -1,5 +1,5 @@ -mdofail001.hs:10:32: error: +mdofail001.hs:10:32: error: [GHC-39999] • No instance for ‘Num Char’ arising from the literal ‘1’ • In the expression: 1 In the first argument of ‘l’, namely ‘[1, 2, 3]’ diff --git a/testsuite/tests/mdo/should_fail/mdofail005.stderr b/testsuite/tests/mdo/should_fail/mdofail005.stderr index 18e2e4ae9d..f05b79311d 100644 --- a/testsuite/tests/mdo/should_fail/mdofail005.stderr +++ b/testsuite/tests/mdo/should_fail/mdofail005.stderr @@ -1,4 +1,4 @@ -mdofail005.hs:11:14: error: +mdofail005.hs:11:14: error: [GHC-58481] parse error on input ‘<-’ Suggested fix: Perhaps you intended to use RecursiveDo diff --git a/testsuite/tests/module/MultiExport.stderr b/testsuite/tests/module/MultiExport.stderr index d117b69c8b..b1ee8024b6 100644 --- a/testsuite/tests/module/MultiExport.stderr +++ b/testsuite/tests/module/MultiExport.stderr @@ -1,3 +1,3 @@ -MultiExport.hs:2:14: warning: [-Wduplicate-exports (in -Wdefault)] +MultiExport.hs:2:14: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘x’ is exported by ‘A(x, x)’ and ‘A(x, x)’ diff --git a/testsuite/tests/module/T11432.stderr b/testsuite/tests/module/T11432.stderr index 61ccc7d960..571e47f485 100644 --- a/testsuite/tests/module/T11432.stderr +++ b/testsuite/tests/module/T11432.stderr @@ -1,4 +1,4 @@ -T11432.hs:7:16: error: +T11432.hs:7:16: error: [GHC-18208] Expecting a type constructor but found a variable, ‘-.->’. If ‘-.->’ is a type constructor then enable ExplicitNamespaces and use the 'type' keyword. diff --git a/testsuite/tests/module/T11432a.stderr b/testsuite/tests/module/T11432a.stderr index 79d65257e6..c4408457ee 100644 --- a/testsuite/tests/module/T11432a.stderr +++ b/testsuite/tests/module/T11432a.stderr @@ -1,4 +1,4 @@ -T11432a.hs:7:17: error: +T11432a.hs:7:17: error: [GHC-18208] Expecting a type constructor but found a variable, ‘-.->’. If ‘-.->’ is a type constructor then enable ExplicitNamespaces and use the 'type' keyword. diff --git a/testsuite/tests/module/T11970.stderr b/testsuite/tests/module/T11970.stderr index 246dd7db4c..34f76c9fd2 100644 --- a/testsuite/tests/module/T11970.stderr +++ b/testsuite/tests/module/T11970.stderr @@ -1,13 +1,12 @@ -T11970.hs:6:40: error: +T11970.hs:6:40: error: [GHC-88993] • The type constructor ‘C’ is not the parent of the record selector ‘recSel’. Record selectors can only be exported with their parent type constructor. Parent: B • In the export: C(C, P, x, Q, B, recSel) -T11970.hs:6:40: error: +T11970.hs:6:40: error: [GHC-88993] • The type constructor ‘C’ is not the parent of the data constructor ‘B’. Data constructors can only be exported with their parent type constructor. Parent: B • In the export: C(C, P, x, Q, B, recSel) - diff --git a/testsuite/tests/module/T11970B.stderr b/testsuite/tests/module/T11970B.stderr index 240a5fa5f6..eebf039943 100644 --- a/testsuite/tests/module/T11970B.stderr +++ b/testsuite/tests/module/T11970B.stderr @@ -1,5 +1,5 @@ -T11970B.hs:1:18: error: +T11970B.hs:1:18: error: [GHC-88993] • The type constructor ‘A’ is not the parent of the identifier ‘f’. Identifiers can only be exported with their parent type constructor. • In the export: A(f) diff --git a/testsuite/tests/module/T12026.stderr b/testsuite/tests/module/T12026.stderr index cd93875dc2..7545476025 100644 --- a/testsuite/tests/module/T12026.stderr +++ b/testsuite/tests/module/T12026.stderr @@ -1,3 +1,3 @@ -T12026.hs:3:17: error: +T12026.hs:3:17: error: [GHC-18208] Expecting a type constructor but found a variable, ‘map’. diff --git a/testsuite/tests/module/mod10.stderr b/testsuite/tests/module/mod10.stderr index 1412b6af7d..94ba9bf925 100644 --- a/testsuite/tests/module/mod10.stderr +++ b/testsuite/tests/module/mod10.stderr @@ -1,4 +1,4 @@ -mod10.hs:2:10: error: +mod10.hs:2:10: error: [GHC-76037] • Not in scope: type constructor or class ‘T’ • In the export: T(K1) diff --git a/testsuite/tests/module/mod101.stderr b/testsuite/tests/module/mod101.stderr index ecaae0a7d2..9e2ae7b3b0 100644 --- a/testsuite/tests/module/mod101.stderr +++ b/testsuite/tests/module/mod101.stderr @@ -1,4 +1,4 @@ -mod101.hs:8:5: error: +mod101.hs:8:5: error: [GHC-88464] Data constructor not in scope: ConB :: Bool -> DataA Suggested fix: Perhaps use ‘ConA’ (imported from Mod101_AuxB) diff --git a/testsuite/tests/module/mod102.stderr b/testsuite/tests/module/mod102.stderr index afb4f9db7d..b240654bdd 100644 --- a/testsuite/tests/module/mod102.stderr +++ b/testsuite/tests/module/mod102.stderr @@ -1,4 +1,4 @@ -mod102.hs:8:5: error: +mod102.hs:8:5: error: [GHC-88464] Variable not in scope: methB :: Bool -> Bool -> () Suggested fix: Perhaps use ‘methA’ (imported from Mod102_AuxB) diff --git a/testsuite/tests/module/mod114.stderr b/testsuite/tests/module/mod114.stderr index e473360f15..5b50ec52fb 100644 --- a/testsuite/tests/module/mod114.stderr +++ b/testsuite/tests/module/mod114.stderr @@ -1,5 +1,5 @@ -mod114.hs:3:16: error: +mod114.hs:3:16: error: [GHC-76037] Not in scope: type constructor or class ‘Stuff’ Suggested fix: Perhaps you want to remove ‘Stuff’ from the explicit hiding list diff --git a/testsuite/tests/module/mod116.stderr b/testsuite/tests/module/mod116.stderr index 6dd4a9fc02..52294e030c 100644 --- a/testsuite/tests/module/mod116.stderr +++ b/testsuite/tests/module/mod116.stderr @@ -1,2 +1,3 @@ -mod116.hs:2:18: Not in scope: type constructor or class ‘M2’ +mod116.hs:2:18: error: [GHC-76037] + Not in scope: type constructor or class ‘M2’ diff --git a/testsuite/tests/module/mod120.stderr b/testsuite/tests/module/mod120.stderr index 235bb5b7eb..25c59105b1 100644 --- a/testsuite/tests/module/mod120.stderr +++ b/testsuite/tests/module/mod120.stderr @@ -1,2 +1,3 @@ -mod120.hs:5:5: error: Data constructor not in scope: Foo +mod120.hs:5:5: error: [GHC-88464] + Data constructor not in scope: Foo diff --git a/testsuite/tests/module/mod121.stderr b/testsuite/tests/module/mod121.stderr index f51fec45e5..1b299a475f 100644 --- a/testsuite/tests/module/mod121.stderr +++ b/testsuite/tests/module/mod121.stderr @@ -1,4 +1,4 @@ -mod121.hs:5:5: error: +mod121.hs:5:5: error: [GHC-88464] Variable not in scope: m2 :: Int -> t Suggested fix: Perhaps use ‘m1’ (imported from Mod121_A) diff --git a/testsuite/tests/module/mod122.stderr b/testsuite/tests/module/mod122.stderr index 51338f0a06..f6fdafe381 100644 --- a/testsuite/tests/module/mod122.stderr +++ b/testsuite/tests/module/mod122.stderr @@ -1,2 +1,3 @@ -mod122.hs:5:6: error: Not in scope: type constructor or class ‘C’ +mod122.hs:5:6: error: [GHC-76037] + Not in scope: type constructor or class ‘C’ diff --git a/testsuite/tests/module/mod123.stderr b/testsuite/tests/module/mod123.stderr index c31f6d5a39..9de08eb9ec 100644 --- a/testsuite/tests/module/mod123.stderr +++ b/testsuite/tests/module/mod123.stderr @@ -1,2 +1,3 @@ -mod123.hs:5:6: error: Not in scope: type constructor or class ‘T’ +mod123.hs:5:6: error: [GHC-76037] + Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod124.stderr b/testsuite/tests/module/mod124.stderr index 8c1109314b..9c9009ff93 100644 --- a/testsuite/tests/module/mod124.stderr +++ b/testsuite/tests/module/mod124.stderr @@ -1,5 +1,5 @@ -mod124.hs:6:6: error: +mod124.hs:6:6: error: [GHC-76037] Not in scope: type constructor or class ‘T’ Suggested fix: Perhaps you want to remove ‘T’ from the explicit hiding list diff --git a/testsuite/tests/module/mod125.stderr b/testsuite/tests/module/mod125.stderr index d21066e279..4882d689ce 100644 --- a/testsuite/tests/module/mod125.stderr +++ b/testsuite/tests/module/mod125.stderr @@ -1,5 +1,5 @@ -mod125.hs:7:5: error: +mod125.hs:7:5: error: [GHC-88464] Data constructor not in scope: T Suggested fix: Perhaps you want to remove ‘T’ from the explicit hiding list diff --git a/testsuite/tests/module/mod126.stderr b/testsuite/tests/module/mod126.stderr index 871ac14945..453cf910a4 100644 --- a/testsuite/tests/module/mod126.stderr +++ b/testsuite/tests/module/mod126.stderr @@ -1,5 +1,5 @@ -mod126.hs:7:5: error: +mod126.hs:7:5: error: [GHC-88464] Data constructor not in scope: T Suggested fix: Perhaps you want to remove ‘T’ from the explicit hiding list diff --git a/testsuite/tests/module/mod127.stderr b/testsuite/tests/module/mod127.stderr index 66b1c1a530..1a5c290574 100644 --- a/testsuite/tests/module/mod127.stderr +++ b/testsuite/tests/module/mod127.stderr @@ -1,5 +1,5 @@ -mod127.hs:6:6: error: +mod127.hs:6:6: error: [GHC-76037] Not in scope: type constructor or class ‘T’ Suggested fix: Perhaps you want to remove ‘T’ from the explicit hiding list diff --git a/testsuite/tests/module/mod128.stderr b/testsuite/tests/module/mod128.stderr index c4e1e21c34..d31d0c616e 100644 --- a/testsuite/tests/module/mod128.stderr +++ b/testsuite/tests/module/mod128.stderr @@ -1,3 +1,3 @@ -Mod128_A.hs:2:19: warning: [-Wduplicate-exports (in -Wdefault)] +Mod128_A.hs:2:19: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘T’ is exported by ‘T(Con)’ and ‘T’ diff --git a/testsuite/tests/module/mod130.stderr b/testsuite/tests/module/mod130.stderr index e19a3e258b..5c5a32095d 100644 --- a/testsuite/tests/module/mod130.stderr +++ b/testsuite/tests/module/mod130.stderr @@ -1,5 +1,5 @@ -mod130.hs:7:5: error: +mod130.hs:7:5: error: [GHC-88464] Variable not in scope: (<) :: t0 -> Int -> Int Suggested fix: Perhaps you want to remove ‘<’ from the explicit hiding list diff --git a/testsuite/tests/module/mod131.stderr b/testsuite/tests/module/mod131.stderr index 1b362e4a47..6e060eb5fc 100644 --- a/testsuite/tests/module/mod131.stderr +++ b/testsuite/tests/module/mod131.stderr @@ -1,5 +1,5 @@ -mod131.hs:2:27: +mod131.hs:2:27: error: [GHC-69158] Conflicting exports for ‘f’: ‘module Mod131_B’ exports ‘f’ imported from ‘Mod131_B’ at mod131.hs:3:17 diff --git a/testsuite/tests/module/mod132.stderr b/testsuite/tests/module/mod132.stderr index 4913c59b06..917d490440 100644 --- a/testsuite/tests/module/mod132.stderr +++ b/testsuite/tests/module/mod132.stderr @@ -1,5 +1,5 @@ -mod132.hs:6:7: error: +mod132.hs:6:7: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘Foo’ • imported from ‘Mod132_B’ at mod132.hs:4:1-15 (and originally defined in ‘Mod132_A’ at Mod132_A.hs:3:1-14) diff --git a/testsuite/tests/module/mod134.stderr b/testsuite/tests/module/mod134.stderr index a911e32c84..d9afe11866 100644 --- a/testsuite/tests/module/mod134.stderr +++ b/testsuite/tests/module/mod134.stderr @@ -1,5 +1,5 @@ -mod134.hs:6:19: error: +mod134.hs:6:19: error: [GHC-76037] Not in scope: ‘Prelude.head’ Suggested fixes: • Perhaps use one of these: diff --git a/testsuite/tests/module/mod135.stderr b/testsuite/tests/module/mod135.stderr index 197bc93c54..4a490d1d22 100644 --- a/testsuite/tests/module/mod135.stderr +++ b/testsuite/tests/module/mod135.stderr @@ -1,3 +1,3 @@ -mod135.hs:2:11: error: +mod135.hs:2:11: error: [GHC-90973] The export item ‘module Data.List’ is not imported diff --git a/testsuite/tests/module/mod136.stderr b/testsuite/tests/module/mod136.stderr index 3a54d8f2e3..ccf110ac13 100644 --- a/testsuite/tests/module/mod136.stderr +++ b/testsuite/tests/module/mod136.stderr @@ -1,5 +1,5 @@ -mod136.hs:7:5: error: +mod136.hs:7:5: error: [GHC-88464] Variable not in scope: zipWith5 Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/module/mod138.stderr b/testsuite/tests/module/mod138.stderr index affabd924d..b1f9b32f5e 100644 --- a/testsuite/tests/module/mod138.stderr +++ b/testsuite/tests/module/mod138.stderr @@ -1,2 +1,2 @@ -mod138.hs:7:5: error: Variable not in scope: isLatin1 +mod138.hs:7:5: error: [GHC-88464] Variable not in scope: isLatin1 diff --git a/testsuite/tests/module/mod14.stderr b/testsuite/tests/module/mod14.stderr index 1eef269d33..ef9d2d73c4 100644 --- a/testsuite/tests/module/mod14.stderr +++ b/testsuite/tests/module/mod14.stderr @@ -1,3 +1,3 @@ -mod14.hs:2:10: warning: [-Wduplicate-exports (in -Wdefault)] +mod14.hs:2:10: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘m2’ is exported by ‘C(m1, m2, m2, m3)’ and ‘C(m1, m2, m2, m3)’ diff --git a/testsuite/tests/module/mod142.stderr b/testsuite/tests/module/mod142.stderr index 0ed3fdbbf4..f1a7994949 100644 --- a/testsuite/tests/module/mod142.stderr +++ b/testsuite/tests/module/mod142.stderr @@ -1,5 +1,5 @@ -mod142.hs:2:21: +mod142.hs:2:21: error: [GHC-69158] Conflicting exports for ‘x’: ‘module Mod142_A’ exports ‘Mod142_A.x’ imported from ‘Mod142_A’ at mod142.hs:4:1-15 diff --git a/testsuite/tests/module/mod143.stderr b/testsuite/tests/module/mod143.stderr index 2e28ad7edb..3ea61f2eda 100644 --- a/testsuite/tests/module/mod143.stderr +++ b/testsuite/tests/module/mod143.stderr @@ -1,5 +1,5 @@ -mod143.hs:2:21: +mod143.hs:2:21: error: [GHC-69158] Conflicting exports for ‘Foo’: ‘module Mod143_A’ exports ‘Mod143_A.Foo’ imported from ‘Mod143_A’ at mod143.hs:4:1-15 diff --git a/testsuite/tests/module/mod144.stderr b/testsuite/tests/module/mod144.stderr index 02330dc1b9..9bda07187d 100644 --- a/testsuite/tests/module/mod144.stderr +++ b/testsuite/tests/module/mod144.stderr @@ -1,5 +1,5 @@ -mod144.hs:2:27: +mod144.hs:2:27: error: [GHC-69158] Conflicting exports for ‘Bar’: ‘module Mod144_A’ exports ‘Mod144_A.Bar’ imported from ‘Mod144_A’ at mod144.hs:4:1-15 diff --git a/testsuite/tests/module/mod145.stderr b/testsuite/tests/module/mod145.stderr index ac55593a01..02019e9c45 100644 --- a/testsuite/tests/module/mod145.stderr +++ b/testsuite/tests/module/mod145.stderr @@ -1,5 +1,5 @@ -mod145.hs:2:30: +mod145.hs:2:30: error: [GHC-69158] Conflicting exports for ‘m1’: ‘module Mod145_A’ exports ‘Mod145_A.m1’ imported from ‘Mod145_A’ at mod145.hs:4:1-15 diff --git a/testsuite/tests/module/mod146.stderr b/testsuite/tests/module/mod146.stderr index 4d771478ec..ada9b36db5 100644 --- a/testsuite/tests/module/mod146.stderr +++ b/testsuite/tests/module/mod146.stderr @@ -1,5 +1,5 @@ -mod146.hs:2:30: +mod146.hs:2:30: error: [GHC-69158] Conflicting exports for ‘m1’: ‘module Mod145_A’ exports ‘Mod145_A.m1’ imported from ‘Mod145_A’ at mod146.hs:4:1-15 diff --git a/testsuite/tests/module/mod147.stderr b/testsuite/tests/module/mod147.stderr index 5500abc5bd..a4ca6980f5 100644 --- a/testsuite/tests/module/mod147.stderr +++ b/testsuite/tests/module/mod147.stderr @@ -1,5 +1,5 @@ -mod147.hs:6:5: error: +mod147.hs:6:5: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘D’ • imported from ‘Mod147_A’ at mod147.hs:4:1-15 (and originally defined at Mod147_A.hs:3:1-14) diff --git a/testsuite/tests/module/mod150.stderr b/testsuite/tests/module/mod150.stderr index 2dc9feb66f..4b49d6f4ed 100644 --- a/testsuite/tests/module/mod150.stderr +++ b/testsuite/tests/module/mod150.stderr @@ -1,5 +1,5 @@ -mod150.hs:2:20: +mod150.hs:2:20: error: [GHC-69158] Conflicting exports for ‘id’: ‘module Prelude’ exports ‘Prelude.id’ imported from ‘Prelude’ at mod150.hs:2:8 diff --git a/testsuite/tests/module/mod155.stderr b/testsuite/tests/module/mod155.stderr index ba03a62da0..013705654a 100644 --- a/testsuite/tests/module/mod155.stderr +++ b/testsuite/tests/module/mod155.stderr @@ -1,5 +1,5 @@ -mod155.hs:2:10: +mod155.hs:2:10: error: [GHC-69158] Conflicting exports for ‘id’: ‘module M’ exports ‘M.id’ imported from ‘Prelude’ at mod155.hs:4:1-19 diff --git a/testsuite/tests/module/mod158.stderr b/testsuite/tests/module/mod158.stderr index f59b91a29b..cfbafcb55b 100644 --- a/testsuite/tests/module/mod158.stderr +++ b/testsuite/tests/module/mod158.stderr @@ -1,3 +1,3 @@ -mod158.hs:12:5: error: Data constructor not in scope: C +mod158.hs:12:5: error: [GHC-88464] Data constructor not in scope: C exit(1) diff --git a/testsuite/tests/module/mod160.stderr b/testsuite/tests/module/mod160.stderr index d7cba8d1e8..3faf9b9fed 100644 --- a/testsuite/tests/module/mod160.stderr +++ b/testsuite/tests/module/mod160.stderr @@ -1,5 +1,5 @@ -mod160.hs:12:5: error: +mod160.hs:12:5: error: [GHC-88464] Variable not in scope: m3 :: Char -> t Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/module/mod161.stderr b/testsuite/tests/module/mod161.stderr index 5a812812ea..2fde21226e 100644 --- a/testsuite/tests/module/mod161.stderr +++ b/testsuite/tests/module/mod161.stderr @@ -1,2 +1,2 @@ -mod161.hs:2:12: Not in scope: ‘bar’ +mod161.hs:2:12: error: [GHC-76037] Not in scope: ‘bar’ diff --git a/testsuite/tests/module/mod17.stderr b/testsuite/tests/module/mod17.stderr index 91c4ff2731..faeba9b9ac 100644 --- a/testsuite/tests/module/mod17.stderr +++ b/testsuite/tests/module/mod17.stderr @@ -1,5 +1,5 @@ -mod17.hs:2:10: error: +mod17.hs:2:10: error: [GHC-88993] • The type constructor ‘C’ is not the parent of the data constructor ‘Left’. Data constructors can only be exported with their parent type constructor. Parent: Either diff --git a/testsuite/tests/module/mod178.stderr b/testsuite/tests/module/mod178.stderr index fb72b112c5..f27ddf270a 100644 --- a/testsuite/tests/module/mod178.stderr +++ b/testsuite/tests/module/mod178.stderr @@ -1,5 +1,5 @@ -Mod178_2.hs:1:1: +Mod178_2.hs:1:1: error: [GHC-28623] File name does not match module name: Saw : ‘Main’ Expected: ‘Mod178_2’ diff --git a/testsuite/tests/module/mod180.stderr b/testsuite/tests/module/mod180.stderr index 1518a63e82..6971e65f1d 100644 --- a/testsuite/tests/module/mod180.stderr +++ b/testsuite/tests/module/mod180.stderr @@ -1,5 +1,5 @@ -mod180.hs:8:5: error: +mod180.hs:8:5: error: [GHC-83865] • Couldn't match expected type ‘T’ with actual type ‘main:Mod180_A.T’ NB: ‘T’ is defined at Mod180_B.hs:3:1-10 diff --git a/testsuite/tests/module/mod182.stderr b/testsuite/tests/module/mod182.stderr index 437b080d48..01e564c3f7 100644 --- a/testsuite/tests/module/mod182.stderr +++ b/testsuite/tests/module/mod182.stderr @@ -1,5 +1,4 @@ -mod182.hs:6:16: error: - Found ‘qualified’ in postpositive position. - Suggested fix: - Perhaps you intended to use ImportQualifiedPost +mod182.hs:6:16: error: [GHC-87491] + Found ‘qualified’ in postpositive position. + Suggested fix: Perhaps you intended to use ImportQualifiedPost diff --git a/testsuite/tests/module/mod183.stderr b/testsuite/tests/module/mod183.stderr index 5f3c131537..6cb6b63252 100644 --- a/testsuite/tests/module/mod183.stderr +++ b/testsuite/tests/module/mod183.stderr @@ -1 +1,3 @@ -mod183.hs:5:26: Multiple occurrences of 'qualified' + +mod183.hs:5:26: error: [GHC-05661] + Multiple occurrences of 'qualified' diff --git a/testsuite/tests/module/mod184.stderr b/testsuite/tests/module/mod184.stderr index d83a316d18..ab72b5d0b2 100644 --- a/testsuite/tests/module/mod184.stderr +++ b/testsuite/tests/module/mod184.stderr @@ -1,6 +1,6 @@ -mod184.hs:6:8: warning: [-Wprepositive-qualified-module] +mod184.hs:6:8: warning: [GHC-07924] [-Wprepositive-qualified-module] Found ‘qualified’ in prepositive position Suggested fixes: - Place ‘qualified’ after the module name. - Perhaps you intended to use ImportQualifiedPost + • Place ‘qualified’ after the module name. + • Perhaps you intended to use ImportQualifiedPost diff --git a/testsuite/tests/module/mod25.stderr b/testsuite/tests/module/mod25.stderr index 7a60fa81f4..00ac3586d7 100644 --- a/testsuite/tests/module/mod25.stderr +++ b/testsuite/tests/module/mod25.stderr @@ -1,2 +1,2 @@ -mod25.hs:3:16: Not in scope: type variable ‘b’ +mod25.hs:3:16: error: [GHC-76037] Not in scope: type variable ‘b’ diff --git a/testsuite/tests/module/mod26.stderr b/testsuite/tests/module/mod26.stderr index beb0050e05..3a9c4e45ef 100644 --- a/testsuite/tests/module/mod26.stderr +++ b/testsuite/tests/module/mod26.stderr @@ -1,2 +1,2 @@ -mod26.hs:3:21: Not in scope: type variable ‘b’ +mod26.hs:3:21: error: [GHC-76037] Not in scope: type variable ‘b’ diff --git a/testsuite/tests/module/mod29.stderr b/testsuite/tests/module/mod29.stderr index 0392497c2e..b7989606a8 100644 --- a/testsuite/tests/module/mod29.stderr +++ b/testsuite/tests/module/mod29.stderr @@ -1,5 +1,5 @@ -mod29.hs:6:12: error: +mod29.hs:6:12: error: [GHC-76037] Not in scope: type constructor or class ‘Char’ Suggested fix: Perhaps you want to add ‘Char’ to the import list in the import of diff --git a/testsuite/tests/module/mod3.stderr b/testsuite/tests/module/mod3.stderr index c0c620e240..695f898912 100644 --- a/testsuite/tests/module/mod3.stderr +++ b/testsuite/tests/module/mod3.stderr @@ -1,5 +1,5 @@ -mod3.hs:2:10: error: +mod3.hs:2:10: error: [GHC-88993] • The type constructor ‘T’ is not the parent of the data constructor ‘K1’. Data constructors can only be exported with their parent type constructor. Parent: T' diff --git a/testsuite/tests/module/mod36.stderr b/testsuite/tests/module/mod36.stderr index 438b97b6aa..090082a0a2 100644 --- a/testsuite/tests/module/mod36.stderr +++ b/testsuite/tests/module/mod36.stderr @@ -1,5 +1,5 @@ -mod36.hs:5:5: error: +mod36.hs:5:5: error: [GHC-88464] Variable not in scope: const Suggested fix: Perhaps you want to remove ‘const’ from the explicit hiding list diff --git a/testsuite/tests/module/mod4.stderr b/testsuite/tests/module/mod4.stderr index 2b4d400b28..dce5d5f199 100644 --- a/testsuite/tests/module/mod4.stderr +++ b/testsuite/tests/module/mod4.stderr @@ -1,5 +1,5 @@ -mod4.hs:2:10: error: +mod4.hs:2:10: error: [GHC-76037] • Not in scope: data constructor ‘K2’ • In the export: T(K1, K2) Suggested fix: Perhaps use ‘K1’ (line 3) diff --git a/testsuite/tests/module/mod44.stderr b/testsuite/tests/module/mod44.stderr index 0f286f9cc2..0d46cf6b9a 100644 --- a/testsuite/tests/module/mod44.stderr +++ b/testsuite/tests/module/mod44.stderr @@ -1,5 +1,5 @@ -mod44.hs:4:10: +mod44.hs:4:10: error: [GHC-59692] Duplicate instance declarations: instance Eq T -- Defined at mod44.hs:4:10 instance Eq T -- Defined at mod44.hs:5:10 diff --git a/testsuite/tests/module/mod46.stderr b/testsuite/tests/module/mod46.stderr index fb6bd6692c..8e1bad3b2b 100644 --- a/testsuite/tests/module/mod46.stderr +++ b/testsuite/tests/module/mod46.stderr @@ -1,5 +1,5 @@ -mod46.hs:4:10: error: +mod46.hs:4:10: error: [GHC-39999] • No instance for ‘Eq T’ arising from the superclasses of an instance declaration • In the instance declaration for ‘Ord T’ diff --git a/testsuite/tests/module/mod47.stderr b/testsuite/tests/module/mod47.stderr index d88d3d140d..b7ff6562e6 100644 --- a/testsuite/tests/module/mod47.stderr +++ b/testsuite/tests/module/mod47.stderr @@ -1,5 +1,5 @@ -mod47.hs:6:10: error: +mod47.hs:6:10: error: [GHC-39999] • Could not deduce ‘Num a’ arising from the superclasses of an instance declaration from the context: (Eq a, Enum a) diff --git a/testsuite/tests/module/mod49.stderr b/testsuite/tests/module/mod49.stderr index 4354bb77f2..e5ffcfce3c 100644 --- a/testsuite/tests/module/mod49.stderr +++ b/testsuite/tests/module/mod49.stderr @@ -1,2 +1,3 @@ -mod49.hs:5:3: ‘y’ is not a (visible) method of class ‘C’ +mod49.hs:5:3: error: [GHC-54721] + ‘y’ is not a (visible) method of class ‘C’ diff --git a/testsuite/tests/module/mod5.stderr b/testsuite/tests/module/mod5.stderr index e8d5adb36e..2bf5e67d96 100644 --- a/testsuite/tests/module/mod5.stderr +++ b/testsuite/tests/module/mod5.stderr @@ -1,3 +1,3 @@ -mod5.hs:2:10: warning: [-Wduplicate-exports (in -Wdefault)] +mod5.hs:2:10: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘K1’ is exported by ‘T(K1, K1)’ and ‘T(K1, K1)’ diff --git a/testsuite/tests/module/mod50.stderr b/testsuite/tests/module/mod50.stderr index 9669427f8f..d6fc2abeed 100644 --- a/testsuite/tests/module/mod50.stderr +++ b/testsuite/tests/module/mod50.stderr @@ -1,2 +1,3 @@ -mod50.hs:3:22: error: Not in scope: type constructor or class ‘Foo’ +mod50.hs:3:22: error: [GHC-76037] + Not in scope: type constructor or class ‘Foo’ diff --git a/testsuite/tests/module/mod51.stderr b/testsuite/tests/module/mod51.stderr index 2d7a02d40d..c3cf259df7 100644 --- a/testsuite/tests/module/mod51.stderr +++ b/testsuite/tests/module/mod51.stderr @@ -1,5 +1,5 @@ -mod51.hs:3:22: +mod51.hs:3:22: error: [GHC-59692] Duplicate instance declarations: instance Eq T -- Defined at mod51.hs:3:22 instance Eq T -- Defined at mod51.hs:3:25 diff --git a/testsuite/tests/module/mod52.stderr b/testsuite/tests/module/mod52.stderr index 2359ab3421..833e0da71e 100644 --- a/testsuite/tests/module/mod52.stderr +++ b/testsuite/tests/module/mod52.stderr @@ -1,5 +1,5 @@ -mod52.hs:3:22: +mod52.hs:3:22: error: [GHC-59692] Duplicate instance declarations: instance Eq T -- Defined at mod52.hs:3:22 instance Eq T -- Defined at mod52.hs:4:10 diff --git a/testsuite/tests/module/mod53.stderr b/testsuite/tests/module/mod53.stderr index b8f442214b..7e980745fb 100644 --- a/testsuite/tests/module/mod53.stderr +++ b/testsuite/tests/module/mod53.stderr @@ -1,6 +1,6 @@ -mod53.hs:4:22: error: - Can't make a derived instance of ‘C T’: - ‘C’ is not a stock derivable class (Eq, Show, etc.) - In the data declaration for ‘T’ +mod53.hs:4:22: error: [GHC-00158] + • Can't make a derived instance of ‘C T’: + ‘C’ is not a stock derivable class (Eq, Show, etc.) + • In the data declaration for ‘T’ Suggested fix: Perhaps you intended to use DeriveAnyClass diff --git a/testsuite/tests/module/mod54.stderr b/testsuite/tests/module/mod54.stderr index 4ed64b7509..44c1bb977b 100644 --- a/testsuite/tests/module/mod54.stderr +++ b/testsuite/tests/module/mod54.stderr @@ -1,5 +1,5 @@ -mod54.hs:3:22: error: +mod54.hs:3:22: error: [GHC-39999] • No instance for ‘Eq T’ arising from the 'deriving' clause of a data type declaration Possible fix: diff --git a/testsuite/tests/module/mod55.stderr b/testsuite/tests/module/mod55.stderr index 341de62692..b6ddb76610 100644 --- a/testsuite/tests/module/mod55.stderr +++ b/testsuite/tests/module/mod55.stderr @@ -1,6 +1,6 @@ -mod55.hs:3:26: - Can't make a derived instance of ‘Enum T’: - ‘T’ must be an enumeration type - (an enumeration consists of one or more nullary, non-GADT constructors) - In the data declaration for ‘T’ +mod55.hs:3:26: error: [GHC-30750] + • Can't make a derived instance of ‘Enum T’: + ‘T’ must be an enumeration type + (an enumeration consists of one or more nullary, non-GADT constructors) + • In the data declaration for ‘T’ diff --git a/testsuite/tests/module/mod56.stderr b/testsuite/tests/module/mod56.stderr index 4e3bb98fa4..7b80848879 100644 --- a/testsuite/tests/module/mod56.stderr +++ b/testsuite/tests/module/mod56.stderr @@ -1,8 +1,8 @@ -mod56.hs:4:39: - Can't make a derived instance of ‘Ix T’: - ‘T’ must be an enumeration type - (an enumeration consists of one or more nullary, non-GADT constructors) - or - ‘T’ must have precisely one constructor - In the data declaration for ‘T’ +mod56.hs:4:39: error: [GHC-58291] + • Can't make a derived instance of ‘Ix T’: + ‘T’ must be an enumeration type + (an enumeration consists of one or more nullary, non-GADT constructors) + or + ‘T’ must have precisely one constructor + • In the data declaration for ‘T’ diff --git a/testsuite/tests/module/mod58.stderr b/testsuite/tests/module/mod58.stderr index d92345a8af..74169d8c81 100644 --- a/testsuite/tests/module/mod58.stderr +++ b/testsuite/tests/module/mod58.stderr @@ -1,4 +1,4 @@ -mod58.hs:4:1: +mod58.hs:4:1: error: [GHC-99565] Multiple default declarations - here was another default declaration mod58.hs:3:1-21 + here was another default declaration mod58.hs:3:1-21 diff --git a/testsuite/tests/module/mod59.stderr b/testsuite/tests/module/mod59.stderr index 90fb99a9df..9ec4e85102 100644 --- a/testsuite/tests/module/mod59.stderr +++ b/testsuite/tests/module/mod59.stderr @@ -1,2 +1,2 @@ -mod59.hs:3:3: Not in scope: data constructor ‘K’ +mod59.hs:3:3: error: [GHC-76037] Not in scope: data constructor ‘K’ diff --git a/testsuite/tests/module/mod62.stderr b/testsuite/tests/module/mod62.stderr index 539a905f26..eab3f938b1 100644 --- a/testsuite/tests/module/mod62.stderr +++ b/testsuite/tests/module/mod62.stderr @@ -1,6 +1,6 @@ mod62.hs:3:9: error: Qualified name in binding position: M.y -mod62.hs:3:22: error: +mod62.hs:3:22: error: [GHC-76037] Not in scope: ‘M.y’ Suggested fix: Perhaps use ‘M.x’ (line 3) diff --git a/testsuite/tests/module/mod63.stderr b/testsuite/tests/module/mod63.stderr index b76c8b0600..a63f6ac322 100644 --- a/testsuite/tests/module/mod63.stderr +++ b/testsuite/tests/module/mod63.stderr @@ -1,5 +1,5 @@ -mod63.hs:3:1: +mod63.hs:3:1: error: [GHC-91938] Equations for ‘f’ have different numbers of arguments mod63.hs:3:1-8 mod63.hs:4:1-11 diff --git a/testsuite/tests/module/mod67.stderr b/testsuite/tests/module/mod67.stderr index 5c15a86586..185c8db7a6 100644 --- a/testsuite/tests/module/mod67.stderr +++ b/testsuite/tests/module/mod67.stderr @@ -1,3 +1,3 @@ -mod67.hs:3:1: +mod67.hs:3:1: error: [GHC-44432] The type signature for ‘f’ lacks an accompanying binding diff --git a/testsuite/tests/module/mod69.stderr b/testsuite/tests/module/mod69.stderr index dea161115e..96775ae3bb 100644 --- a/testsuite/tests/module/mod69.stderr +++ b/testsuite/tests/module/mod69.stderr @@ -1,4 +1,4 @@ -mod69.hs:3:7: error: +mod69.hs:3:7: error: [GHC-84077] @-pattern in expression context: x@1 Type application syntax requires a space before '@' diff --git a/testsuite/tests/module/mod7.stderr b/testsuite/tests/module/mod7.stderr index 20a216a13e..5ad30b11f3 100644 --- a/testsuite/tests/module/mod7.stderr +++ b/testsuite/tests/module/mod7.stderr @@ -1,2 +1,3 @@ -mod7.hs:2:10: Not in scope: type constructor or class ‘T’ +mod7.hs:2:10: error: [GHC-76037] + Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod70.stderr b/testsuite/tests/module/mod70.stderr index 6e9f854b7a..fa0b2c6962 100644 --- a/testsuite/tests/module/mod70.stderr +++ b/testsuite/tests/module/mod70.stderr @@ -1,4 +1,4 @@ -mod70.hs:3:9: error: +mod70.hs:3:9: error: [GHC-27207] Lazy pattern in expression context: ~1 Did you mean to add a space after the '~'? diff --git a/testsuite/tests/module/mod71.stderr b/testsuite/tests/module/mod71.stderr index 003e0bb41c..73e1a36339 100644 --- a/testsuite/tests/module/mod71.stderr +++ b/testsuite/tests/module/mod71.stderr @@ -1,5 +1,5 @@ -mod71.hs:4:9: error: +mod71.hs:4:9: error: [GHC-88464] • Found hole: _ :: t2 Where: ‘t2’ is a rigid type variable bound by the inferred type of f :: Num t1 => (t2 -> t1 -> t3) -> t3 diff --git a/testsuite/tests/module/mod72.stderr b/testsuite/tests/module/mod72.stderr index 5f6dcc93f5..aa90422e75 100644 --- a/testsuite/tests/module/mod72.stderr +++ b/testsuite/tests/module/mod72.stderr @@ -1,2 +1,3 @@ -mod72.hs:3:7: error: Variable not in scope: g :: t1 -> t2 +mod72.hs:3:7: error: [GHC-88464] + Variable not in scope: g :: t1 -> t2 diff --git a/testsuite/tests/module/mod73.stderr b/testsuite/tests/module/mod73.stderr index 2fe9582a4a..9e99091101 100644 --- a/testsuite/tests/module/mod73.stderr +++ b/testsuite/tests/module/mod73.stderr @@ -1,5 +1,5 @@ -mod73.hs:3:7: error: +mod73.hs:3:7: error: [GHC-76037] Not in scope: ‘Prelude.g’ NB: the module ‘Prelude’ does not export ‘g’. Suggested fix: diff --git a/testsuite/tests/module/mod74.stderr b/testsuite/tests/module/mod74.stderr index e971158606..7570cfbcc3 100644 --- a/testsuite/tests/module/mod74.stderr +++ b/testsuite/tests/module/mod74.stderr @@ -1,4 +1,4 @@ -mod74.hs:3:7: error: +mod74.hs:3:7: error: [GHC-76037] Not in scope: ‘N.g’ NB: no module named ‘N’ is imported. diff --git a/testsuite/tests/module/mod76.stderr b/testsuite/tests/module/mod76.stderr index 7a90f5178a..2392b528fb 100644 --- a/testsuite/tests/module/mod76.stderr +++ b/testsuite/tests/module/mod76.stderr @@ -1,2 +1,2 @@ -mod76.hs:5:1: parse error on input ‘module’ +mod76.hs:5:1: error: [GHC-58481] parse error on input ‘module’ diff --git a/testsuite/tests/module/mod77.stderr b/testsuite/tests/module/mod77.stderr index c2c78c6a8f..6086a3d5f1 100644 --- a/testsuite/tests/module/mod77.stderr +++ b/testsuite/tests/module/mod77.stderr @@ -1,3 +1,3 @@ -mod77.hs:3:7: +mod77.hs:3:7: error: [GHC-44432] The fixity signature for ‘$$$’ lacks an accompanying binding diff --git a/testsuite/tests/module/mod8.stderr b/testsuite/tests/module/mod8.stderr index d06d6903ac..4445aa1aa5 100644 --- a/testsuite/tests/module/mod8.stderr +++ b/testsuite/tests/module/mod8.stderr @@ -1,2 +1,3 @@ -mod8.hs:2:10: error: The export item ‘module N’ is not imported +mod8.hs:2:10: error: [GHC-90973] + The export item ‘module N’ is not imported diff --git a/testsuite/tests/module/mod87.stderr b/testsuite/tests/module/mod87.stderr index c5b92a85da..0090030078 100644 --- a/testsuite/tests/module/mod87.stderr +++ b/testsuite/tests/module/mod87.stderr @@ -1,5 +1,5 @@ -mod87.hs:4:5: error: +mod87.hs:4:5: error: [GHC-88464] Data constructor not in scope: Left :: GHC.Types.Char -> t Suggested fix: Perhaps you want to add ‘Left’ to the import list in the import of diff --git a/testsuite/tests/module/mod88.stderr b/testsuite/tests/module/mod88.stderr index aa2627c861..81c758f8b0 100644 --- a/testsuite/tests/module/mod88.stderr +++ b/testsuite/tests/module/mod88.stderr @@ -1,5 +1,5 @@ -mod88.hs:5:5: error: +mod88.hs:5:5: error: [GHC-76037] Not in scope: data constructor ‘Prelude.Left’ Suggested fix: Perhaps you want to add ‘Left’ to the import list in the import of diff --git a/testsuite/tests/module/mod89.stderr b/testsuite/tests/module/mod89.stderr index ef07a5ab8a..d5e17a6c1a 100644 --- a/testsuite/tests/module/mod89.stderr +++ b/testsuite/tests/module/mod89.stderr @@ -1,3 +1,3 @@ -mod89.hs:5:16: error: +mod89.hs:5:16: error: [GHC-18208] Expecting a type constructor but found a variable, ‘map’. diff --git a/testsuite/tests/module/mod9.stderr b/testsuite/tests/module/mod9.stderr index b4eb0d7e40..ee8cc40ce1 100644 --- a/testsuite/tests/module/mod9.stderr +++ b/testsuite/tests/module/mod9.stderr @@ -1,2 +1,3 @@ -mod9.hs:2:10: Not in scope: type constructor or class ‘T’ +mod9.hs:2:10: error: [GHC-76037] + Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod97.stderr b/testsuite/tests/module/mod97.stderr index db9b30e83d..2b6d5258d0 100644 --- a/testsuite/tests/module/mod97.stderr +++ b/testsuite/tests/module/mod97.stderr @@ -1,5 +1,5 @@ -mod97.hs:4:9: error: +mod97.hs:4:9: error: [GHC-88464] Variable not in scope: (==) :: GHC.Types.Char -> GHC.Types.Char -> t Suggested fix: diff --git a/testsuite/tests/module/mod98.stderr b/testsuite/tests/module/mod98.stderr index 7af91a8775..52c0cf646e 100644 --- a/testsuite/tests/module/mod98.stderr +++ b/testsuite/tests/module/mod98.stderr @@ -1,5 +1,5 @@ -mod98.hs:3:1: error: +mod98.hs:3:1: error: [GHC-94426] Invalid type signature: M.x :: ... Suggested fix: A type signature should be of form <variables> :: <type> diff --git a/testsuite/tests/monadfail/MonadFailErrors.stderr b/testsuite/tests/monadfail/MonadFailErrors.stderr index 792b4808c6..7c4ec5a940 100644 --- a/testsuite/tests/monadfail/MonadFailErrors.stderr +++ b/testsuite/tests/monadfail/MonadFailErrors.stderr @@ -1,5 +1,5 @@ -MonadFailErrors.hs:14:5: error: +MonadFailErrors.hs:14:5: error: [GHC-39999] • Could not deduce ‘MonadFail m’ arising from a do statement with the failable pattern ‘Just x’ @@ -20,7 +20,7 @@ MonadFailErrors.hs:14:5: error: = do Just x <- undefined undefined -MonadFailErrors.hs:28:5: error: +MonadFailErrors.hs:28:5: error: [GHC-39999] • No instance for ‘MonadFail Identity’ arising from a do statement with the failable pattern ‘Just x’ @@ -33,7 +33,7 @@ MonadFailErrors.hs:28:5: error: = do Just x <- undefined undefined -MonadFailErrors.hs:42:5: error: +MonadFailErrors.hs:42:5: error: [GHC-39999] • No instance for ‘MonadFail ((->) r)’ arising from a do statement with the failable pattern ‘Just x’ diff --git a/testsuite/tests/numeric/should_compile/T10929.stderr b/testsuite/tests/numeric/should_compile/T10929.stderr index 15c382ca3e..31fd580f67 100644 --- a/testsuite/tests/numeric/should_compile/T10929.stderr +++ b/testsuite/tests/numeric/should_compile/T10929.stderr @@ -1,9 +1,9 @@ -T10929.hs:4:6: warning: [-Wempty-enumerations (in -Wdefault)] +T10929.hs:4:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T10929.hs:22:6: warning: [-Wempty-enumerations (in -Wdefault)] +T10929.hs:22:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T10929.hs:28:6: warning: [-Wempty-enumerations (in -Wdefault)] +T10929.hs:28:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/numeric/should_compile/T14465.stderr b/testsuite/tests/numeric/should_compile/T14465.stderr index cb26f6f0b7..0ade16474d 100644 --- a/testsuite/tests/numeric/should_compile/T14465.stderr +++ b/testsuite/tests/numeric/should_compile/T14465.stderr @@ -1,3 +1,3 @@ -T14465.hs:27:13: warning: [-Woverflowed-literals (in -Wdefault)] +T14465.hs:27:13: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is negative but Natural only supports positive numbers diff --git a/testsuite/tests/numeric/should_compile/T7881.stderr b/testsuite/tests/numeric/should_compile/T7881.stderr index 9bcca4f5e9..ae76b6b86b 100644 --- a/testsuite/tests/numeric/should_compile/T7881.stderr +++ b/testsuite/tests/numeric/should_compile/T7881.stderr @@ -1,9 +1,9 @@ -T7881.hs:7:6: warning: [-Wempty-enumerations (in -Wdefault)] +T7881.hs:7:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T7881.hs:25:6: warning: [-Wempty-enumerations (in -Wdefault)] +T7881.hs:25:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T7881.hs:31:6: warning: [-Wempty-enumerations (in -Wdefault)] +T7881.hs:31:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/numeric/should_compile/T7895.stderr b/testsuite/tests/numeric/should_compile/T7895.stderr index cf25e80a25..daccc189a9 100644 --- a/testsuite/tests/numeric/should_compile/T7895.stderr +++ b/testsuite/tests/numeric/should_compile/T7895.stderr @@ -1,6 +1,6 @@ -T7895.hs:10:6: warning: [-Woverflowed-literals (in -Wdefault)] +T7895.hs:10:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 300 is out of the Word8 range 0..255 -T7895.hs:13:6: warning: [-Woverflowed-literals (in -Wdefault)] +T7895.hs:13:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -129 is out of the Int8 range -128..127 diff --git a/testsuite/tests/numeric/should_compile/T8542.stderr b/testsuite/tests/numeric/should_compile/T8542.stderr index 2d12b9fd7f..aaae8d775f 100644 --- a/testsuite/tests/numeric/should_compile/T8542.stderr +++ b/testsuite/tests/numeric/should_compile/T8542.stderr @@ -1,5 +1,5 @@ -T8542.hs:9:5: warning: [-Woverflowed-literals (in -Wdefault)] +T8542.hs:9:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 128 is out of the Int8 range -128..127 Suggested fix: Perhaps you intended to use NegativeLiterals diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr index f3ccc3df17..cf5ace1063 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr @@ -1,5 +1,5 @@ -overloadedlistsfail01.hs:5:8: error: +overloadedlistsfail01.hs:5:8: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘print’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -7,12 +7,12 @@ overloadedlistsfail01.hs:5:8: error: instance Show Ordering -- Defined in ‘GHC.Show’ instance Show a => Show (Maybe a) -- Defined in ‘GHC.Show’ ...plus 25 others - ...plus 14 instances involving out-of-scope types + ...plus 12 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: print [1] In an equation for ‘main’: main = print [1] -overloadedlistsfail01.hs:5:14: error: +overloadedlistsfail01.hs:5:14: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from an overloaded list prevents the constraint ‘(GHC.IsList.IsList a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -24,7 +24,7 @@ overloadedlistsfail01.hs:5:14: error: In the expression: print [1] In an equation for ‘main’: main = print [1] -overloadedlistsfail01.hs:5:15: error: +overloadedlistsfail01.hs:5:15: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from the literal ‘1’ prevents the constraint ‘(Num (GHC.IsList.Item a0))’ from being solved. diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr index f6717a6df8..c3798ed763 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr @@ -1,11 +1,11 @@ -overloadedlistsfail02.hs:6:8: error: +overloadedlistsfail02.hs:6:8: error: [GHC-39999] • No instance for ‘GHC.IsList.IsList Foo’ arising from an overloaded list • In the expression: [7] In an equation for ‘test’: test = [7] -overloadedlistsfail02.hs:6:9: error: +overloadedlistsfail02.hs:6:9: error: [GHC-39999] • No instance for ‘Num (GHC.IsList.Item Foo)’ arising from the literal ‘7’ • In the expression: 7 diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr index 1380dda229..715c845cba 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr @@ -1,5 +1,5 @@ -overloadedlistsfail03.hs:3:28: error: +overloadedlistsfail03.hs:3:28: error: [GHC-83865] • Couldn't match type ‘[Char]’ with ‘Char’ Expected: GHC.IsList.Item [Char] Actual: String diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr index 5a5f3915a9..a0632bbb82 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr @@ -1,5 +1,5 @@ -overloadedlistsfail04.hs:3:15: error: +overloadedlistsfail04.hs:3:15: error: [GHC-39999] • No instance for ‘Enum [Char]’ arising from the arithmetic sequence ‘"a" .. "b"’ • In the first argument of ‘print’, namely diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr index 1de0a59995..5a0a0306c3 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr @@ -1,5 +1,5 @@ -overloadedlistsfail05.hs:3:24: error: +overloadedlistsfail05.hs:3:24: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘Int’ Expected: GHC.IsList.Item [Int] Actual: Char diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr index 91668d16d0..33994bd886 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr @@ -1,5 +1,9 @@ -overloadedlistsfail06.hs:3:3: Not in scope: ‘fromListN’ -overloadedlistsfail06.hs:3:3: error: Not in scope: ‘toList’ +overloadedlistsfail06.hs:3:3: error: [GHC-76037] + Not in scope: ‘fromListN’ -overloadedlistsfail06.hs:3:8: error: Not in scope: ‘fromListN’ +overloadedlistsfail06.hs:3:3: error: [GHC-76037] + Not in scope: ‘toList’ + +overloadedlistsfail06.hs:3:8: error: [GHC-76037] + Not in scope: ‘fromListN’ diff --git a/testsuite/tests/overloadedrecflds/ghci/T19314.stdout b/testsuite/tests/overloadedrecflds/ghci/T19314.stdout index ed29a3d212..1ec0c97201 100644 --- a/testsuite/tests/overloadedrecflds/ghci/T19314.stdout +++ b/testsuite/tests/overloadedrecflds/ghci/T19314.stdout @@ -1,13 +1,13 @@ w :: [a] -> a x :: [a] -> a -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-88464] Variable not in scope: y Suggested fix: Notice that ‘y’ is a field selector that has been suppressed by NoFieldSelectors. -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-88464] Variable not in scope: z Suggested fix: Notice that ‘z’ is a field selector diff --git a/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout b/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout index c7550d36e2..ae87b8ea19 100644 --- a/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout +++ b/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout @@ -4,7 +4,7 @@ data T a = MkT {foo :: Bool, ...} -- Defined at <interactive>:4:18 foo :: T a -> Bool -<interactive>:9:6: error: +<interactive>:9:6: error: [GHC-83865] • Couldn't match expected type ‘T a0’ with actual type ‘S’ • In the first argument of ‘foo’, namely ‘(MkS 42)’ In the expression: foo (MkS 42) diff --git a/testsuite/tests/overloadedrecflds/should_fail/DRFHoleFits.stderr b/testsuite/tests/overloadedrecflds/should_fail/DRFHoleFits.stderr index a5b406567f..61779352c3 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/DRFHoleFits.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/DRFHoleFits.stderr @@ -1,7 +1,7 @@ [1 of 2] Compiling DRFHoleFits_A ( DRFHoleFits_A.hs, DRFHoleFits_A.o ) [2 of 2] Compiling DRFHoleFits ( DRFHoleFits.hs, DRFHoleFits.o ) -DRFHoleFits.hs:7:7: error: +DRFHoleFits.hs:7:7: error: [GHC-88464] • Found hole: _ :: T -> Int • In the expression: _ :: T -> Int In an equation for ‘bar’: bar = _ :: T -> Int @@ -11,7 +11,7 @@ DRFHoleFits.hs:7:7: error: foo :: T -> Int (defined at DRFHoleFits.hs:5:16) bar :: T -> Int (defined at DRFHoleFits.hs:7:1) -DRFHoleFits.hs:8:7: error: +DRFHoleFits.hs:8:7: error: [GHC-88464] • Found hole: _ :: A.S -> Int • In the expression: _ :: A.S -> Int In an equation for ‘baz’: baz = _ :: A.S -> Int diff --git a/testsuite/tests/overloadedrecflds/should_fail/DRFPartialFields.stderr b/testsuite/tests/overloadedrecflds/should_fail/DRFPartialFields.stderr index 1f9034e7b2..f1801abd73 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/DRFPartialFields.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/DRFPartialFields.stderr @@ -1,3 +1,3 @@ -DRFPartialFields.hs:4:17: error: [-Wpartial-fields, -Werror=partial-fields] +DRFPartialFields.hs:4:17: error: [-Wpartial-fields, Werror=partial-fields] Use of partial record field selector: ‘foo’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/DuplicateExports.stderr b/testsuite/tests/overloadedrecflds/should_fail/DuplicateExports.stderr index e2bdef49ab..c3d053dfc0 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/DuplicateExports.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/DuplicateExports.stderr @@ -1,3 +1,3 @@ -DuplicateExports.hs:6:29: error: [-Wduplicate-exports (in -Wdefault), -Werror=duplicate-exports] +DuplicateExports.hs:6:29: error: [GHC-47854] [-Wduplicate-exports (in -Wdefault), Werror=duplicate-exports] ‘foo’ is exported by ‘foo’ and ‘T(foo, bar)’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/NFSExport.stderr b/testsuite/tests/overloadedrecflds/should_fail/NFSExport.stderr index 86631573a5..a957818d25 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/NFSExport.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/NFSExport.stderr @@ -1,5 +1,5 @@ -NFSExport.hs:2:27: error: +NFSExport.hs:2:27: error: [GHC-76037] Not in scope: ‘foo’ Suggested fix: Notice that ‘foo’ is a field selector belonging to the type ‘T’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr b/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr index 204aee2b2b..4d6f946e36 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr @@ -1,5 +1,5 @@ -NFSSuppressed.hs:9:5: error: +NFSSuppressed.hs:9:5: error: [GHC-88464] Variable not in scope: foo Suggested fixes: • Perhaps use data constructor ‘Foo’ (line 7) diff --git a/testsuite/tests/overloadedrecflds/should_fail/NoParent.stderr b/testsuite/tests/overloadedrecflds/should_fail/NoParent.stderr index 309536cede..b75b8c1df5 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/NoParent.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/NoParent.stderr @@ -1,5 +1,5 @@ -NoParent.hs:2:18: error: +NoParent.hs:2:18: error: [GHC-88993] • The type constructor ‘A’ is not the parent of the record selector ‘x’. Record selectors can only be exported with their parent type constructor. Parents: C, B diff --git a/testsuite/tests/overloadedrecflds/should_fail/T14953.stderr b/testsuite/tests/overloadedrecflds/should_fail/T14953.stderr index e698d005fc..144e306483 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/T14953.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/T14953.stderr @@ -2,7 +2,7 @@ [2 of 3] Compiling T14953_B ( T14953_B.hs, T14953_B.o ) [3 of 3] Compiling T14953 ( T14953.hs, T14953.o ) -T14953.hs:2:33: error: +T14953.hs:2:33: error: [GHC-69158] Conflicting exports for ‘unR’: ‘module T14953_A’ exports ‘unR’ imported from ‘T14953_A’ at T14953.hs:3:1-15 @@ -11,7 +11,7 @@ T14953.hs:2:33: error: imported from ‘T14953_B’ at T14953.hs:4:1-15 (and originally defined at T14953_B.hs:3:13-15) -T14953.hs:2:33: error: +T14953.hs:2:33: error: [GHC-69158] Conflicting exports for ‘R’: ‘module T14953_A’ exports ‘T14953_A.R’ imported from ‘T14953_A’ at T14953.hs:3:1-15 @@ -20,7 +20,7 @@ T14953.hs:2:33: error: imported from ‘T14953_B’ at T14953.hs:4:1-15 (and originally defined at T14953_B.hs:3:10-23) -T14953.hs:2:33: error: +T14953.hs:2:33: error: [GHC-69158] Conflicting exports for ‘R’: ‘module T14953_A’ exports ‘T14953_A.R’ imported from ‘T14953_A’ at T14953.hs:3:1-15 @@ -28,4 +28,3 @@ T14953.hs:2:33: error: ‘module T14953_B’ exports ‘T14953_B.R’ imported from ‘T14953_B’ at T14953.hs:4:1-15 (and originally defined at T14953_B.hs:3:1-23) - diff --git a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail01.stderr b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail01.stderr index 157f3960c1..7a96c291b0 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail01.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail01.stderr @@ -1,7 +1,7 @@ [1 of 3] Compiling HasFieldFail01_A ( HasFieldFail01_A.hs, HasFieldFail01_A.o ) [2 of 3] Compiling Main ( hasfieldfail01.hs, hasfieldfail01.o ) -hasfieldfail01.hs:9:15: error: +hasfieldfail01.hs:9:15: error: [GHC-39999] • No instance for ‘HasField "foo" T Int’ arising from a use of ‘getField’ • In the first argument of ‘print’, namely diff --git a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr index b0df5d95ce..dec729f36e 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr @@ -1,11 +1,11 @@ -hasfieldfail02.hs:10:5: error: +hasfieldfail02.hs:10:5: error: [GHC-39999] • No instance for ‘HasField "foo" T a1’ arising from a use of ‘getField’ • In the expression: getField @"foo" (MkT id) In an equation for ‘x’: x = getField @"foo" (MkT id) -hasfieldfail02.hs:14:5: error: +hasfieldfail02.hs:14:5: error: [GHC-39999] • No instance for ‘HasField "bar" U a0’ arising from a use of ‘getField’ • In the expression: getField @"bar" (MkU True) diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail01.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail01.stderr index d194cf1288..a903dcf93f 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail01.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail01.stderr @@ -1,17 +1,17 @@ -overloadedlabelsfail01.hs:6:5: error: +overloadedlabelsfail01.hs:6:5: error: [GHC-39999] • No instance for ‘IsLabel "x" a0’ arising from the overloaded label ‘#x’ • In the expression: #x In an equation for ‘a’: a = #x -overloadedlabelsfail01.hs:10:5: error: +overloadedlabelsfail01.hs:10:5: error: [GHC-39999] • No instance for ‘IsLabel "x" Int’ arising from the overloaded label ‘#x’ • In the expression: #x In an equation for ‘b’: b = #x -overloadedlabelsfail01.hs:14:5: error: +overloadedlabelsfail01.hs:14:5: error: [GHC-39999] • Could not deduce ‘IsLabel "y" t’ arising from the overloaded label ‘#y’ from the context: IsLabel "x" t diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail02.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail02.stderr index f47240fa9a..cabdd66fed 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail02.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail02.stderr @@ -1,2 +1,3 @@ -overloadedlabelsfail02.hs:3:8: error: Not in scope: ‘fromLabel’ +overloadedlabelsfail02.hs:3:8: error: [GHC-76037] + Not in scope: ‘fromLabel’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail03.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail03.stderr index 69aa43af40..84e5b0a780 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail03.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail03.stderr @@ -1,5 +1,5 @@ -overloadedlabelsfail03.hs:3:8: error: +overloadedlabelsfail03.hs:3:8: error: [GHC-95781] • Cannot apply expression of type ‘()’ to a visible type argument ‘"foo"’ • In the expression: #foo diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail01.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail01.stderr index a7eb1debd1..66089a586e 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail01.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail01.stderr @@ -1,23 +1,22 @@ -overloadedrecfldsfail01.hs:11:10: error: - Record update is ambiguous, and requires a type signature - In the expression: r {x = 3} - In an equation for ‘upd1’: upd1 r = r {x = 3} +overloadedrecfldsfail01.hs:11:10: error: [GHC-99339] + • Record update is ambiguous, and requires a type signature + • In the expression: r {x = 3} + In an equation for ‘upd1’: upd1 r = r {x = 3} -overloadedrecfldsfail01.hs:14:10: error: - No type has all these fields: ‘x’, ‘y’, ‘z’ - In the expression: r {x = 3, y = True, z = False} - In an equation for ‘upd2’: upd2 r = r {x = 3, y = True, z = False} +overloadedrecfldsfail01.hs:14:10: error: [GHC-33238] + • No type has all these fields: ‘x’, ‘y’, ‘z’ + • In the expression: r {x = 3, y = True, z = False} + In an equation for ‘upd2’: upd2 r = r {x = 3, y = True, z = False} -overloadedrecfldsfail01.hs:17:10: error: - ‘x’ is not a (visible) field of type ‘U’ - In the expression: r {w = True, x = 3, y = True} :: U - In an equation for ‘upd3’: - upd3 r = r {w = True, x = 3, y = True} :: U - -overloadedrecfldsfail01.hs:17:10: error: - ‘w’ is not a (visible) field of type ‘U’ - In the expression: r {w = True, x = 3, y = True} :: U - In an equation for ‘upd3’: - upd3 r = r {w = True, x = 3, y = True} :: U +overloadedrecfldsfail01.hs:17:10: error: [GHC-54721] + • ‘x’ is not a (visible) field of type ‘U’ + • In the expression: r {w = True, x = 3, y = True} :: U + In an equation for ‘upd3’: + upd3 r = r {w = True, x = 3, y = True} :: U +overloadedrecfldsfail01.hs:17:10: error: [GHC-54721] + • ‘w’ is not a (visible) field of type ‘U’ + • In the expression: r {w = True, x = 3, y = True} :: U + In an equation for ‘upd3’: + upd3 r = r {w = True, x = 3, y = True} :: U diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr index 9dc7af2782..3e2e0572f1 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr @@ -1,3 +1,3 @@ -overloadedrecfldsfail05.hs:7:16: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), -Werror=unused-top-binds] +overloadedrecfldsfail05.hs:7:16: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), Werror=unused-top-binds] Defined but not used: ‘foo’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr index 10e3b1ece8..7567a038b4 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr @@ -10,27 +10,27 @@ OverloadedRecFldsFail06_A.hs:9:59: warning: [-Wunused-top-binds (in -Wextra, -Wu Defined but not used: ‘used_locally’ [2 of 3] Compiling Main ( overloadedrecfldsfail06.hs, overloadedrecfldsfail06.o ) -overloadedrecfldsfail06.hs:7:1: error: [-Wunused-imports (in -Wextra), -Werror=unused-imports] +overloadedrecfldsfail06.hs:7:1: error: [-Wunused-imports (in -Wextra), Werror=unused-imports] The import of ‘Unused(unused), V(x), U(y), MkV, Unused’ from module ‘OverloadedRecFldsFail06_A’ is redundant -overloadedrecfldsfail06.hs:8:1: error: [-Wunused-imports (in -Wextra), -Werror=unused-imports] +overloadedrecfldsfail06.hs:8:1: error: [-Wunused-imports (in -Wextra), Werror=unused-imports] The qualified import of ‘OverloadedRecFldsFail06_A’ is redundant except perhaps to import instances from ‘OverloadedRecFldsFail06_A’ To import instances alone, use: import OverloadedRecFldsFail06_A() -overloadedrecfldsfail06.hs:9:1: error: [-Wunused-imports (in -Wextra), -Werror=unused-imports] +overloadedrecfldsfail06.hs:9:1: error: [-Wunused-imports (in -Wextra), Werror=unused-imports] The qualified import of ‘V(y)’ from module ‘OverloadedRecFldsFail06_A’ is redundant -overloadedrecfldsfail06.hs:10:1: error: [-Wunused-imports (in -Wextra), -Werror=unused-imports] +overloadedrecfldsfail06.hs:10:1: error: [-Wunused-imports (in -Wextra), Werror=unused-imports] The qualified import of ‘U(x), U’ from module ‘OverloadedRecFldsFail06_A’ is redundant -overloadedrecfldsfail06.hs:15:22: error: [-Wambiguous-fields (in -Wdefault), -Werror=ambiguous-fields] +overloadedrecfldsfail06.hs:15:22: error: [GHC-02256] [-Wambiguous-fields (in -Wdefault), Werror=ambiguous-fields] The record update u {x = True} with type U is ambiguous. This will not be supported by -XDuplicateRecordFields in future releases of GHC. -overloadedrecfldsfail06.hs:18:28: error: [-Wambiguous-fields (in -Wdefault), -Werror=ambiguous-fields] +overloadedrecfldsfail06.hs:18:28: error: [GHC-02256] [-Wambiguous-fields (in -Wdefault), Werror=ambiguous-fields] The record update v {P.x = 3} with type V is ambiguous. This will not be supported by -XDuplicateRecordFields in future releases of GHC. diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail07.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail07.stderr index 73a1b9b4d8..e6e3c180ac 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail07.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail07.stderr @@ -1,5 +1,5 @@ -overloadedrecfldsfail07.hs:7:7: error: +overloadedrecfldsfail07.hs:7:7: error: [GHC-83865] • Couldn't match expected type ‘T’ with actual type ‘T -> Int’ • Probable cause: ‘x’ is applied to too few arguments In the first argument of ‘x’, namely ‘x’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr index cf37520a64..d364f079d8 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr @@ -1,5 +1,5 @@ -overloadedrecfldsfail08.hs:9:9: error: - No constructor has all these fields: ‘x’, ‘y’ - In the expression: e {x = 3, y = True} - In an equation for ‘foo’: foo e = e {x = 3, y = True} +overloadedrecfldsfail08.hs:9:9: error: [GHC-14392] + • No constructor has all these fields: ‘x’, ‘y’ + • In the expression: e {x = 3, y = True} + In an equation for ‘foo’: foo e = e {x = 3, y = True} diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail09.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail09.stderr index 415099d79b..a77564ccea 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail09.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail09.stderr @@ -1,4 +1,4 @@ -overloadedrecfldsfail09.hs:9:11: error: +overloadedrecfldsfail09.hs:9:11: error: [GHC-65904] Ambiguous record updates not (yet) handled by Template Haskell x = 3 diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail10.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail10.stderr index cf483418ce..8b113e19ee 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail10.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail10.stderr @@ -3,7 +3,7 @@ [3 of 5] Compiling OverloadedRecFldsFail10_C ( OverloadedRecFldsFail10_C.hs, OverloadedRecFldsFail10_C.o ) [4 of 5] Compiling Main ( overloadedrecfldsfail10.hs, overloadedrecfldsfail10.o ) -overloadedrecfldsfail10.hs:6:20: error: +overloadedrecfldsfail10.hs:6:20: error: [GHC-69158] Conflicting exports for ‘foo’: ‘F(..)’ exports ‘OverloadedRecFldsFail10_B.foo’ imported from ‘OverloadedRecFldsFail10_B’ at overloadedrecfldsfail10.hs:8:1-32 diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail14.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail14.stderr index 7a211fd366..7b0d276a96 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail14.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail14.stderr @@ -1,5 +1,5 @@ -overloadedrecfldsfail14.hs:12:7: error: - No type has all these fields: ‘x’, ‘y’ - In the expression: r {x = 3, y = False} - In an equation for ‘f’: f r = r {x = 3, y = False} +overloadedrecfldsfail14.hs:12:7: error: [GHC-33238] + • No type has all these fields: ‘x’, ‘y’ + • In the expression: r {x = 3, y = False} + In an equation for ‘f’: f r = r {x = 3, y = False} diff --git a/testsuite/tests/parser/should_compile/ColumnPragma.stderr b/testsuite/tests/parser/should_compile/ColumnPragma.stderr index a45b2654bf..d030f222e2 100644 --- a/testsuite/tests/parser/should_compile/ColumnPragma.stderr +++ b/testsuite/tests/parser/should_compile/ColumnPragma.stderr @@ -1,3 +1,3 @@ -ColumnPragma.hs:5:1015: warning: [-Wunrecognised-pragmas (in -Wdefault)] +ColumnPragma.hs:5:1015: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: NONEXISTENTPRAGMA diff --git a/testsuite/tests/parser/should_compile/OpaqueParseWarn1.stderr b/testsuite/tests/parser/should_compile/OpaqueParseWarn1.stderr index 49682aae19..01f62eb39d 100644 --- a/testsuite/tests/parser/should_compile/OpaqueParseWarn1.stderr +++ b/testsuite/tests/parser/should_compile/OpaqueParseWarn1.stderr @@ -1,2 +1,3 @@ -OpaqueParseWarn1.hs:6:1: warning: + +OpaqueParseWarn1.hs:6:1: warning: [GHC-38524] Ignoring useless SPECIALISE pragma for NOINLINE function: ‘f’ diff --git a/testsuite/tests/parser/should_compile/T15139.stderr b/testsuite/tests/parser/should_compile/T15139.stderr index b42cb23d27..0d80dc0537 100644 --- a/testsuite/tests/parser/should_compile/T15139.stderr +++ b/testsuite/tests/parser/should_compile/T15139.stderr @@ -1,23 +1,21 @@ -T15139.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +T15139.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘f1’: - Patterns of type ‘Bool’ not matched: False + In an equation for ‘f1’: Patterns of type ‘Bool’ not matched: False | 11 | f1 True = case can'tHappen of {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -T15139.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] +T15139.hs:12:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘f2’: - Patterns of type ‘Bool’ not matched: False + In an equation for ‘f2’: Patterns of type ‘Bool’ not matched: False | 12 | f2 True = case can'tHappen of | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -T15139.hs:13:1: warning: [-Wincomplete-patterns (in -Wextra)] +T15139.hs:13:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘g’: Patterns of type ‘Bool’ not matched: False + In an equation for ‘g’: Patterns of type ‘Bool’ not matched: False | 13 | g True = case () of () -> True | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/testsuite/tests/parser/should_compile/T18834a.stderr b/testsuite/tests/parser/should_compile/T18834a.stderr index 71f90eff49..f02886253a 100644 --- a/testsuite/tests/parser/should_compile/T18834a.stderr +++ b/testsuite/tests/parser/should_compile/T18834a.stderr @@ -1,15 +1,15 @@ -T18834a.hs:6:10: warning: [-Woperator-whitespace-ext-conflict (in -Wdefault)] +T18834a.hs:6:10: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict (in -Wdefault)] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. -T18834a.hs:7:10: warning: [-Woperator-whitespace-ext-conflict (in -Wdefault)] +T18834a.hs:7:10: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict (in -Wdefault)] The prefix use of a ‘$$’ would denote a typed splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$$’. -T18834a.hs:8:10: warning: [-Woperator-whitespace-ext-conflict (in -Wdefault)] +T18834a.hs:8:10: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict (in -Wdefault)] The prefix use of a ‘%’ would denote a multiplicity annotation were the LinearTypes extension enabled. Suggested fix: Add whitespace after the ‘%’. diff --git a/testsuite/tests/parser/should_compile/T18834b.stderr b/testsuite/tests/parser/should_compile/T18834b.stderr index 4dc54cfb26..085eada855 100644 --- a/testsuite/tests/parser/should_compile/T18834b.stderr +++ b/testsuite/tests/parser/should_compile/T18834b.stderr @@ -1,15 +1,15 @@ -T18834b.hs:5:10: warning: [-Woperator-whitespace] +T18834b.hs:5:10: warning: [GHC-40798] [-Woperator-whitespace] The suffix use of a ‘+’ might be repurposed as special syntax by a future language extension. Suggested fix: Add whitespace around ‘+’. -T18834b.hs:6:11: warning: [-Woperator-whitespace] +T18834b.hs:6:11: warning: [GHC-40798] [-Woperator-whitespace] The prefix use of a ‘+’ might be repurposed as special syntax by a future language extension. Suggested fix: Add whitespace around ‘+’. -T18834b.hs:7:10: warning: [-Woperator-whitespace] +T18834b.hs:7:10: warning: [GHC-40798] [-Woperator-whitespace] The tight infix use of a ‘+’ might be repurposed as special syntax by a future language extension. Suggested fix: Add whitespace around ‘+’. diff --git a/testsuite/tests/parser/should_compile/T21589.stderr b/testsuite/tests/parser/should_compile/T21589.stderr index 5e1524f2f4..49f12b294b 100644 --- a/testsuite/tests/parser/should_compile/T21589.stderr +++ b/testsuite/tests/parser/should_compile/T21589.stderr @@ -1,16 +1,16 @@ -T21589.hs:1:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +T21589.hs:1:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: LANGUGE Suggested fix: Perhaps you meant ‘LANGUAGE’ -T21589.hs:2:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +T21589.hs:2:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: OPTION_HUGS Suggested fix: Perhaps you meant ‘OPTIONS_HUGS’ -T21589.hs:3:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +T21589.hs:3:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: LIE Suggested fix: Perhaps you meant ‘LINE’ -T21589.hs:8:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +T21589.hs:8:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: INLNE Suggested fix: Perhaps you meant ‘INLINE’ diff --git a/testsuite/tests/parser/should_compile/T2245.stderr b/testsuite/tests/parser/should_compile/T2245.stderr index d5b8280494..03424ac20c 100644 --- a/testsuite/tests/parser/should_compile/T2245.stderr +++ b/testsuite/tests/parser/should_compile/T2245.stderr @@ -11,7 +11,7 @@ T2245.hs:5:10: warning: [-Wmissing-methods (in -Wdefault)] ‘fromRational’ and (either ‘recip’ or ‘/’) • In the instance declaration for ‘Fractional T’ -T2245.hs:7:27: warning: [-Wtype-defaults (in -Wall)] +T2245.hs:7:27: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘b0’ to type ‘T’ in the following constraints (Ord b0) arising from a use of ‘<’ at T2245.hs:7:27 (Fractional b0) diff --git a/testsuite/tests/parser/should_compile/T3303.stderr b/testsuite/tests/parser/should_compile/T3303.stderr index 38690441ff..850a150ecc 100644 --- a/testsuite/tests/parser/should_compile/T3303.stderr +++ b/testsuite/tests/parser/should_compile/T3303.stderr @@ -1,9 +1,9 @@ -T3303.hs:7:7: warning: [-Wdeprecations (in -Wdefault)] +T3303.hs:7:7: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘foo’ (imported from T3303A): Deprecated: "This is a multi-line deprecation message for foo" -T3303.hs:10:8: warning: [-Wdeprecations (in -Wdefault)] +T3303.hs:10:8: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘foo2’ (imported from T3303A): Deprecated: "" diff --git a/testsuite/tests/parser/should_compile/T515.stderr b/testsuite/tests/parser/should_compile/T515.stderr index 99ba2b24a5..72075b45cb 100644 --- a/testsuite/tests/parser/should_compile/T515.stderr +++ b/testsuite/tests/parser/should_compile/T515.stderr @@ -1,17 +1,17 @@ -T515.lhs:6:3: warning: [-Wmissing-signatures (in -Wall)] +T515.lhs:6:3: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: a :: Integer -T515.lhs:6:7: warning: [-Wtype-defaults (in -Wall)] +T515.lhs:6:7: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraint Num a0 arising from the literal ‘1’ • In the expression: 1 In an equation for ‘a’: a = 1 -T515.lhs:7:3: warning: [-Wmissing-signatures (in -Wall)] +T515.lhs:7:3: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: b :: Integer -T515.lhs:7:7: warning: [-Wtype-defaults (in -Wall)] +T515.lhs:7:7: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraint Num a0 arising from the literal ‘2’ • In the expression: 2 diff --git a/testsuite/tests/parser/should_compile/T9723a.stderr b/testsuite/tests/parser/should_compile/T9723a.stderr index 5fdfdd9f22..e9a34725d6 100644 --- a/testsuite/tests/parser/should_compile/T9723a.stderr +++ b/testsuite/tests/parser/should_compile/T9723a.stderr @@ -1,4 +1,4 @@ -T9723a.hs:8:5: warning: [-Wtabs (in -Wdefault)] +T9723a.hs:8:5: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here. Suggested fix: Please use spaces instead. diff --git a/testsuite/tests/parser/should_compile/T9723b.stderr b/testsuite/tests/parser/should_compile/T9723b.stderr index c83b48e8a4..91ba171443 100644 --- a/testsuite/tests/parser/should_compile/T9723b.stderr +++ b/testsuite/tests/parser/should_compile/T9723b.stderr @@ -1,4 +1,4 @@ -T9723b.hs:10:5: warning: [-Wtabs (in -Wdefault)] +T9723b.hs:10:5: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here, and in six further locations. Suggested fix: Please use spaces instead. diff --git a/testsuite/tests/parser/should_compile/read014.stderr b/testsuite/tests/parser/should_compile/read014.stderr index 228672b7a5..c30202f784 100644 --- a/testsuite/tests/parser/should_compile/read014.stderr +++ b/testsuite/tests/parser/should_compile/read014.stderr @@ -1,5 +1,5 @@ -read014.hs:4:1: warning: [-Wmissing-signatures (in -Wall)] +read014.hs:4:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: ng1 :: Num a => p -> a -> a diff --git a/testsuite/tests/parser/should_compile/read043.stderr b/testsuite/tests/parser/should_compile/read043.stderr index a551294064..dbb95591c5 100644 --- a/testsuite/tests/parser/should_compile/read043.stderr +++ b/testsuite/tests/parser/should_compile/read043.stderr @@ -1,4 +1,4 @@ -read043.hs:8:5: warning: [-Wtabs (in -Wdefault)] +read043.hs:8:5: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here, and in one further location. Suggested fix: Please use spaces instead. diff --git a/testsuite/tests/parser/should_compile/read044.stderr b/testsuite/tests/parser/should_compile/read044.stderr index d459248082..a27ca0924f 100644 --- a/testsuite/tests/parser/should_compile/read044.stderr +++ b/testsuite/tests/parser/should_compile/read044.stderr @@ -1,4 +1,4 @@ -read044.hs:5:13: warning: [-Woverlapping-patterns (in -Wdefault)] +read044.hs:5:13: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: False -> ... diff --git a/testsuite/tests/parser/should_compile/read064.stderr b/testsuite/tests/parser/should_compile/read064.stderr index 8f79347013..139286198e 100644 --- a/testsuite/tests/parser/should_compile/read064.stderr +++ b/testsuite/tests/parser/should_compile/read064.stderr @@ -1,3 +1,3 @@ -read064.hs:4:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +read064.hs:4:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: THISISATYPO diff --git a/testsuite/tests/parser/should_compile/read066.stderr b/testsuite/tests/parser/should_compile/read066.stderr index 967c334b07..0c6700a837 100644 --- a/testsuite/tests/parser/should_compile/read066.stderr +++ b/testsuite/tests/parser/should_compile/read066.stderr @@ -1,3 +1,3 @@ -read066.hs:2:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +read066.hs:2:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: OPTIONS_NO_SUCH_PRAGMA diff --git a/testsuite/tests/parser/should_fail/ExportCommaComma.stderr b/testsuite/tests/parser/should_fail/ExportCommaComma.stderr index e5cf1b5a5f..290d705077 100644 --- a/testsuite/tests/parser/should_fail/ExportCommaComma.stderr +++ b/testsuite/tests/parser/should_fail/ExportCommaComma.stderr @@ -1,2 +1,3 @@ -ExportCommaComma.hs:2:38: parse error on input ‘,’ +ExportCommaComma.hs:2:38: error: [GHC-58481] + parse error on input ‘,’ diff --git a/testsuite/tests/parser/should_fail/InfixAppPatErr.stderr b/testsuite/tests/parser/should_fail/InfixAppPatErr.stderr index 4651dae571..ee84bdfdcc 100644 --- a/testsuite/tests/parser/should_fail/InfixAppPatErr.stderr +++ b/testsuite/tests/parser/should_fail/InfixAppPatErr.stderr @@ -1,3 +1,2 @@ -InfixAppPatErr.hs:2:7: error: - do-notation in pattern +InfixAppPatErr.hs:2:7: error: [GHC-06446] do-notation in pattern diff --git a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr index bdb3301dea..4fa84606ac 100644 --- a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr +++ b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr @@ -1,7 +1,7 @@ -NoBlockArgumentsFail.hs:6:17: error: +NoBlockArgumentsFail.hs:6:17: error: [GHC-52095] Unexpected do block in function application: do return () Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments diff --git a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail2.stderr b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail2.stderr index 5b3a697f2e..f26f73713e 100644 --- a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail2.stderr +++ b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail2.stderr @@ -1,7 +1,7 @@ -NoBlockArgumentsFail2.hs:6:22: error: +NoBlockArgumentsFail2.hs:6:22: error: [GHC-06074] Unexpected lambda expression in function application: \ x -> print x Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments diff --git a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail3.stderr b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail3.stderr index f6d7dca47a..5d1ccec759 100644 --- a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail3.stderr +++ b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail3.stderr @@ -1,7 +1,7 @@ -NoBlockArgumentsFail3.hs:7:22: error: +NoBlockArgumentsFail3.hs:7:22: error: [GHC-77182] Unexpected \case expression in function application: \case Just 3 -> print x Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments diff --git a/testsuite/tests/parser/should_fail/NoBlockArgumentsFailArrowCmds.stderr b/testsuite/tests/parser/should_fail/NoBlockArgumentsFailArrowCmds.stderr index 504f4c738f..fbc86a8edc 100644 --- a/testsuite/tests/parser/should_fail/NoBlockArgumentsFailArrowCmds.stderr +++ b/testsuite/tests/parser/should_fail/NoBlockArgumentsFailArrowCmds.stderr @@ -1,7 +1,7 @@ -NoBlockArgumentsFailArrowCmds.hs:7:27: error: +NoBlockArgumentsFailArrowCmds.hs:7:27: error: [GHC-12178] Unexpected lambda command in function application: \ () -> () >- returnA Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments diff --git a/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr b/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr index 26b8d8c617..d21b250482 100644 --- a/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr +++ b/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr @@ -1,5 +1,5 @@ -NoDoAndIfThenElse.hs:7:13: +NoDoAndIfThenElse.hs:7:13: error: [GHC-75254] Unexpected semi-colons in conditional: if True; then return (); else return () Suggested fix: Perhaps you intended to use DoAndIfThenElse diff --git a/testsuite/tests/parser/should_fail/NoNumericUnderscores0.stderr b/testsuite/tests/parser/should_fail/NoNumericUnderscores0.stderr index ffe4a3f1dc..837688a9ba 100644 --- a/testsuite/tests/parser/should_fail/NoNumericUnderscores0.stderr +++ b/testsuite/tests/parser/should_fail/NoNumericUnderscores0.stderr @@ -1,4 +1,4 @@ -NoNumericUnderscores0.hs:11:3: error: +NoNumericUnderscores0.hs:11:3: error: [GHC-62330] Illegal underscores in integer literals Suggested fix: Perhaps you intended to use NumericUnderscores diff --git a/testsuite/tests/parser/should_fail/NoNumericUnderscores1.stderr b/testsuite/tests/parser/should_fail/NoNumericUnderscores1.stderr index 242d10f22b..03a0da4c94 100644 --- a/testsuite/tests/parser/should_fail/NoNumericUnderscores1.stderr +++ b/testsuite/tests/parser/should_fail/NoNumericUnderscores1.stderr @@ -1,4 +1,4 @@ -NoNumericUnderscores1.hs:11:3: error: +NoNumericUnderscores1.hs:11:3: error: [GHC-62330] Illegal underscores in floating literals Suggested fix: Perhaps you intended to use NumericUnderscores diff --git a/testsuite/tests/parser/should_fail/NoPatternSynonyms.stderr b/testsuite/tests/parser/should_fail/NoPatternSynonyms.stderr index 1785a14fc2..f4cd44c04a 100644 --- a/testsuite/tests/parser/should_fail/NoPatternSynonyms.stderr +++ b/testsuite/tests/parser/should_fail/NoPatternSynonyms.stderr @@ -1,4 +1,4 @@ -NoPatternSynonyms.hs:3:1: error: +NoPatternSynonyms.hs:3:1: error: [GHC-94426] Invalid type signature: pattern P :: ... Suggested fix: Perhaps you intended to use PatternSynonyms diff --git a/testsuite/tests/parser/should_fail/NumericUnderscoresFail0.stderr b/testsuite/tests/parser/should_fail/NumericUnderscoresFail0.stderr index 8c872575a5..643346ad98 100644 --- a/testsuite/tests/parser/should_fail/NumericUnderscoresFail0.stderr +++ b/testsuite/tests/parser/should_fail/NumericUnderscoresFail0.stderr @@ -1,4 +1,42 @@ -NumericUnderscoresFail0.hs:9:5: error: -NumericUnderscoresFail0.hs:11:13: error: -NumericUnderscoresFail0.hs:11:20: error: -NumericUnderscoresFail0.hs:12:13: error: + +NumericUnderscoresFail0.hs:9:5: error: [GHC-39999] + • Ambiguous type variable ‘a0’ arising from a use of ‘print’ + prevents the constraint ‘(Show a0)’ from being solved. + Probable fix: use a type annotation to specify what ‘a0’ should be. + Potentially matching instances: + instance (Show a, Show b) => Show (Either a b) + -- Defined in ‘Data.Either’ + instance Show Ordering -- Defined in ‘GHC.Show’ + ...plus 26 others + ...plus 28 instances involving out-of-scope types + (use -fprint-potential-instances to see them all) + • In a stmt of a 'do' block: print [1000000 _, _1000000] + In the expression: do print [1000000 _, _1000000] + In an equation for ‘main’: main = do print [1000000 _, ....] + +NumericUnderscoresFail0.hs:11:13: error: [GHC-39999] + • No instance for ‘Num (t0 -> a0)’ + arising from the literal ‘1000000’ + (maybe you haven't applied a function to enough arguments?) + • In the expression: 1000000 _ + In the first argument of ‘print’, namely ‘[1000000 _, _1000000]’ + In a stmt of a 'do' block: print [1000000 _, _1000000] + +NumericUnderscoresFail0.hs:11:20: error: [GHC-88464] + • Found hole: _ :: t0 + Where: ‘t0’ is an ambiguous type variable + • In the first argument of ‘1000000’, namely ‘_’ + In the expression: 1000000 _ + In the first argument of ‘print’, namely ‘[1000000 _, _1000000]’ + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail0.hs:8:1) + +NumericUnderscoresFail0.hs:12:13: error: [GHC-88464] + • Found hole: _1000000 :: a0 + Where: ‘a0’ is an ambiguous type variable + Or perhaps ‘_1000000’ is mis-spelled, or not in scope + • In the first argument of ‘print’, namely ‘[1000000 _, _1000000]’ + In a stmt of a 'do' block: print [1000000 _, _1000000] + In the expression: do print [1000000 _, _1000000] + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail0.hs:8:1) diff --git a/testsuite/tests/parser/should_fail/NumericUnderscoresFail1.stderr b/testsuite/tests/parser/should_fail/NumericUnderscoresFail1.stderr index e1c91de091..12320087e1 100644 --- a/testsuite/tests/parser/should_fail/NumericUnderscoresFail1.stderr +++ b/testsuite/tests/parser/should_fail/NumericUnderscoresFail1.stderr @@ -1,7 +1,59 @@ -NumericUnderscoresFail1.hs:11:14: error: -NumericUnderscoresFail1.hs:13:19: error: -NumericUnderscoresFail1.hs:14:15: error: -NumericUnderscoresFail1.hs:17:14: error: Variable not in scope: e_ -NumericUnderscoresFail1.hs:18:18: error: -NumericUnderscoresFail1.hs:19:14: error: Variable not in scope: e -NumericUnderscoresFail1.hs:19:16: error: + +NumericUnderscoresFail1.hs:11:14: error: [GHC-88464] + • Found hole: _ :: t4 + Where: ‘t4’ is an ambiguous type variable + • In the first argument of ‘0’, namely ‘_’ + In the first argument of ‘(.)’, namely ‘0 _’ + In the expression: 0 _ . 0001 + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail1.hs:8:1) + +NumericUnderscoresFail1.hs:13:19: error: [GHC-88464] + • Found hole: _ :: t3 + Where: ‘t3’ is an ambiguous type variable + • In the first argument of ‘0.0001’, namely ‘_’ + In the expression: 0.0001 _ + In the first argument of ‘print’, namely + ‘[0 _ . 0001, _0.0001, 0.0001 _, 0 . _0001, ....]’ + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail1.hs:8:1) + +NumericUnderscoresFail1.hs:14:15: error: [GHC-88464] + • Found hole: _0001 :: a0 -> b1 + Where: ‘a0’ is an ambiguous type variable + ‘b1’ is an ambiguous type variable + Or perhaps ‘_0001’ is mis-spelled, or not in scope + • In the second argument of ‘(.)’, namely ‘_0001’ + In the expression: 0 . _0001 + In the first argument of ‘print’, namely + ‘[0 _ . 0001, _0.0001, 0.0001 _, 0 . _0001, ....]’ + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail1.hs:8:1) + +NumericUnderscoresFail1.hs:17:14: error: [GHC-88464] + Variable not in scope: e_ + +NumericUnderscoresFail1.hs:18:18: error: [GHC-88464] + • Found hole: _ :: t1 + Where: ‘t1’ is an ambiguous type variable + • In the first argument of ‘1e+23’, namely ‘_’ + In the expression: 1e+23 _ + In the first argument of ‘print’, namely + ‘[0 _ . 0001, _0.0001, 0.0001 _, 0 . _0001, ....]’ + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail1.hs:8:1) + +NumericUnderscoresFail1.hs:19:14: error: [GHC-88464] + Variable not in scope: e + +NumericUnderscoresFail1.hs:19:16: error: [GHC-88464] + • Found hole: _23 :: a0 -> c0 + Where: ‘a0’ is an ambiguous type variable + ‘c0’ is an ambiguous type variable + Or perhaps ‘_23’ is mis-spelled, or not in scope + • In the second argument of ‘(+)’, namely ‘_23’ + In the expression: 1 e + _23 + In the first argument of ‘print’, namely + ‘[0 _ . 0001, _0.0001, 0.0001 _, 0 . _0001, ....]’ + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail1.hs:8:1) diff --git a/testsuite/tests/parser/should_fail/OpaqueParseFail1.stderr b/testsuite/tests/parser/should_fail/OpaqueParseFail1.stderr index 057b3a8f92..db44ac6b31 100644 --- a/testsuite/tests/parser/should_fail/OpaqueParseFail1.stderr +++ b/testsuite/tests/parser/should_fail/OpaqueParseFail1.stderr @@ -1,2 +1,3 @@ -OpaqueParseFail1.hs:4:11: error: + +OpaqueParseFail1.hs:4:11: error: [GHC-58481] parse error on input ‘[’ diff --git a/testsuite/tests/parser/should_fail/OpaqueParseFail2.stderr b/testsuite/tests/parser/should_fail/OpaqueParseFail2.stderr index 5c4063bd23..6d1fd99d3c 100644 --- a/testsuite/tests/parser/should_fail/OpaqueParseFail2.stderr +++ b/testsuite/tests/parser/should_fail/OpaqueParseFail2.stderr @@ -1,2 +1,3 @@ -OpaqueParseFail2.hs:4:12: error: + +OpaqueParseFail2.hs:4:12: error: [GHC-58481] parse error on input ‘SPECIALISE’ diff --git a/testsuite/tests/parser/should_fail/OpaqueParseFail3.stderr b/testsuite/tests/parser/should_fail/OpaqueParseFail3.stderr index 7680f18ead..618b859d80 100644 --- a/testsuite/tests/parser/should_fail/OpaqueParseFail3.stderr +++ b/testsuite/tests/parser/should_fail/OpaqueParseFail3.stderr @@ -1,2 +1,3 @@ -OpaqueParseFail3.hs:4:12: error: + +OpaqueParseFail3.hs:4:12: error: [GHC-58481] parse error on input ‘CONLIKE’ diff --git a/testsuite/tests/parser/should_fail/ParserNoBinaryLiterals1.stderr b/testsuite/tests/parser/should_fail/ParserNoBinaryLiterals1.stderr index d222e5d11c..4ddbbb01f5 100644 --- a/testsuite/tests/parser/should_fail/ParserNoBinaryLiterals1.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoBinaryLiterals1.stderr @@ -1,5 +1,5 @@ -ParserNoBinaryLiterals1.hs:5:1: error: +ParserNoBinaryLiterals1.hs:5:1: error: [GHC-91938] Equations for ‘f’ have different numbers of arguments ParserNoBinaryLiterals1.hs:5:1-10 ParserNoBinaryLiterals1.hs:6:1-10 diff --git a/testsuite/tests/parser/should_fail/ParserNoForallUnicode.stderr b/testsuite/tests/parser/should_fail/ParserNoForallUnicode.stderr index 0d8841c676..a47b03b133 100644 --- a/testsuite/tests/parser/should_fail/ParserNoForallUnicode.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoForallUnicode.stderr @@ -1,5 +1,5 @@ -ParserNoForallUnicode.hs:6:8: error: +ParserNoForallUnicode.hs:6:8: error: [GHC-25955] Illegal symbol ‘∀’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr b/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr index ef1d3d6b83..35ea9ecd47 100644 --- a/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr @@ -1,3 +1,4 @@ -ParserNoLambdaCase.hs:3:6: + +ParserNoLambdaCase.hs:3:6: error: [GHC-51179] Illegal \case Suggested fix: Perhaps you intended to use LambdaCase diff --git a/testsuite/tests/parser/should_fail/ParserNoMultiWayIf.stderr b/testsuite/tests/parser/should_fail/ParserNoMultiWayIf.stderr index 22258fa51c..24f39642bd 100644 --- a/testsuite/tests/parser/should_fail/ParserNoMultiWayIf.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoMultiWayIf.stderr @@ -1,4 +1,4 @@ -ParserNoMultiWayIf.hs:4:5: +ParserNoMultiWayIf.hs:4:5: error: [GHC-28985] Illegal multi-way if-expression Suggested fix: Perhaps you intended to use MultiWayIf diff --git a/testsuite/tests/parser/should_fail/ParserNoTH1.stderr b/testsuite/tests/parser/should_fail/ParserNoTH1.stderr index 56fffbd525..eeb32bffca 100644 --- a/testsuite/tests/parser/should_fail/ParserNoTH1.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoTH1.stderr @@ -1,9 +1,9 @@ -ParserNoTH1.hs:1:5: warning: [-Woperator-whitespace-ext-conflict (in -Wdefault)] +ParserNoTH1.hs:1:5: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict (in -Wdefault)] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. -ParserNoTH1.hs:1:5: error: +ParserNoTH1.hs:1:5: error: [GHC-58481] parse error on input ‘$’ Suggested fix: Perhaps you intended to use TemplateHaskell diff --git a/testsuite/tests/parser/should_fail/ParserNoTH2.stderr b/testsuite/tests/parser/should_fail/ParserNoTH2.stderr index 4f3bba9085..4873078fa8 100644 --- a/testsuite/tests/parser/should_fail/ParserNoTH2.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoTH2.stderr @@ -1,9 +1,9 @@ -ParserNoTH2.hs:1:5: warning: [-Woperator-whitespace-ext-conflict (in -Wdefault)] +ParserNoTH2.hs:1:5: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict (in -Wdefault)] The prefix use of a ‘$$’ would denote a typed splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$$’. -ParserNoTH2.hs:1:5: error: +ParserNoTH2.hs:1:5: error: [GHC-58481] parse error on input ‘$$’ Suggested fix: Perhaps you intended to use TemplateHaskell diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail0.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail0.stderr index 6e4a3fbae6..c7b9ec4171 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail0.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail0.stderr @@ -1,2 +1,3 @@ - RecordDotSyntaxFail0.hs:3:12: + +RecordDotSyntaxFail0.hs:3:12: error: [GHC-26832] Use of OverloadedRecordDot '.' not valid ('.' isn't allowed when constructing records or in record patterns) diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail1.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail1.stderr index f1ab2b9f95..c52aee6f5a 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail1.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail1.stderr @@ -1,2 +1,3 @@ -RecordDotSyntaxFail1.hs:3:10: + +RecordDotSyntaxFail1.hs:3:10: error: [GHC-26832] Use of OverloadedRecordDot '.' not valid ('.' isn't allowed when constructing records or in record patterns) diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail10.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail10.stderr index f36e3d9385..0051ba2c35 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail10.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail10.stderr @@ -1,5 +1,5 @@ -RecordDotSyntaxFail10.hs:40:11: error: +RecordDotSyntaxFail10.hs:40:11: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘[Char]’ • In the second argument of ‘($)’, namely ‘a {foo.bar.baz.quux}’ In a stmt of a 'do' block: print $ a {foo.bar.baz.quux} diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail11.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail11.stderr index 173a24d7c1..d7b422da8d 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail11.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail11.stderr @@ -1,5 +1,5 @@ -RecordDotSyntaxFail11.hs:8:3: error: +RecordDotSyntaxFail11.hs:8:3: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘print’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -15,7 +15,7 @@ RecordDotSyntaxFail11.hs:8:3: error: do let a = ... print $ (.foo.bar.baz) a -RecordDotSyntaxFail11.hs:8:11: error: +RecordDotSyntaxFail11.hs:8:11: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "baz" Int a0’ • In the second argument of ‘($)’, namely ‘(.foo.bar.baz) a’ In a stmt of a 'do' block: print $ (.foo.bar.baz) a diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr index 63cdbea4b4..edbfbb9432 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr @@ -1,13 +1,13 @@ -RecordDotSyntaxFail12.hs:124:25: error: +RecordDotSyntaxFail12.hs:124:25: error: [GHC-44287] Illegal use of punning for field ‘quux’ Suggested fix: Perhaps you intended to use NamedFieldPuns -RecordDotSyntaxFail12.hs:124:46: error: +RecordDotSyntaxFail12.hs:124:46: error: [GHC-44287] Illegal use of punning for field ‘baz’ Suggested fix: Perhaps you intended to use NamedFieldPuns -RecordDotSyntaxFail12.hs:124:65: error: +RecordDotSyntaxFail12.hs:124:65: error: [GHC-44287] Illegal use of punning for field ‘bar’ Suggested fix: Perhaps you intended to use NamedFieldPuns diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail13.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail13.stderr index 24c3f2a59b..06ed8037bd 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail13.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail13.stderr @@ -1,5 +1,5 @@ -RecordDotSyntaxFail13.hs:26:11: error: +RecordDotSyntaxFail13.hs:26:11: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘Foo -> Int’ arising from a functional dependency between: constraint ‘HasField "foo" Foo (Foo -> Int)’ diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail2.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail2.stderr index 430bb53a5e..353ae4bc90 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail2.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail2.stderr @@ -1,3 +1,4 @@ -RecordDotSyntaxFail2.hs:10:10: + +RecordDotSyntaxFail2.hs:10:10: error: [GHC-82135] Illegal overloaded record update Suggested fix: Perhaps you intended to use OverloadedRecordUpdate diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail3.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail3.stderr index 674b0c1e50..ecdc64fe6f 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail3.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail3.stderr @@ -1 +1,3 @@ -RecordDotSyntaxFail3.hs:22:14: parse error on input ‘(’ + +RecordDotSyntaxFail3.hs:22:14: error: [GHC-58481] + parse error on input ‘(’ diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail4.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail4.stderr index 4ffc9df51e..68f861c2ca 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail4.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail4.stderr @@ -1,2 +1,3 @@ -RecordDotSyntaxFail4.hs:7:29: error: + +RecordDotSyntaxFail4.hs:7:29: error: [GHC-58481] parse error on input ‘.’ diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail6.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail6.stderr index c9bb7f6647..ff121e238e 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail6.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail6.stderr @@ -1,5 +1,5 @@ [1 of 3] Compiling RecordDotSyntaxA ( RecordDotSyntaxA.hs, RecordDotSyntaxA.o ) [2 of 3] Compiling Main ( RecordDotSyntaxFail6.hs, RecordDotSyntaxFail6.o ) -RecordDotSyntaxFail6.hs:10:17: error: +RecordDotSyntaxFail6.hs:10:17: error: [GHC-94863] Fields cannot be qualified when OverloadedRecordUpdate is enabled diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail7.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail7.stderr index 0b0cfcc03a..b1db7bb533 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail7.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail7.stderr @@ -1,4 +1,5 @@ [1 of 3] Compiling RecordDotSyntaxA ( RecordDotSyntaxA.hs, RecordDotSyntaxA.o ) [2 of 3] Compiling Main ( RecordDotSyntaxFail7.hs, RecordDotSyntaxFail7.o ) -RecordDotSyntaxFail7.hs:9:16: error: parse error on input ‘A.foo’ +RecordDotSyntaxFail7.hs:9:16: error: [GHC-58481] + parse error on input ‘A.foo’ diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail8.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail8.stderr index 195379434c..15d3d96e86 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail8.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail8.stderr @@ -1,5 +1,5 @@ -RecordDotSyntaxFail8.hs:37:3: error: +RecordDotSyntaxFail8.hs:37:3: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘print’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -15,7 +15,7 @@ RecordDotSyntaxFail8.hs:37:3: error: do let a = ... print $ ....quux -RecordDotSyntaxFail8.hs:37:11: error: +RecordDotSyntaxFail8.hs:37:11: error: [GHC-39999] • No instance for ‘HasField "quux" Quux a0’ arising from selecting the field ‘quux’ • In the second argument of ‘($)’, namely ‘....baz.quux’ diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail9.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail9.stderr index ee15f9fc6b..49fc6560d3 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail9.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail9.stderr @@ -1,7 +1,8 @@ -RecordDotSyntaxFail9.hs:7:11: - Couldn't match type ‘Int’ with ‘[Char]’ + +RecordDotSyntaxFail9.hs:7:11: error: [GHC-18872] + • Couldn't match type ‘Int’ with ‘[Char]’ arising from selecting the field ‘foo’ - In the expression: a.foo :: String + • In the expression: a.foo :: String In a pattern binding: _ = a.foo :: String In the expression: do let a = ... diff --git a/testsuite/tests/parser/should_fail/RecordWildCardsFail.stderr b/testsuite/tests/parser/should_fail/RecordWildCardsFail.stderr index 2f7958b45c..5422e429e2 100644 --- a/testsuite/tests/parser/should_fail/RecordWildCardsFail.stderr +++ b/testsuite/tests/parser/should_fail/RecordWildCardsFail.stderr @@ -1,3 +1,4 @@ -RecordWildCardsFail.hs:7:5: + +RecordWildCardsFail.hs:7:5: error: [GHC-37132] Illegal `..' in record pattern Suggested fix: Perhaps you intended to use RecordWildCards diff --git a/testsuite/tests/parser/should_fail/T10196Fail1.stderr b/testsuite/tests/parser/should_fail/T10196Fail1.stderr index 3c4a173eef..1520c4d921 100644 --- a/testsuite/tests/parser/should_fail/T10196Fail1.stderr +++ b/testsuite/tests/parser/should_fail/T10196Fail1.stderr @@ -1,2 +1,3 @@ -T10196Fail1.hs:4:12: error: lexical error at character '\7526' +T10196Fail1.hs:4:12: error: [GHC-21231] + lexical error at character '\7526' diff --git a/testsuite/tests/parser/should_fail/T10196Fail2.stderr b/testsuite/tests/parser/should_fail/T10196Fail2.stderr index abba8aa04c..43f1ab1e6a 100644 --- a/testsuite/tests/parser/should_fail/T10196Fail2.stderr +++ b/testsuite/tests/parser/should_fail/T10196Fail2.stderr @@ -1,2 +1,3 @@ -T10196Fail2.hs:4:1: error: lexical error at character '\7526' +T10196Fail2.hs:4:1: error: [GHC-21231] + lexical error at character '\7526' diff --git a/testsuite/tests/parser/should_fail/T10498a.stderr b/testsuite/tests/parser/should_fail/T10498a.stderr index 8b866f35f2..519b9e5018 100644 --- a/testsuite/tests/parser/should_fail/T10498a.stderr +++ b/testsuite/tests/parser/should_fail/T10498a.stderr @@ -1,2 +1,2 @@ -T10498a.hs:12:15: error: parse error on input ‘->’ +T10498a.hs:12:15: error: [GHC-58481] parse error on input ‘->’ diff --git a/testsuite/tests/parser/should_fail/T10498b.stderr b/testsuite/tests/parser/should_fail/T10498b.stderr index e15343b891..2c6ee1d635 100644 --- a/testsuite/tests/parser/should_fail/T10498b.stderr +++ b/testsuite/tests/parser/should_fail/T10498b.stderr @@ -1,2 +1,2 @@ -T10498b.hs:7:8: error: parse error on input ‘module’ +T10498b.hs:7:8: error: [GHC-58481] parse error on input ‘module’ diff --git a/testsuite/tests/parser/should_fail/T12045d.stderr b/testsuite/tests/parser/should_fail/T12045d.stderr index a731352f10..dbbd71322c 100644 --- a/testsuite/tests/parser/should_fail/T12045d.stderr +++ b/testsuite/tests/parser/should_fail/T12045d.stderr @@ -1,3 +1,3 @@ -T12045d.hs:11:16: error: +T12045d.hs:11:16: error: [GHC-83653] Unexpected kind application in a data/newtype declaration: MkD @Nat diff --git a/testsuite/tests/parser/should_fail/T12051.stderr b/testsuite/tests/parser/should_fail/T12051.stderr index ae65eaea6e..0f1624b6d8 100644 --- a/testsuite/tests/parser/should_fail/T12051.stderr +++ b/testsuite/tests/parser/should_fail/T12051.stderr @@ -1,2 +1,2 @@ -T12051.hs:3:10: error: Not a data constructor: ‘+++’ +T12051.hs:3:10: error: [GHC-25742] Not a data constructor: ‘+++’ diff --git a/testsuite/tests/parser/should_fail/T12429.stderr b/testsuite/tests/parser/should_fail/T12429.stderr index eab51a5646..d6f9ee0088 100644 --- a/testsuite/tests/parser/should_fail/T12429.stderr +++ b/testsuite/tests/parser/should_fail/T12429.stderr @@ -1,4 +1,4 @@ -T12429.hs:2:29: error: +T12429.hs:2:29: error: [GHC-58481] parse error on input ‘Y’ Suggested fix: Perhaps you intended to use PatternSynonyms diff --git a/testsuite/tests/parser/should_fail/T12610.stderr b/testsuite/tests/parser/should_fail/T12610.stderr index 2eb924bfb0..63c171dbc9 100644 --- a/testsuite/tests/parser/should_fail/T12610.stderr +++ b/testsuite/tests/parser/should_fail/T12610.stderr @@ -1,6 +1,6 @@ -T12610.hs:5:1: warning: [-Wtabs (in -Wdefault)] +T12610.hs:5:1: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here. Suggested fix: Please use spaces instead. -T12610.hs:5:9: parse error on input ‘y’ +T12610.hs:5:9: error: [GHC-58481] parse error on input ‘y’ diff --git a/testsuite/tests/parser/should_fail/T12811.stderr b/testsuite/tests/parser/should_fail/T12811.stderr index ec4c79bef9..9f3937d498 100644 --- a/testsuite/tests/parser/should_fail/T12811.stderr +++ b/testsuite/tests/parser/should_fail/T12811.stderr @@ -1,6 +1,7 @@ -T12811.hs:5:15: error: +T12811.hs:5:15: error: [GHC-62547] Illegal operator ‘.’ in type ‘foral a . a’ Suggested fix: Perhaps you intended to use TypeOperators -T12811.hs:5:15: error: Not in scope: type constructor or class ‘.’ +T12811.hs:5:15: error: [GHC-76037] + Not in scope: type constructor or class ‘.’ diff --git a/testsuite/tests/parser/should_fail/T13260.stderr b/testsuite/tests/parser/should_fail/T13260.stderr index 05e99d60ee..88ddc42caa 100644 --- a/testsuite/tests/parser/should_fail/T13260.stderr +++ b/testsuite/tests/parser/should_fail/T13260.stderr @@ -1,4 +1,4 @@ -T13260.hs:6:5: error: +T13260.hs:6:5: error: [GHC-69925] Illegal unboxed string literal in pattern: "a"# diff --git a/testsuite/tests/parser/should_fail/T13414.stderr b/testsuite/tests/parser/should_fail/T13414.stderr index f5b0001ef1..19e3aefd49 100644 --- a/testsuite/tests/parser/should_fail/T13414.stderr +++ b/testsuite/tests/parser/should_fail/T13414.stderr @@ -1,2 +1,3 @@ -T13414.lhs:3:10: error: Variable not in scope: invalid_ident_ +T13414.lhs:3:10: error: [GHC-88464] + Variable not in scope: invalid_ident_ diff --git a/testsuite/tests/parser/should_fail/T1344a.stderr b/testsuite/tests/parser/should_fail/T1344a.stderr index a7c203c1c5..1c11ec917d 100644 --- a/testsuite/tests/parser/should_fail/T1344a.stderr +++ b/testsuite/tests/parser/should_fail/T1344a.stderr @@ -1,3 +1,3 @@ -T1344a.hs:3:16: +T1344a.hs:3:16: error: [GHC-21231] numeric escape sequence out of range at character '0' diff --git a/testsuite/tests/parser/should_fail/T1344b.stderr b/testsuite/tests/parser/should_fail/T1344b.stderr index 7b05c0fb2b..842f1b3d85 100644 --- a/testsuite/tests/parser/should_fail/T1344b.stderr +++ b/testsuite/tests/parser/should_fail/T1344b.stderr @@ -1,3 +1,3 @@ -T1344b.hs:3:16: +T1344b.hs:3:16: error: [GHC-21231] numeric escape sequence out of range at character '0' diff --git a/testsuite/tests/parser/should_fail/T1344c.stderr b/testsuite/tests/parser/should_fail/T1344c.stderr index 57ad0592bd..d0ee7b34dc 100644 --- a/testsuite/tests/parser/should_fail/T1344c.stderr +++ b/testsuite/tests/parser/should_fail/T1344c.stderr @@ -1,3 +1,3 @@ -T1344c.hs:3:13: +T1344c.hs:3:13: error: [GHC-21231] numeric escape sequence out of range at character '2' diff --git a/testsuite/tests/parser/should_fail/T13450.stderr b/testsuite/tests/parser/should_fail/T13450.stderr index 6e0beb32cc..41e16f138c 100644 --- a/testsuite/tests/parser/should_fail/T13450.stderr +++ b/testsuite/tests/parser/should_fail/T13450.stderr @@ -1,4 +1,4 @@ -T13450.hs:4:15: error: +T13450.hs:4:15: error: [GHC-11861] Parser error on `''` Character literals may not be empty diff --git a/testsuite/tests/parser/should_fail/T13450TH.stderr b/testsuite/tests/parser/should_fail/T13450TH.stderr index 1d6fdfbb1a..b15f3ec2f0 100644 --- a/testsuite/tests/parser/should_fail/T13450TH.stderr +++ b/testsuite/tests/parser/should_fail/T13450TH.stderr @@ -1,5 +1,5 @@ -T13450TH.hs:6:15: error: +T13450TH.hs:6:15: error: [GHC-11861] Parser error on `''` Character literals may not be empty Suggested fix: diff --git a/testsuite/tests/parser/should_fail/T14588.stderr b/testsuite/tests/parser/should_fail/T14588.stderr index 04e4478198..dd947efa54 100644 --- a/testsuite/tests/parser/should_fail/T14588.stderr +++ b/testsuite/tests/parser/should_fail/T14588.stderr @@ -1,5 +1,5 @@ -T14588.hs:4:19: error: +T14588.hs:4:19: error: [GHC-79767] Illegal bang-pattern !x Suggested fix: Perhaps you intended to use BangPatterns diff --git a/testsuite/tests/parser/should_fail/T14740.stderr b/testsuite/tests/parser/should_fail/T14740.stderr index 8827873e25..5a047c03ba 100644 --- a/testsuite/tests/parser/should_fail/T14740.stderr +++ b/testsuite/tests/parser/should_fail/T14740.stderr @@ -1,4 +1,4 @@ -T14740.hs:5:7: - Expecting a lifted type, but ‘(# #)’ is unlifted - In the type signature: x :: ((# #)) => () +T14740.hs:5:7: error: [GHC-83865] + • Expecting a lifted type, but ‘(# #)’ is unlifted + • In the type signature: x :: ((# #)) => () diff --git a/testsuite/tests/parser/should_fail/T15053.stderr b/testsuite/tests/parser/should_fail/T15053.stderr index 0544327c5e..25d71d056f 100644 --- a/testsuite/tests/parser/should_fail/T15053.stderr +++ b/testsuite/tests/parser/should_fail/T15053.stderr @@ -1,5 +1,6 @@ -T15053.hs:1:16: + +T15053.hs:1:16: error: [GHC-24342] Error while parsing OPTIONS_GHC pragma. Expecting whitespace-separated list of GHC options. E.g. {-# OPTIONS_GHC -Wall -O2 #-} - Input was: " -O1 }/n/"/n " + Input was: " -O1 }\n\"\n " diff --git a/testsuite/tests/parser/should_fail/T15209.stderr b/testsuite/tests/parser/should_fail/T15209.stderr index 23f8876d67..0b2414fd0b 100644 --- a/testsuite/tests/parser/should_fail/T15209.stderr +++ b/testsuite/tests/parser/should_fail/T15209.stderr @@ -1,5 +1,5 @@ -T15209.hs:6:10: error: +T15209.hs:6:10: error: [GHC-76037] Not in scope: type constructor or class ‘~#’ Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/parser/should_fail/T15233.stderr b/testsuite/tests/parser/should_fail/T15233.stderr index 3371bef758..b1741a189c 100644 --- a/testsuite/tests/parser/should_fail/T15233.stderr +++ b/testsuite/tests/parser/should_fail/T15233.stderr @@ -1,8 +1,9 @@ -T15233.hs:4:10: error: +T15233.hs:4:10: error: [GHC-39716] Illegal fixity signature of built-in syntax: : -T15233.hs:5:16: error: Illegal deprecation of built-in syntax: : +T15233.hs:5:16: error: [GHC-39716] + Illegal deprecation of built-in syntax: : -T15233.hs:9:10: error: +T15233.hs:9:10: error: [GHC-39716] Illegal fixity signature of built-in syntax: -> diff --git a/testsuite/tests/parser/should_fail/T15730.stderr b/testsuite/tests/parser/should_fail/T15730.stderr index 7eb649e1b6..433ca1a933 100644 --- a/testsuite/tests/parser/should_fail/T15730.stderr +++ b/testsuite/tests/parser/should_fail/T15730.stderr @@ -1,3 +1,3 @@ -T15730.hs:3:9: error: +T15730.hs:3:9: error: [GHC-85314] A pragma is not allowed in this position: {-# SCC ann #-} diff --git a/testsuite/tests/parser/should_fail/T15730b.stderr b/testsuite/tests/parser/should_fail/T15730b.stderr index 032c5a49f4..129c2b8702 100644 --- a/testsuite/tests/parser/should_fail/T15730b.stderr +++ b/testsuite/tests/parser/should_fail/T15730b.stderr @@ -1,3 +1,3 @@ -T15730b.hs:8:16: error: +T15730b.hs:8:16: error: [GHC-85314] A pragma is not allowed in this position: {-# SCC a1 #-} diff --git a/testsuite/tests/parser/should_fail/T15849.stderr b/testsuite/tests/parser/should_fail/T15849.stderr index e974dbde02..eb191d28bd 100644 --- a/testsuite/tests/parser/should_fail/T15849.stderr +++ b/testsuite/tests/parser/should_fail/T15849.stderr @@ -1,3 +1,2 @@ -T15849.hs:4:6: error: - parse error on input ‘=’ +T15849.hs:4:6: error: [GHC-58481] parse error on input ‘=’ 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) diff --git a/testsuite/tests/parser/should_fail/T16270h.stderr b/testsuite/tests/parser/should_fail/T16270h.stderr index f723d594da..ad24b9bb19 100644 --- a/testsuite/tests/parser/should_fail/T16270h.stderr +++ b/testsuite/tests/parser/should_fail/T16270h.stderr @@ -1,12 +1,12 @@ -T16270h.hs:8:22: error: +T16270h.hs:8:22: error: [GHC-47007] Illegal keyword 'type' Suggested fix: Perhaps you intended to use ExplicitNamespaces -T16270h.hs:10:8: error: +T16270h.hs:10:8: error: [GHC-21926] Parse error: ‘pkg?’ Version number or non-alphanumeric character in package name -T16270h.hs:11:8: error: +T16270h.hs:11:8: error: [GHC-21926] Parse error: ‘pkg!’ Version number or non-alphanumeric character in package name diff --git a/testsuite/tests/parser/should_fail/T16999.stderr b/testsuite/tests/parser/should_fail/T16999.stderr index 16b3235dd1..187329aff5 100644 --- a/testsuite/tests/parser/should_fail/T16999.stderr +++ b/testsuite/tests/parser/should_fail/T16999.stderr @@ -1,2 +1,2 @@ -T16999.hs:6:5: error: Not a data constructor: ‘->’ +T16999.hs:6:5: error: [GHC-25742] Not a data constructor: ‘->’ diff --git a/testsuite/tests/parser/should_fail/T17045.stderr b/testsuite/tests/parser/should_fail/T17045.stderr index e67ac82f5e..f4bf96c8be 100644 --- a/testsuite/tests/parser/should_fail/T17045.stderr +++ b/testsuite/tests/parser/should_fail/T17045.stderr @@ -1,5 +1,5 @@ -T17045.hs:7:11: error: +T17045.hs:7:11: error: [GHC-76037] Not in scope: type constructor or class ‘String’ Suggested fix: Perhaps you want to add ‘String’ to the import list diff --git a/testsuite/tests/parser/should_fail/T17162.stderr b/testsuite/tests/parser/should_fail/T17162.stderr index 1eef0ea346..84c985fa55 100644 --- a/testsuite/tests/parser/should_fail/T17162.stderr +++ b/testsuite/tests/parser/should_fail/T17162.stderr @@ -1,5 +1,5 @@ -T17162.hs:7:21: error: +T17162.hs:7:21: error: [GHC-79767] Illegal bang-pattern !enc Suggested fix: Perhaps you intended to use BangPatterns diff --git a/testsuite/tests/parser/should_fail/T17865.stderr b/testsuite/tests/parser/should_fail/T17865.stderr index 560144fbe5..ccd2786f26 100644 --- a/testsuite/tests/parser/should_fail/T17865.stderr +++ b/testsuite/tests/parser/should_fail/T17865.stderr @@ -1,16 +1,16 @@ -T17865.hs:3:11: error: +T17865.hs:3:11: error: [GHC-80236] Illegal promotion quote mark in the declaration of data/newtype constructor MkT -T17865.hs:5:13: error: +T17865.hs:5:13: error: [GHC-80236] Illegal promotion quote mark in the declaration of data/newtype constructor MkT' -T17865.hs:7:16: error: +T17865.hs:7:16: error: [GHC-80236] Illegal promotion quote mark in the declaration of data/newtype constructor (:>) -T17865.hs:9:17: error: +T17865.hs:9:17: error: [GHC-80236] Illegal promotion quote mark in the declaration of data/newtype constructor (:>$) diff --git a/testsuite/tests/parser/should_fail/T18130Fail.stderr b/testsuite/tests/parser/should_fail/T18130Fail.stderr index 60887b0799..4d77cae8da 100644 --- a/testsuite/tests/parser/should_fail/T18130Fail.stderr +++ b/testsuite/tests/parser/should_fail/T18130Fail.stderr @@ -1,4 +1,4 @@ -T18130Fail.hs:11:7: error: +T18130Fail.hs:11:7: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘(a, b)’ has kind ‘*’ • In the newtype declaration for ‘Par’ diff --git a/testsuite/tests/parser/should_fail/T18251a.stderr b/testsuite/tests/parser/should_fail/T18251a.stderr index abdfd68e64..8e74248a08 100644 --- a/testsuite/tests/parser/should_fail/T18251a.stderr +++ b/testsuite/tests/parser/should_fail/T18251a.stderr @@ -1,5 +1,4 @@ -T18251a.hs:3:1: error: - Parse error in pattern: pairs - In a function binding for the ‘@’ operator. - Perhaps you meant an as-pattern, which must not be surrounded by whitespace +T18251a.hs:3:1: error: [GHC-07626] + Parse error in pattern: pairs In a function binding for the ‘@’ operator. + Perhaps you meant an as-pattern, which must not be surrounded by whitespace diff --git a/testsuite/tests/parser/should_fail/T18251b.stderr b/testsuite/tests/parser/should_fail/T18251b.stderr index 0dab383d52..ef67efad23 100644 --- a/testsuite/tests/parser/should_fail/T18251b.stderr +++ b/testsuite/tests/parser/should_fail/T18251b.stderr @@ -1,4 +1,4 @@ -T18251b.hs:3:11: error: +T18251b.hs:3:11: error: [GHC-08382] Found a binding for the ‘@’ operator in a pattern position. Perhaps you meant an as-pattern, which must not be surrounded by whitespace diff --git a/testsuite/tests/parser/should_fail/T18251d.stderr b/testsuite/tests/parser/should_fail/T18251d.stderr index 15825502e0..61b535f973 100644 --- a/testsuite/tests/parser/should_fail/T18251d.stderr +++ b/testsuite/tests/parser/should_fail/T18251d.stderr @@ -1,4 +1,4 @@ -T18251d.hs:6:1: error: +T18251d.hs:6:1: error: [GHC-07626] Parse error in pattern: f @a - Type applications in patterns are only allowed on data constructors. + Type applications in patterns are only allowed on data constructors. diff --git a/testsuite/tests/parser/should_fail/T18251f.stderr b/testsuite/tests/parser/should_fail/T18251f.stderr index fa859fa06a..84d589d35b 100644 --- a/testsuite/tests/parser/should_fail/T18251f.stderr +++ b/testsuite/tests/parser/should_fail/T18251f.stderr @@ -1,4 +1,3 @@ -T18251f.hs:3:5: error: - Parse error in pattern: x - In a function binding for the ‘!’ operator. +T18251f.hs:3:5: error: [GHC-07626] + Parse error in pattern: x In a function binding for the ‘!’ operator. diff --git a/testsuite/tests/parser/should_fail/T19504.stderr b/testsuite/tests/parser/should_fail/T19504.stderr index 9d37ba22a0..f61b9db005 100644 --- a/testsuite/tests/parser/should_fail/T19504.stderr +++ b/testsuite/tests/parser/should_fail/T19504.stderr @@ -1,2 +1,2 @@ -T19504.hs:3:23: error: Tuple section in pattern context +T19504.hs:3:23: error: [GHC-09646] Tuple section in pattern context diff --git a/testsuite/tests/parser/should_fail/T19923a.stderr b/testsuite/tests/parser/should_fail/T19923a.stderr index 223c670921..4ec9713a41 100644 --- a/testsuite/tests/parser/should_fail/T19923a.stderr +++ b/testsuite/tests/parser/should_fail/T19923a.stderr @@ -1,2 +1,2 @@ -T19923a.hs:1:14: error: Unsupported extension: T19923 +T19923a.hs:1:14: error: [GHC-46537] Unsupported extension: T19923 diff --git a/testsuite/tests/parser/should_fail/T19923b.stderr b/testsuite/tests/parser/should_fail/T19923b.stderr index 414fa902e8..fec2f5f20f 100644 --- a/testsuite/tests/parser/should_fail/T19923b.stderr +++ b/testsuite/tests/parser/should_fail/T19923b.stderr @@ -1,3 +1,3 @@ -T19923b.hs:1:17: error: +T19923b.hs:1:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: T19923 diff --git a/testsuite/tests/parser/should_fail/T19923c.stderr b/testsuite/tests/parser/should_fail/T19923c.stderr index e366c5dcd2..f99fb54f5f 100644 --- a/testsuite/tests/parser/should_fail/T19923c.stderr +++ b/testsuite/tests/parser/should_fail/T19923c.stderr @@ -1,3 +1,3 @@ -T19923c.hs:1:17: error: +T19923c.hs:1:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: TemplateHaskell, diff --git a/testsuite/tests/parser/should_fail/T19928.stderr b/testsuite/tests/parser/should_fail/T19928.stderr index 342639a100..d7cd83a836 100644 --- a/testsuite/tests/parser/should_fail/T19928.stderr +++ b/testsuite/tests/parser/should_fail/T19928.stderr @@ -1,12 +1,12 @@ -T19928.hs:6:9: error: +T19928.hs:6:9: error: [GHC-37475] Parse error: ‘(%1 ->)’ Record constructors in GADTs must use an ordinary, non-linear arrow. -T19928.hs:7:9: error: +T19928.hs:7:9: error: [GHC-37475] Parse error: ‘(%p ->)’ Record constructors in GADTs must use an ordinary, non-linear arrow. -T19928.hs:8:9: error: +T19928.hs:8:9: error: [GHC-37475] Parse error: ‘(%1 ->)’ Record constructors in GADTs must use an ordinary, non-linear arrow. diff --git a/testsuite/tests/parser/should_fail/T20385A.stderr b/testsuite/tests/parser/should_fail/T20385A.stderr index 5a0bbc14e4..3e5b6c718d 100644 --- a/testsuite/tests/parser/should_fail/T20385A.stderr +++ b/testsuite/tests/parser/should_fail/T20385A.stderr @@ -1,11 +1,11 @@ -T20385A.hs:5:1: warning: [-Wmisplaced-pragmas (in -Wdefault)] +T20385A.hs:5:1: warning: [GHC-28007] [-Wmisplaced-pragmas (in -Wdefault)] Misplaced LANGUAGE pragma Suggested fix: Perhaps you meant to place it in the module header? The module header is the section at the top of the file, before the ‘module’ keyword -T20385A.hs:10:9: error: +T20385A.hs:10:9: error: [GHC-88464] Variable not in scope: mdo :: a -> a Suggested fixes: • Perhaps use ‘mod’ (imported from Prelude) diff --git a/testsuite/tests/parser/should_fail/T20385B.stderr b/testsuite/tests/parser/should_fail/T20385B.stderr index f854e2be1a..0f7c9be2d6 100644 --- a/testsuite/tests/parser/should_fail/T20385B.stderr +++ b/testsuite/tests/parser/should_fail/T20385B.stderr @@ -1,11 +1,11 @@ -T20385B.hs:6:1: warning: [-Wmisplaced-pragmas (in -Wdefault)] +T20385B.hs:6:1: warning: [GHC-28007] [-Wmisplaced-pragmas (in -Wdefault)] Misplaced LANGUAGE pragma Suggested fix: Perhaps you meant to place it in the module header? The module header is the section at the top of the file, before the ‘module’ keyword -T20385B.hs:11:9: error: +T20385B.hs:11:9: error: [GHC-88464] Variable not in scope: mdo :: a -> a Suggested fixes: • Perhaps use ‘mod’ (imported from Prelude) diff --git a/testsuite/tests/parser/should_fail/T20654a.stderr b/testsuite/tests/parser/should_fail/T20654a.stderr index 81760a572b..beb5858afa 100644 --- a/testsuite/tests/parser/should_fail/T20654a.stderr +++ b/testsuite/tests/parser/should_fail/T20654a.stderr @@ -1,5 +1,5 @@ -T20654a.hs:7:9: error: +T20654a.hs:7:9: error: [GHC-18872] • Couldn't match type: forall a. a -> a with: Int -> Int arising from a functional dependency between constraints: diff --git a/testsuite/tests/parser/should_fail/T20654b.stderr b/testsuite/tests/parser/should_fail/T20654b.stderr index ba7f6a356a..3a913b6b77 100644 --- a/testsuite/tests/parser/should_fail/T20654b.stderr +++ b/testsuite/tests/parser/should_fail/T20654b.stderr @@ -1,4 +1,4 @@ -T20654b.hs:6:17: error: +T20654b.hs:6:17: error: [GHC-83865] • Expected a type, but ‘?ip2 :: Int’ has kind ‘Constraint’ • In the type signature: bar :: (?ip1 :: ?ip2 :: Int) => Int diff --git a/testsuite/tests/parser/should_fail/T3095.stderr b/testsuite/tests/parser/should_fail/T3095.stderr index ebb42b5be1..5448b97035 100644 --- a/testsuite/tests/parser/should_fail/T3095.stderr +++ b/testsuite/tests/parser/should_fail/T3095.stderr @@ -1,11 +1,11 @@ -T3095.hs:8:12: error: +T3095.hs:8:12: 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> -T3095.hs:8:12: error: +T3095.hs:8:12: error: [GHC-77878] Unexpected type ‘forall x. x :: Type’ In the class declaration for ‘Bla’ A class declaration should have form diff --git a/testsuite/tests/parser/should_fail/T3153.stderr b/testsuite/tests/parser/should_fail/T3153.stderr index f9e9ab62ba..dd33ece17f 100644 --- a/testsuite/tests/parser/should_fail/T3153.stderr +++ b/testsuite/tests/parser/should_fail/T3153.stderr @@ -1,5 +1,5 @@ -T3153.hs:1:1: +T3153.hs:1:1: error: [GHC-68686] Cannot parse LANGUAGE pragma Expecting comma-separated list of language options, each starting with a capital letter diff --git a/testsuite/tests/parser/should_fail/T3751.stderr b/testsuite/tests/parser/should_fail/T3751.stderr index cf14e746e1..7eecf9f9ad 100644 --- a/testsuite/tests/parser/should_fail/T3751.stderr +++ b/testsuite/tests/parser/should_fail/T3751.stderr @@ -1,3 +1,3 @@ -T3751.hs:3:7: +T3751.hs:3:7: error: [GHC-21231] lexical error in string/character literal at character '\167' diff --git a/testsuite/tests/parser/should_fail/T3811.stderr b/testsuite/tests/parser/should_fail/T3811.stderr index f0209ba85f..4e1bf3fef1 100644 --- a/testsuite/tests/parser/should_fail/T3811.stderr +++ b/testsuite/tests/parser/should_fail/T3811.stderr @@ -1,5 +1,5 @@ -T3811.hs:4:1: error: +T3811.hs:4:1: error: [GHC-94426] Invalid type signature: f x :: ... Suggested fix: A type signature should be of form <variables> :: <type> diff --git a/testsuite/tests/parser/should_fail/T3811b.stderr b/testsuite/tests/parser/should_fail/T3811b.stderr index 65de1d5a75..8869529472 100644 --- a/testsuite/tests/parser/should_fail/T3811b.stderr +++ b/testsuite/tests/parser/should_fail/T3811b.stderr @@ -1,4 +1,3 @@ -T3811b.hs:4:14: error: - Cannot parse data constructor in a data/newtype declaration: - !B +T3811b.hs:4:14: error: [GHC-46574] + Cannot parse data constructor in a data/newtype declaration: !B diff --git a/testsuite/tests/parser/should_fail/T3811d.stderr b/testsuite/tests/parser/should_fail/T3811d.stderr index 4ba2d16e01..456776b1fb 100644 --- a/testsuite/tests/parser/should_fail/T3811d.stderr +++ b/testsuite/tests/parser/should_fail/T3811d.stderr @@ -1,5 +1,5 @@ -T3811d.hs:6:12: error: +T3811d.hs:6:12: error: [GHC-77878] Unexpected type ‘D Char’ In the class declaration for ‘C’ A class declaration should have form diff --git a/testsuite/tests/parser/should_fail/T3811e.stderr b/testsuite/tests/parser/should_fail/T3811e.stderr index 10cd25f9e8..65bfd70f70 100644 --- a/testsuite/tests/parser/should_fail/T3811e.stderr +++ b/testsuite/tests/parser/should_fail/T3811e.stderr @@ -1,4 +1,4 @@ -T3811e.hs:6:6: +T3811e.hs:6:6: error: [GHC-87429] Illegal datatype context: (Show a, Read a) => Suggested fix: Perhaps you intended to use DatatypeContexts diff --git a/testsuite/tests/parser/should_fail/T3811f.stderr b/testsuite/tests/parser/should_fail/T3811f.stderr index 783a89e284..4b2155b5b5 100644 --- a/testsuite/tests/parser/should_fail/T3811f.stderr +++ b/testsuite/tests/parser/should_fail/T3811f.stderr @@ -1,3 +1,3 @@ -T3811f.hs:4:7: error: +T3811f.hs:4:7: error: [GHC-47568] Malformed head of type or class declaration: !Foo a diff --git a/testsuite/tests/parser/should_fail/T5425.stderr b/testsuite/tests/parser/should_fail/T5425.stderr index 52d29d9d5b..5850c85f43 100644 --- a/testsuite/tests/parser/should_fail/T5425.stderr +++ b/testsuite/tests/parser/should_fail/T5425.stderr @@ -1,3 +1,3 @@ -T5425.hs:5:2: +T5425.hs:5:2: error: [GHC-21231] lexical error in string/character literal at character '\955' diff --git a/testsuite/tests/parser/should_fail/T7848.stderr b/testsuite/tests/parser/should_fail/T7848.stderr index 9c80704c43..ff24ae7b37 100644 --- a/testsuite/tests/parser/should_fail/T7848.stderr +++ b/testsuite/tests/parser/should_fail/T7848.stderr @@ -1,5 +1,5 @@ -T7848.hs:10:9: error: +T7848.hs:10:9: error: [GHC-25897] • Couldn't match expected type ‘Char’ with actual type ‘a’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/parser/should_fail/T8258NoGADTs.stderr b/testsuite/tests/parser/should_fail/T8258NoGADTs.stderr index 8e0cce6f54..cb39161492 100644 --- a/testsuite/tests/parser/should_fail/T8258NoGADTs.stderr +++ b/testsuite/tests/parser/should_fail/T8258NoGADTs.stderr @@ -1,5 +1,5 @@ -T8258NoGADTs.hs:4:8: error: +T8258NoGADTs.hs:4:8: error: [GHC-36952] Illegal keyword 'where' in data declaration Suggested fix: Perhaps you intended to use GADTs diff --git a/testsuite/tests/parser/should_fail/T8431.stderr b/testsuite/tests/parser/should_fail/T8431.stderr index 4a4d1fe1ae..c82ec6ad34 100644 --- a/testsuite/tests/parser/should_fail/T8431.stderr +++ b/testsuite/tests/parser/should_fail/T8431.stderr @@ -1,2 +1,2 @@ -T8431.hs:1:1: parse error on input ‘)’ +T8431.hs:1:1: error: [GHC-58481] parse error on input ‘)’ diff --git a/testsuite/tests/parser/should_fail/T8501a.stderr b/testsuite/tests/parser/should_fail/T8501a.stderr index 1c899e8bca..83f456bd41 100644 --- a/testsuite/tests/parser/should_fail/T8501a.stderr +++ b/testsuite/tests/parser/should_fail/T8501a.stderr @@ -1,6 +1,6 @@ -T8501a.hs:5:3: error: +T8501a.hs:5:3: error: [GHC-07626] Parse error in pattern: rec Suggested fixes: - Perhaps you intended to use RecursiveDo - Possibly caused by a missing 'do'? + • Perhaps you intended to use RecursiveDo + • Possibly caused by a missing 'do'? diff --git a/testsuite/tests/parser/should_fail/T8501b.stderr b/testsuite/tests/parser/should_fail/T8501b.stderr index 15a631c177..1b4bd6a819 100644 --- a/testsuite/tests/parser/should_fail/T8501b.stderr +++ b/testsuite/tests/parser/should_fail/T8501b.stderr @@ -1,4 +1,4 @@ -T8501b.hs:5:9: error: +T8501b.hs:5:9: error: [GHC-58481] parse error on input ‘<-’ Suggested fix: Perhaps you intended to use RecursiveDo diff --git a/testsuite/tests/parser/should_fail/T8501c.stderr b/testsuite/tests/parser/should_fail/T8501c.stderr index 20975c3c19..2d8c74a399 100644 --- a/testsuite/tests/parser/should_fail/T8501c.stderr +++ b/testsuite/tests/parser/should_fail/T8501c.stderr @@ -1,5 +1,5 @@ -T8501c.hs:4:7: error: +T8501c.hs:4:7: error: [GHC-88464] Variable not in scope: mdo :: (String -> IO ()) -> String -> IO () Suggested fixes: • Perhaps use ‘mod’ (imported from Prelude) diff --git a/testsuite/tests/parser/should_fail/T8506.stderr b/testsuite/tests/parser/should_fail/T8506.stderr index d7de4fe4e3..23e3e37a56 100644 --- a/testsuite/tests/parser/should_fail/T8506.stderr +++ b/testsuite/tests/parser/should_fail/T8506.stderr @@ -1,5 +1,5 @@ -T8506.hs:3:16: +T8506.hs:3:16: error: [GHC-77878] Unexpected type ‘Int’ In the class declaration for ‘Shapable’ A class declaration should have form diff --git a/testsuite/tests/parser/should_fail/T9225.stderr b/testsuite/tests/parser/should_fail/T9225.stderr index 47633025b8..f490ce5729 100644 --- a/testsuite/tests/parser/should_fail/T9225.stderr +++ b/testsuite/tests/parser/should_fail/T9225.stderr @@ -1,4 +1,4 @@ -T9225.hs:4:8: error: +T9225.hs:4:8: error: [GHC-21926] Parse error: ‘some-package-0.1.2.3’ Version number or non-alphanumeric character in package name diff --git a/testsuite/tests/parser/should_fail/T984.stderr b/testsuite/tests/parser/should_fail/T984.stderr index aaa4f532a9..f320aaec40 100644 --- a/testsuite/tests/parser/should_fail/T984.stderr +++ b/testsuite/tests/parser/should_fail/T984.stderr @@ -1,3 +1,2 @@ -T984.hs:6:9: error: - (case ... of ...)-syntax in pattern +T984.hs:6:9: error: [GHC-53786] (case ... of ...)-syntax in pattern diff --git a/testsuite/tests/parser/should_fail/ViewPatternsFail.stderr b/testsuite/tests/parser/should_fail/ViewPatternsFail.stderr index 97d82b4c16..ae1a4418a1 100644 --- a/testsuite/tests/parser/should_fail/ViewPatternsFail.stderr +++ b/testsuite/tests/parser/should_fail/ViewPatternsFail.stderr @@ -1,4 +1,4 @@ -ViewPatternsFail.hs:7:6: error: +ViewPatternsFail.hs:7:6: error: [GHC-22406] Illegal view pattern: a -> l Suggested fix: Perhaps you intended to use ViewPatterns diff --git a/testsuite/tests/parser/should_fail/cmdFail001.stderr b/testsuite/tests/parser/should_fail/cmdFail001.stderr index 7f8210ab4b..a8f8e759fa 100644 --- a/testsuite/tests/parser/should_fail/cmdFail001.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail001.stderr @@ -1,2 +1,2 @@ -cmdFail001.hs:4:15: error: Parse error in command: _ +cmdFail001.hs:4:15: error: [GHC-03790] Parse error in command: _ diff --git a/testsuite/tests/parser/should_fail/cmdFail002.stderr b/testsuite/tests/parser/should_fail/cmdFail002.stderr index 1e0393346a..be1fdfa17a 100644 --- a/testsuite/tests/parser/should_fail/cmdFail002.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail002.stderr @@ -1,2 +1,3 @@ -cmdFail002.hs:4:15: error: Parse error in command: (_ -< _) :: _ +cmdFail002.hs:4:15: error: [GHC-03790] + Parse error in command: (_ -< _) :: _ diff --git a/testsuite/tests/parser/should_fail/cmdFail003.stderr b/testsuite/tests/parser/should_fail/cmdFail003.stderr index 21f958174d..37e202765d 100644 --- a/testsuite/tests/parser/should_fail/cmdFail003.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail003.stderr @@ -1,3 +1,3 @@ -cmdFail003.hs:4:15: error: +cmdFail003.hs:4:15: error: [GHC-03790] Parse error in command: [_ -< _, _ -< _, _ -< _, _ -< _, _ -< _] diff --git a/testsuite/tests/parser/should_fail/cmdFail004.stderr b/testsuite/tests/parser/should_fail/cmdFail004.stderr index ed14937367..030442bae6 100644 --- a/testsuite/tests/parser/should_fail/cmdFail004.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail004.stderr @@ -1,2 +1,3 @@ -cmdFail004.hs:4:16: error: Parse error in command: _ -> (_ -< _) +cmdFail004.hs:4:16: error: [GHC-03790] + Parse error in command: _ -> (_ -< _) diff --git a/testsuite/tests/parser/should_fail/cmdFail005.stderr b/testsuite/tests/parser/should_fail/cmdFail005.stderr index 9944ff277c..4d2015a4f6 100644 --- a/testsuite/tests/parser/should_fail/cmdFail005.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail005.stderr @@ -1,2 +1,3 @@ -cmdFail005.hs:4:15: error: Parse error in command: x@(_ -< _) +cmdFail005.hs:4:15: error: [GHC-03790] + Parse error in command: x@(_ -< _) diff --git a/testsuite/tests/parser/should_fail/cmdFail006.stderr b/testsuite/tests/parser/should_fail/cmdFail006.stderr index ad64e91648..529b47168e 100644 --- a/testsuite/tests/parser/should_fail/cmdFail006.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail006.stderr @@ -1,2 +1,3 @@ -cmdFail006.hs:4:15: error: Parse error in command: ~(_ -< _) +cmdFail006.hs:4:15: error: [GHC-03790] + Parse error in command: ~(_ -< _) diff --git a/testsuite/tests/parser/should_fail/cmdFail007.stderr b/testsuite/tests/parser/should_fail/cmdFail007.stderr index 82dadb6b67..3dd2525d74 100644 --- a/testsuite/tests/parser/should_fail/cmdFail007.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail007.stderr @@ -1,4 +1,4 @@ -cmdFail007.hs:5:7: error: +cmdFail007.hs:5:7: error: [GHC-03790] Parse error in command: (_ -< _) {a = _ -< _, b = _ -< _, c = _ -< _} diff --git a/testsuite/tests/parser/should_fail/cmdFail008.stderr b/testsuite/tests/parser/should_fail/cmdFail008.stderr index 0f2f0818d7..83dc10ef3c 100644 --- a/testsuite/tests/parser/should_fail/cmdFail008.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail008.stderr @@ -1,2 +1,3 @@ -cmdFail008.hs:4:16: error: Parse error in command: !(_ -< _) +cmdFail008.hs:4:16: error: [GHC-03790] + Parse error in command: !(_ -< _) diff --git a/testsuite/tests/parser/should_fail/cmdFail009.stderr b/testsuite/tests/parser/should_fail/cmdFail009.stderr index a0c4af5b77..fd8bd5fbf7 100644 --- a/testsuite/tests/parser/should_fail/cmdFail009.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail009.stderr @@ -1,3 +1,3 @@ -cmdFail009.hs:4:15: error: +cmdFail009.hs:4:15: error: [GHC-03790] Parse error in command: (_ -< _,_ -< _,_ -< _,_ -< _,_ -< _) diff --git a/testsuite/tests/parser/should_fail/patFail001.stderr b/testsuite/tests/parser/should_fail/patFail001.stderr index 6dd20d794d..e930f5014e 100644 --- a/testsuite/tests/parser/should_fail/patFail001.stderr +++ b/testsuite/tests/parser/should_fail/patFail001.stderr @@ -1,4 +1,4 @@ -patFail001.hs:3:4: error: +patFail001.hs:3:4: error: [GHC-00482] Lambda-syntax in pattern. Pattern matching on functions is not possible. diff --git a/testsuite/tests/parser/should_fail/patFail002.stderr b/testsuite/tests/parser/should_fail/patFail002.stderr index 804bfe9f47..b00eb914c7 100644 --- a/testsuite/tests/parser/should_fail/patFail002.stderr +++ b/testsuite/tests/parser/should_fail/patFail002.stderr @@ -1,2 +1,3 @@ -patFail002.hs:3:4: error: (let ... in ...)-syntax in pattern +patFail002.hs:3:4: error: [GHC-78892] + (let ... in ...)-syntax in pattern diff --git a/testsuite/tests/parser/should_fail/patFail003.stderr b/testsuite/tests/parser/should_fail/patFail003.stderr index dc6e7aaea0..1813f099e2 100644 --- a/testsuite/tests/parser/should_fail/patFail003.stderr +++ b/testsuite/tests/parser/should_fail/patFail003.stderr @@ -1,2 +1,3 @@ -patFail003.hs:3:4: error: (case ... of ...)-syntax in pattern +patFail003.hs:3:4: error: [GHC-53786] + (case ... of ...)-syntax in pattern diff --git a/testsuite/tests/parser/should_fail/patFail004.stderr b/testsuite/tests/parser/should_fail/patFail004.stderr index 48d289c348..af6edca1a5 100644 --- a/testsuite/tests/parser/should_fail/patFail004.stderr +++ b/testsuite/tests/parser/should_fail/patFail004.stderr @@ -1,3 +1,3 @@ -patFail004.hs:3:4: error: +patFail004.hs:3:4: error: [GHC-45696] (if ... then ... else ...)-syntax in pattern diff --git a/testsuite/tests/parser/should_fail/patFail005.stderr b/testsuite/tests/parser/should_fail/patFail005.stderr index 1302d62e0c..e791363776 100644 --- a/testsuite/tests/parser/should_fail/patFail005.stderr +++ b/testsuite/tests/parser/should_fail/patFail005.stderr @@ -1,2 +1,2 @@ -patFail005.hs:3:4: error: do-notation in pattern +patFail005.hs:3:4: error: [GHC-06446] do-notation in pattern diff --git a/testsuite/tests/parser/should_fail/patFail006.stderr b/testsuite/tests/parser/should_fail/patFail006.stderr index 270f738163..cc73e7531e 100644 --- a/testsuite/tests/parser/should_fail/patFail006.stderr +++ b/testsuite/tests/parser/should_fail/patFail006.stderr @@ -1,2 +1,2 @@ -patFail006.hs:3:4: error: Parse error in pattern: -(1) +patFail006.hs:3:4: error: [GHC-07626] Parse error in pattern: -(1) diff --git a/testsuite/tests/parser/should_fail/patFail007.stderr b/testsuite/tests/parser/should_fail/patFail007.stderr index f07689ba83..02fabd0472 100644 --- a/testsuite/tests/parser/should_fail/patFail007.stderr +++ b/testsuite/tests/parser/should_fail/patFail007.stderr @@ -1,2 +1,2 @@ -patFail007.hs:3:4: error: Parse error in pattern: +1 +patFail007.hs:3:4: error: [GHC-72516] Parse error in pattern: +1 diff --git a/testsuite/tests/parser/should_fail/patFail008.stderr b/testsuite/tests/parser/should_fail/patFail008.stderr index d9957d9ca5..4656ee4bbf 100644 --- a/testsuite/tests/parser/should_fail/patFail008.stderr +++ b/testsuite/tests/parser/should_fail/patFail008.stderr @@ -1,2 +1,3 @@ -patFail008.hs:4:4: error: Command syntax in pattern: a -< b +patFail008.hs:4:4: error: [GHC-98980] + Command syntax in pattern: a -< b diff --git a/testsuite/tests/parser/should_fail/patFail009.stderr b/testsuite/tests/parser/should_fail/patFail009.stderr index 0c9fb5de15..54bfa45bc2 100644 --- a/testsuite/tests/parser/should_fail/patFail009.stderr +++ b/testsuite/tests/parser/should_fail/patFail009.stderr @@ -1,2 +1,3 @@ -patFail009.hs:4:3: error: Expression syntax in pattern: #a +patFail009.hs:4:3: error: [GHC-04584] + Expression syntax in pattern: #a diff --git a/testsuite/tests/parser/should_fail/position001.stderr b/testsuite/tests/parser/should_fail/position001.stderr index d83041b460..39b8320f76 100644 --- a/testsuite/tests/parser/should_fail/position001.stderr +++ b/testsuite/tests/parser/should_fail/position001.stderr @@ -1,2 +1,3 @@ -position001.hs:6:33: parse error on input ‘module’ +position001.hs:6:33: error: [GHC-58481] + parse error on input ‘module’ diff --git a/testsuite/tests/parser/should_fail/position002.stderr b/testsuite/tests/parser/should_fail/position002.stderr index a57a790323..59555a917c 100644 --- a/testsuite/tests/parser/should_fail/position002.stderr +++ b/testsuite/tests/parser/should_fail/position002.stderr @@ -1,2 +1,3 @@ -position002.hs:6:33: parse error on input ‘module’ +position002.hs:6:33: error: [GHC-58481] + parse error on input ‘module’ diff --git a/testsuite/tests/parser/should_fail/proposal-229c.stderr b/testsuite/tests/parser/should_fail/proposal-229c.stderr index 47753c88dd..3a240e02b4 100644 --- a/testsuite/tests/parser/should_fail/proposal-229c.stderr +++ b/testsuite/tests/parser/should_fail/proposal-229c.stderr @@ -1,5 +1,5 @@ -proposal-229c.hs:6:3: error: +proposal-229c.hs:6:3: error: [GHC-79767] Illegal bang-pattern !x Suggested fix: Perhaps you intended to use BangPatterns diff --git a/testsuite/tests/parser/should_fail/readFail001.stderr b/testsuite/tests/parser/should_fail/readFail001.stderr index f8b3b7e81a..45ee2957f2 100644 --- a/testsuite/tests/parser/should_fail/readFail001.stderr +++ b/testsuite/tests/parser/should_fail/readFail001.stderr @@ -1,22 +1,24 @@ -readFail001.hs:25:11: error: +readFail001.hs:25:11: error: [GHC-44432] The fixity signature for ‘+#’ lacks an accompanying binding -readFail001.hs:38:32: error: +readFail001.hs:38:32: error: [GHC-76037] Not in scope: type constructor or class ‘Leaf’ Suggested fix: Perhaps you intended to use DataKinds to refer to the data constructor of that name? -readFail001.hs:38:41: error: +readFail001.hs:38:41: error: [GHC-76037] Not in scope: type constructor or class ‘Leaf’ Suggested fix: Perhaps you intended to use DataKinds to refer to the data constructor of that name? -readFail001.hs:107:30: error: Not in scope: data constructor ‘Foo’ +readFail001.hs:107:30: error: [GHC-76037] + Not in scope: data constructor ‘Foo’ -readFail001.hs:107:42: error: Not in scope: data constructor ‘Bar’ +readFail001.hs:107:42: error: [GHC-76037] + Not in scope: data constructor ‘Bar’ -readFail001.hs:112:23: error: +readFail001.hs:112:23: error: [GHC-76037] Not in scope: type constructor or class ‘Foo’ diff --git a/testsuite/tests/parser/should_fail/readFail002.stderr b/testsuite/tests/parser/should_fail/readFail002.stderr index d368fe302d..4d7d475b86 100644 --- a/testsuite/tests/parser/should_fail/readFail002.stderr +++ b/testsuite/tests/parser/should_fail/readFail002.stderr @@ -1,3 +1,3 @@ -readFail002.hs:5:6: +readFail002.hs:5:6: error: [GHC-21231] lexical error in string/character literal at character '\n' diff --git a/testsuite/tests/parser/should_fail/readFail003.stderr b/testsuite/tests/parser/should_fail/readFail003.stderr index d969ba7df1..c3c55f35c7 100644 --- a/testsuite/tests/parser/should_fail/readFail003.stderr +++ b/testsuite/tests/parser/should_fail/readFail003.stderr @@ -1,5 +1,5 @@ -readFail003.hs:4:27: error: +readFail003.hs:4:27: error: [GHC-25897] • Couldn't match expected type ‘(a1, [a2], [a3])’ with actual type ‘a1’ ‘a1’ is a rigid type variable bound by diff --git a/testsuite/tests/parser/should_fail/readFail004.stderr b/testsuite/tests/parser/should_fail/readFail004.stderr index 45ad7d7215..2b6a3088e3 100644 --- a/testsuite/tests/parser/should_fail/readFail004.stderr +++ b/testsuite/tests/parser/should_fail/readFail004.stderr @@ -1,3 +1,3 @@ -readFail004.hs:19:1: +readFail004.hs:19:1: error: [GHC-21231] lexical error in string/character literal at character '.' diff --git a/testsuite/tests/parser/should_fail/readFail005.stderr b/testsuite/tests/parser/should_fail/readFail005.stderr index 6b5b2ce9e2..e0d8511167 100644 --- a/testsuite/tests/parser/should_fail/readFail005.stderr +++ b/testsuite/tests/parser/should_fail/readFail005.stderr @@ -1,3 +1,3 @@ -readFail005.hs:4:7: +readFail005.hs:4:7: error: [GHC-21231] lexical error in string/character literal at character '&' diff --git a/testsuite/tests/parser/should_fail/readFail006.stderr b/testsuite/tests/parser/should_fail/readFail006.stderr index f697584e4a..c7ce043c56 100644 --- a/testsuite/tests/parser/should_fail/readFail006.stderr +++ b/testsuite/tests/parser/should_fail/readFail006.stderr @@ -1,2 +1,2 @@ -readFail006.hs:8:12: parse error on input ‘@’ +readFail006.hs:8:12: error: [GHC-58481] parse error on input ‘@’ diff --git a/testsuite/tests/parser/should_fail/readFail007.stderr b/testsuite/tests/parser/should_fail/readFail007.stderr index ab4140f52a..a3addbcee9 100644 --- a/testsuite/tests/parser/should_fail/readFail007.stderr +++ b/testsuite/tests/parser/should_fail/readFail007.stderr @@ -1,4 +1,4 @@ -readFail007.hs:6:4: +readFail007.hs:6:4: error: [GHC-07626] Parse error in pattern: 2 + 2 Suggested fix: Possibly caused by a missing 'do'? diff --git a/testsuite/tests/parser/should_fail/readFail009.stderr b/testsuite/tests/parser/should_fail/readFail009.stderr index d7e2252e65..1eac9e11d2 100644 --- a/testsuite/tests/parser/should_fail/readFail009.stderr +++ b/testsuite/tests/parser/should_fail/readFail009.stderr @@ -1,3 +1,3 @@ -readFail009.hs:12:1: +readFail009.hs:12:1: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/parser/should_fail/readFail011.stderr b/testsuite/tests/parser/should_fail/readFail011.stderr index 08388e5d21..cfacd930fd 100644 --- a/testsuite/tests/parser/should_fail/readFail011.stderr +++ b/testsuite/tests/parser/should_fail/readFail011.stderr @@ -1,3 +1,2 @@ -readFail011.hs:7:10: error: - parse error on input ‘=’ +readFail011.hs:7:10: error: [GHC-58481] parse error on input ‘=’ diff --git a/testsuite/tests/parser/should_fail/readFail012.stderr b/testsuite/tests/parser/should_fail/readFail012.stderr index 5909aa85da..f5a520b546 100644 --- a/testsuite/tests/parser/should_fail/readFail012.stderr +++ b/testsuite/tests/parser/should_fail/readFail012.stderr @@ -1,2 +1,3 @@ -readFail012.hs:7:9: parse error (possibly incorrect indentation or mismatched brackets) +readFail012.hs:7:9: error: [GHC-58481] + parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/parser/should_fail/readFail013.stderr b/testsuite/tests/parser/should_fail/readFail013.stderr index ee3db9bae1..7efc62aef1 100644 --- a/testsuite/tests/parser/should_fail/readFail013.stderr +++ b/testsuite/tests/parser/should_fail/readFail013.stderr @@ -1,2 +1,2 @@ -readFail013.hs:4:5: parse error on input ‘`’ +readFail013.hs:4:5: error: [GHC-58481] parse error on input ‘`’ diff --git a/testsuite/tests/parser/should_fail/readFail014.stderr b/testsuite/tests/parser/should_fail/readFail014.stderr index d8012cc19c..380ea1f8d7 100644 --- a/testsuite/tests/parser/should_fail/readFail014.stderr +++ b/testsuite/tests/parser/should_fail/readFail014.stderr @@ -1,2 +1,2 @@ -readFail014.hs:3:12: parse error on input ‘}’ +readFail014.hs:3:12: error: [GHC-58481] parse error on input ‘}’ diff --git a/testsuite/tests/parser/should_fail/readFail015.stderr b/testsuite/tests/parser/should_fail/readFail015.stderr index 3fed88764c..ddba303035 100644 --- a/testsuite/tests/parser/should_fail/readFail015.stderr +++ b/testsuite/tests/parser/should_fail/readFail015.stderr @@ -1,2 +1,3 @@ -readFail015.hs:6:1: parse error (possibly incorrect indentation or mismatched brackets) +readFail015.hs:6:1: error: [GHC-58481] + parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/parser/should_fail/readFail017.stderr b/testsuite/tests/parser/should_fail/readFail017.stderr index 05f7c9931f..cef1c740c0 100644 --- a/testsuite/tests/parser/should_fail/readFail017.stderr +++ b/testsuite/tests/parser/should_fail/readFail017.stderr @@ -1,2 +1,2 @@ -readFail017.hs:4:4: Parse error in pattern: f +readFail017.hs:4:4: error: [GHC-07626] Parse error in pattern: f diff --git a/testsuite/tests/parser/should_fail/readFail018.stderr b/testsuite/tests/parser/should_fail/readFail018.stderr index 1391d5736c..3e3fde22be 100644 --- a/testsuite/tests/parser/should_fail/readFail018.stderr +++ b/testsuite/tests/parser/should_fail/readFail018.stderr @@ -1,2 +1,3 @@ -readFail018.hs:3:1: error: unterminated `{-' at end of input +readFail018.hs:3:1: error: [GHC-21231] + unterminated `{-' at end of input diff --git a/testsuite/tests/parser/should_fail/readFail019.stderr b/testsuite/tests/parser/should_fail/readFail019.stderr index 0cf26735a0..f97677630d 100644 --- a/testsuite/tests/parser/should_fail/readFail019.stderr +++ b/testsuite/tests/parser/should_fail/readFail019.stderr @@ -1,2 +1,2 @@ -readFail019.hs:3:18: parse error on input ‘in’ +readFail019.hs:3:18: error: [GHC-58481] parse error on input ‘in’ diff --git a/testsuite/tests/parser/should_fail/readFail020.stderr b/testsuite/tests/parser/should_fail/readFail020.stderr index 0697604181..29639534b7 100644 --- a/testsuite/tests/parser/should_fail/readFail020.stderr +++ b/testsuite/tests/parser/should_fail/readFail020.stderr @@ -1,2 +1,2 @@ -readFail020.hs:3:16: error: parse error on input ‘}’ +readFail020.hs:3:16: error: [GHC-58481] parse error on input ‘}’ diff --git a/testsuite/tests/parser/should_fail/readFail022.stderr b/testsuite/tests/parser/should_fail/readFail022.stderr index 2c1b254229..52e4fdcafa 100644 --- a/testsuite/tests/parser/should_fail/readFail022.stderr +++ b/testsuite/tests/parser/should_fail/readFail022.stderr @@ -1,2 +1,3 @@ -readFail022.hs:4:2: Parse error in pattern: a # b +readFail022.hs:4:2: error: [GHC-07626] + Parse error in pattern: a # b diff --git a/testsuite/tests/parser/should_fail/readFail024.stderr b/testsuite/tests/parser/should_fail/readFail024.stderr index 45c8458d6c..1e818889c5 100644 --- a/testsuite/tests/parser/should_fail/readFail024.stderr +++ b/testsuite/tests/parser/should_fail/readFail024.stderr @@ -1,2 +1,2 @@ -readFail024.hs:5:2: parse error on input ‘h’ +readFail024.hs:5:2: error: [GHC-58481] parse error on input ‘h’ diff --git a/testsuite/tests/parser/should_fail/readFail025.stderr b/testsuite/tests/parser/should_fail/readFail025.stderr index 5641642c99..fbacf22577 100644 --- a/testsuite/tests/parser/should_fail/readFail025.stderr +++ b/testsuite/tests/parser/should_fail/readFail025.stderr @@ -1,5 +1,5 @@ -readFail025.hs:5:8: +readFail025.hs:5:8: error: [GHC-77878] Unexpected type ‘String’ In the data declaration for ‘T’ A data declaration should have form diff --git a/testsuite/tests/parser/should_fail/readFail026.stderr b/testsuite/tests/parser/should_fail/readFail026.stderr index 0577b26d45..1bd46998a3 100644 --- a/testsuite/tests/parser/should_fail/readFail026.stderr +++ b/testsuite/tests/parser/should_fail/readFail026.stderr @@ -1,2 +1,2 @@ -readFail026.hs:3:7: parse error on input ‘,’ +readFail026.hs:3:7: error: [GHC-58481] parse error on input ‘,’ diff --git a/testsuite/tests/parser/should_fail/readFail027.stderr b/testsuite/tests/parser/should_fail/readFail027.stderr index 68f3d25755..70f389de49 100644 --- a/testsuite/tests/parser/should_fail/readFail027.stderr +++ b/testsuite/tests/parser/should_fail/readFail027.stderr @@ -1,2 +1,2 @@ -readFail027.hs:8:5: Missing block +readFail027.hs:8:5: error: [GHC-16849] Missing block diff --git a/testsuite/tests/parser/should_fail/readFail029.stderr b/testsuite/tests/parser/should_fail/readFail029.stderr index bf2afc357a..dc15ac1cdb 100644 --- a/testsuite/tests/parser/should_fail/readFail029.stderr +++ b/testsuite/tests/parser/should_fail/readFail029.stderr @@ -1,5 +1,5 @@ -readFail029.hs:1:14: +readFail029.hs:1:14: error: [GHC-68686] Cannot parse LANGUAGE pragma Expecting comma-separated list of language options, each starting with a capital letter diff --git a/testsuite/tests/parser/should_fail/readFail030.stderr b/testsuite/tests/parser/should_fail/readFail030.stderr index e557a6b055..fb1728ee62 100644 --- a/testsuite/tests/parser/should_fail/readFail030.stderr +++ b/testsuite/tests/parser/should_fail/readFail030.stderr @@ -1,2 +1,3 @@ -readFail030.hs:1:14: Unsupported extension: ExtensibleRecords +readFail030.hs:1:14: error: [GHC-46537] + Unsupported extension: ExtensibleRecords diff --git a/testsuite/tests/parser/should_fail/readFail031.stderr b/testsuite/tests/parser/should_fail/readFail031.stderr index eaf9058c72..6b8937c94c 100644 --- a/testsuite/tests/parser/should_fail/readFail031.stderr +++ b/testsuite/tests/parser/should_fail/readFail031.stderr @@ -1,5 +1,5 @@ -readFail031.hs:4:3: error: +readFail031.hs:4:3: error: [GHC-94426] Invalid type signature: (:+) :: ... Suggested fix: A type signature should be of form <variables> :: <type> diff --git a/testsuite/tests/parser/should_fail/readFail032.stderr b/testsuite/tests/parser/should_fail/readFail032.stderr index c845203048..961d80de8f 100644 --- a/testsuite/tests/parser/should_fail/readFail032.stderr +++ b/testsuite/tests/parser/should_fail/readFail032.stderr @@ -1,5 +1,5 @@ -readFail032.hs:25:38: error: +readFail032.hs:25:38: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘[Char]’ Expected: [String] Actual: String diff --git a/testsuite/tests/parser/should_fail/readFail033.stderr b/testsuite/tests/parser/should_fail/readFail033.stderr index 595323f3fd..7e70703c4f 100644 --- a/testsuite/tests/parser/should_fail/readFail033.stderr +++ b/testsuite/tests/parser/should_fail/readFail033.stderr @@ -1,3 +1,3 @@ -readFail033.hs:2:6: +readFail033.hs:2:6: error: [GHC-21231] lexical error in string/character literal at character '\t' diff --git a/testsuite/tests/parser/should_fail/readFail034.stderr b/testsuite/tests/parser/should_fail/readFail034.stderr index ad2fb000af..62ba4d236e 100644 --- a/testsuite/tests/parser/should_fail/readFail034.stderr +++ b/testsuite/tests/parser/should_fail/readFail034.stderr @@ -1,3 +1,2 @@ -readFail034.hs:4:6: error: - parse error on input ‘=’ +readFail034.hs:4:6: error: [GHC-58481] parse error on input ‘=’ diff --git a/testsuite/tests/parser/should_fail/readFail039.stderr b/testsuite/tests/parser/should_fail/readFail039.stderr index 9f14dd1845..cdb692487c 100644 --- a/testsuite/tests/parser/should_fail/readFail039.stderr +++ b/testsuite/tests/parser/should_fail/readFail039.stderr @@ -1,5 +1,5 @@ -readFail039.hs:9:14: error: +readFail039.hs:9:14: error: [GHC-82023] • Can't make a derived instance of ‘C Foo’: ‘C’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘Foo’ diff --git a/testsuite/tests/parser/should_fail/readFail040.stderr b/testsuite/tests/parser/should_fail/readFail040.stderr index 3ba58a4adb..14f338b6a9 100644 --- a/testsuite/tests/parser/should_fail/readFail040.stderr +++ b/testsuite/tests/parser/should_fail/readFail040.stderr @@ -1,4 +1,4 @@ -readFail040.hs:7:11: error: +readFail040.hs:7:11: error: [GHC-58481] parse error on input ‘<-’ Suggested fix: Perhaps you intended to use RecursiveDo diff --git a/testsuite/tests/parser/should_fail/readFail044.stderr b/testsuite/tests/parser/should_fail/readFail044.stderr index c33e25cd99..82917e91fb 100644 --- a/testsuite/tests/parser/should_fail/readFail044.stderr +++ b/testsuite/tests/parser/should_fail/readFail044.stderr @@ -1,6 +1,6 @@ -readFail044.hs:3:17: error: +readFail044.hs:3:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -this-flag-does-not-exist -readFail044.hs:3:43: error: +readFail044.hs:3:43: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -nor-does-this-one diff --git a/testsuite/tests/parser/should_fail/readFail046.stderr b/testsuite/tests/parser/should_fail/readFail046.stderr index c3f3cab7a4..9f5eeddd2d 100644 --- a/testsuite/tests/parser/should_fail/readFail046.stderr +++ b/testsuite/tests/parser/should_fail/readFail046.stderr @@ -1,5 +1,5 @@ -readFail046.hs:1:14: +readFail046.hs:1:14: error: [GHC-46537] Unsupported extension: ExistientialQuantification Suggested fix: Perhaps you meant ‘ExistentialQuantification’ or ‘NoExistentialQuantification’ diff --git a/testsuite/tests/parser/should_fail/readFail047.stderr b/testsuite/tests/parser/should_fail/readFail047.stderr index 09d27076e1..e68779b085 100644 --- a/testsuite/tests/parser/should_fail/readFail047.stderr +++ b/testsuite/tests/parser/should_fail/readFail047.stderr @@ -1,2 +1,3 @@ -readFail047.hs:6:5: parse error (possibly incorrect indentation or mismatched brackets) +readFail047.hs:6:5: error: [GHC-58481] + parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/parser/should_fail/readFail048.stderr b/testsuite/tests/parser/should_fail/readFail048.stderr index b1d7ab4dd2..acc2ac4beb 100644 --- a/testsuite/tests/parser/should_fail/readFail048.stderr +++ b/testsuite/tests/parser/should_fail/readFail048.stderr @@ -1,5 +1,5 @@ -readFail048.hs:25:38: error: +readFail048.hs:25:38: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘[Char]’ Expected: [String] Actual: String diff --git a/testsuite/tests/parser/should_fail/readFailTraditionalRecords1.stderr b/testsuite/tests/parser/should_fail/readFailTraditionalRecords1.stderr index 9a8ed3ae84..1f2fa108ad 100644 --- a/testsuite/tests/parser/should_fail/readFailTraditionalRecords1.stderr +++ b/testsuite/tests/parser/should_fail/readFailTraditionalRecords1.stderr @@ -1,4 +1,4 @@ -readFailTraditionalRecords1.hs:6:16: +readFailTraditionalRecords1.hs:6:16: error: [GHC-65719] Illegal record syntax: {i :: Int} Suggested fix: Perhaps you intended to use TraditionalRecordSyntax diff --git a/testsuite/tests/parser/should_fail/readFailTraditionalRecords2.stderr b/testsuite/tests/parser/should_fail/readFailTraditionalRecords2.stderr index 91f9a590b0..c0d4c52d80 100644 --- a/testsuite/tests/parser/should_fail/readFailTraditionalRecords2.stderr +++ b/testsuite/tests/parser/should_fail/readFailTraditionalRecords2.stderr @@ -1,4 +1,4 @@ -readFailTraditionalRecords2.hs:6:4: +readFailTraditionalRecords2.hs:6:4: error: [GHC-65719] Illegal record syntax: Foo {i = j} Suggested fix: Perhaps you intended to use TraditionalRecordSyntax diff --git a/testsuite/tests/parser/should_fail/readFailTraditionalRecords3.stderr b/testsuite/tests/parser/should_fail/readFailTraditionalRecords3.stderr index b741512b3b..2b946dcdb6 100644 --- a/testsuite/tests/parser/should_fail/readFailTraditionalRecords3.stderr +++ b/testsuite/tests/parser/should_fail/readFailTraditionalRecords3.stderr @@ -1,4 +1,4 @@ -readFailTraditionalRecords3.hs:6:7: +readFailTraditionalRecords3.hs:6:7: error: [GHC-65719] Illegal record syntax: x {i = 3} Suggested fix: Perhaps you intended to use TraditionalRecordSyntax diff --git a/testsuite/tests/parser/should_fail/strictnessDataCon_A.stderr b/testsuite/tests/parser/should_fail/strictnessDataCon_A.stderr index 27e6c709a5..19b6b40919 100644 --- a/testsuite/tests/parser/should_fail/strictnessDataCon_A.stderr +++ b/testsuite/tests/parser/should_fail/strictnessDataCon_A.stderr @@ -1,3 +1,3 @@ -strictnessDataCon_A.hs:1:27: error: +strictnessDataCon_A.hs:1:27: error: [GHC-24180] Operator applied to too few arguments: ! diff --git a/testsuite/tests/parser/should_fail/strictnessDataCon_B.stderr b/testsuite/tests/parser/should_fail/strictnessDataCon_B.stderr index 04ea0c8b18..1c0e03ad62 100644 --- a/testsuite/tests/parser/should_fail/strictnessDataCon_B.stderr +++ b/testsuite/tests/parser/should_fail/strictnessDataCon_B.stderr @@ -1,2 +1,3 @@ -strictnessDataCon_B.hs:1:42: error: parse error on input ‘}’ +strictnessDataCon_B.hs:1:42: error: [GHC-58481] + parse error on input ‘}’ diff --git a/testsuite/tests/parser/should_fail/typeopsDataCon_A.stderr b/testsuite/tests/parser/should_fail/typeopsDataCon_A.stderr index a4f089654e..b5af43891e 100644 --- a/testsuite/tests/parser/should_fail/typeopsDataCon_A.stderr +++ b/testsuite/tests/parser/should_fail/typeopsDataCon_A.stderr @@ -1,4 +1,4 @@ -typeopsDataCon_A.hs:1:10: error: +typeopsDataCon_A.hs:1:10: error: [GHC-30670] Cannot parse an infix data constructor in a data/newtype declaration: Int :+ Int :+ Int diff --git a/testsuite/tests/parser/should_fail/typeopsDataCon_B.stderr b/testsuite/tests/parser/should_fail/typeopsDataCon_B.stderr index 16dd0a8d0b..6cef325378 100644 --- a/testsuite/tests/parser/should_fail/typeopsDataCon_B.stderr +++ b/testsuite/tests/parser/should_fail/typeopsDataCon_B.stderr @@ -1,2 +1,3 @@ -typeopsDataCon_B.hs:1:14: error: Not a data constructor: ‘+’ +typeopsDataCon_B.hs:1:14: error: [GHC-25742] + Not a data constructor: ‘+’ diff --git a/testsuite/tests/parser/should_fail/typeops_A.stderr b/testsuite/tests/parser/should_fail/typeops_A.stderr index 8558729f2f..404f38d501 100644 --- a/testsuite/tests/parser/should_fail/typeops_A.stderr +++ b/testsuite/tests/parser/should_fail/typeops_A.stderr @@ -1,3 +1,3 @@ -typeops_A.hs:2:1: error: +typeops_A.hs:2:1: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/parser/should_fail/typeops_B.stderr b/testsuite/tests/parser/should_fail/typeops_B.stderr index 030516a27f..2817c98fa6 100644 --- a/testsuite/tests/parser/should_fail/typeops_B.stderr +++ b/testsuite/tests/parser/should_fail/typeops_B.stderr @@ -1,2 +1,3 @@ -typeops_B.hs:1:10: error: Operator applied to too few arguments: + +typeops_B.hs:1:10: error: [GHC-24180] + Operator applied to too few arguments: + diff --git a/testsuite/tests/parser/should_fail/typeops_C.stderr b/testsuite/tests/parser/should_fail/typeops_C.stderr index 75372a8a2a..67e6fc584e 100644 --- a/testsuite/tests/parser/should_fail/typeops_C.stderr +++ b/testsuite/tests/parser/should_fail/typeops_C.stderr @@ -1,2 +1,3 @@ -typeops_C.hs:1:14: error: Operator applied to too few arguments: + +typeops_C.hs:1:14: error: [GHC-24180] + Operator applied to too few arguments: + diff --git a/testsuite/tests/parser/should_fail/typeops_D.stderr b/testsuite/tests/parser/should_fail/typeops_D.stderr index 0ce7e29559..c955915855 100644 --- a/testsuite/tests/parser/should_fail/typeops_D.stderr +++ b/testsuite/tests/parser/should_fail/typeops_D.stderr @@ -1,2 +1,3 @@ -typeops_D.hs:1:10: error: Operator applied to too few arguments: + +typeops_D.hs:1:10: error: [GHC-24180] + Operator applied to too few arguments: + diff --git a/testsuite/tests/parser/should_fail/unpack_before_opr.stderr b/testsuite/tests/parser/should_fail/unpack_before_opr.stderr index 023803c184..906df2864b 100644 --- a/testsuite/tests/parser/should_fail/unpack_before_opr.stderr +++ b/testsuite/tests/parser/should_fail/unpack_before_opr.stderr @@ -1,3 +1,3 @@ -unpack_before_opr.hs:6:34: error: +unpack_before_opr.hs:6:34: error: [GHC-24180] Operator applied to too few arguments: + diff --git a/testsuite/tests/parser/should_fail/unpack_empty_type.stderr b/testsuite/tests/parser/should_fail/unpack_empty_type.stderr index dbc73c87ff..1d1d93cd4c 100644 --- a/testsuite/tests/parser/should_fail/unpack_empty_type.stderr +++ b/testsuite/tests/parser/should_fail/unpack_empty_type.stderr @@ -1,2 +1,3 @@ -unpack_empty_type.hs:3:34: error: parse error on input ‘}’ +unpack_empty_type.hs:3:34: error: [GHC-58481] + parse error on input ‘}’ diff --git a/testsuite/tests/parser/should_fail/unpack_inside_type.stderr b/testsuite/tests/parser/should_fail/unpack_inside_type.stderr index 60d7ba87a3..bef48ba148 100644 --- a/testsuite/tests/parser/should_fail/unpack_inside_type.stderr +++ b/testsuite/tests/parser/should_fail/unpack_inside_type.stderr @@ -1,5 +1,5 @@ -unpack_inside_type.hs:3:25: error: +unpack_inside_type.hs:3:25: error: [GHC-18932] • Unexpected UNPACK annotation: {-# UNPACK #-}Int UNPACK annotation cannot appear nested inside a type • In the first argument of ‘Maybe’, namely ‘({-# UNPACK #-}Int)’ diff --git a/testsuite/tests/parser/unicode/T18158b.stderr b/testsuite/tests/parser/unicode/T18158b.stderr index a2148b3908..f5826cf40e 100644 --- a/testsuite/tests/parser/unicode/T18158b.stderr +++ b/testsuite/tests/parser/unicode/T18158b.stderr @@ -1,2 +1,3 @@ -T18158b.hs:1:14: error: lexical error at character '\8559' +T18158b.hs:1:14: error: [GHC-21231] + lexical error at character '\8559' diff --git a/testsuite/tests/parser/unicode/T18225B.stderr b/testsuite/tests/parser/unicode/T18225B.stderr index 67cff08f21..eb48c5ca93 100644 --- a/testsuite/tests/parser/unicode/T18225B.stderr +++ b/testsuite/tests/parser/unicode/T18225B.stderr @@ -1 +1,3 @@ -T18225B.hs:11:23: Parse error in command: [| x |] + +T18225B.hs:11:23: error: [GHC-03790] + Parse error in command: [| x |] diff --git a/testsuite/tests/parser/unicode/T2302.stderr b/testsuite/tests/parser/unicode/T2302.stderr index e56021f5e5..c57aa2a2d2 100644 --- a/testsuite/tests/parser/unicode/T2302.stderr +++ b/testsuite/tests/parser/unicode/T2302.stderr @@ -1,2 +1,2 @@ -T2302.hs:2:5: error: Data constructor not in scope: À +T2302.hs:2:5: error: [GHC-88464] Data constructor not in scope: À diff --git a/testsuite/tests/parser/unicode/utf8_002.stderr b/testsuite/tests/parser/unicode/utf8_002.stderr index d8083f0c89..50a895da04 100644 --- a/testsuite/tests/parser/unicode/utf8_002.stderr +++ b/testsuite/tests/parser/unicode/utf8_002.stderr @@ -1,2 +1,3 @@ -utf8_002.hs:2:1: lexical error (UTF-8 decoding error) +utf8_002.hs:2:1: error: [GHC-21231] + lexical error (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_003.stderr b/testsuite/tests/parser/unicode/utf8_003.stderr index be433d9141..f91425cffd 100644 --- a/testsuite/tests/parser/unicode/utf8_003.stderr +++ b/testsuite/tests/parser/unicode/utf8_003.stderr @@ -1,2 +1,3 @@ -utf8_003.hs:2:1: lexical error (UTF-8 decoding error) +utf8_003.hs:2:1: error: [GHC-21231] + lexical error (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_004.stderr b/testsuite/tests/parser/unicode/utf8_004.stderr index aff8256549..f0a83514e3 100644 --- a/testsuite/tests/parser/unicode/utf8_004.stderr +++ b/testsuite/tests/parser/unicode/utf8_004.stderr @@ -1,2 +1,3 @@ -utf8_004.hs:2:1: lexical error (UTF-8 decoding error) +utf8_004.hs:2:1: error: [GHC-21231] + lexical error (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_005.stderr b/testsuite/tests/parser/unicode/utf8_005.stderr index 3d551bae44..1f193d0823 100644 --- a/testsuite/tests/parser/unicode/utf8_005.stderr +++ b/testsuite/tests/parser/unicode/utf8_005.stderr @@ -1,2 +1,3 @@ -utf8_005.hs:2:1: lexical error (UTF-8 decoding error) +utf8_005.hs:2:1: error: [GHC-21231] + lexical error (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_010.stderr b/testsuite/tests/parser/unicode/utf8_010.stderr index a2bb9b52e2..79d289d2d2 100644 --- a/testsuite/tests/parser/unicode/utf8_010.stderr +++ b/testsuite/tests/parser/unicode/utf8_010.stderr @@ -1,3 +1,3 @@ -utf8_010.hs:2:8: +utf8_010.hs:2:8: error: [GHC-21231] lexical error in string/character literal (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_011.stderr b/testsuite/tests/parser/unicode/utf8_011.stderr index 0b34980303..48a04d26c3 100644 --- a/testsuite/tests/parser/unicode/utf8_011.stderr +++ b/testsuite/tests/parser/unicode/utf8_011.stderr @@ -1,3 +1,3 @@ -utf8_011.hs:2:8: +utf8_011.hs:2:8: error: [GHC-21231] lexical error in string/character literal (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_020.stderr b/testsuite/tests/parser/unicode/utf8_020.stderr index 7254106142..e7ba8de25e 100644 --- a/testsuite/tests/parser/unicode/utf8_020.stderr +++ b/testsuite/tests/parser/unicode/utf8_020.stderr @@ -1,3 +1,3 @@ -utf8_020.hs:2:8: +utf8_020.hs:2:8: error: [GHC-21231] lexical error in string/character literal (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_021.stderr b/testsuite/tests/parser/unicode/utf8_021.stderr index 2867239846..aaa36f0b64 100644 --- a/testsuite/tests/parser/unicode/utf8_021.stderr +++ b/testsuite/tests/parser/unicode/utf8_021.stderr @@ -1,3 +1,3 @@ -utf8_021.hs:2:8: +utf8_021.hs:2:8: error: [GHC-21231] lexical error in string/character literal (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_022.stderr b/testsuite/tests/parser/unicode/utf8_022.stderr index 3f84d06de2..7ba319ce84 100644 --- a/testsuite/tests/parser/unicode/utf8_022.stderr +++ b/testsuite/tests/parser/unicode/utf8_022.stderr @@ -1,3 +1,3 @@ -utf8_022.hs:2:8: +utf8_022.hs:2:8: error: [GHC-21231] lexical error in string/character literal (UTF-8 decoding error) diff --git a/testsuite/tests/partial-sigs/should_compile/ExprSigLocal.stderr b/testsuite/tests/partial-sigs/should_compile/ExprSigLocal.stderr index 6e23ec6ff5..7804228b0b 100644 --- a/testsuite/tests/partial-sigs/should_compile/ExprSigLocal.stderr +++ b/testsuite/tests/partial-sigs/should_compile/ExprSigLocal.stderr @@ -1,5 +1,5 @@ -ExprSigLocal.hs:9:35: warning: [-Wpartial-type-signatures (in -Wdefault)] +ExprSigLocal.hs:9:35: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a’ Where: ‘a’ is a rigid type variable bound by the inferred type of <expression> :: a -> a @@ -10,7 +10,7 @@ ExprSigLocal.hs:9:35: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include y :: b -> b (bound at ExprSigLocal.hs:9:1) -ExprSigLocal.hs:11:21: warning: [-Wpartial-type-signatures (in -Wdefault)] +ExprSigLocal.hs:11:21: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a’ Where: ‘a’ is a rigid type variable bound by the inferred type of g :: a -> a diff --git a/testsuite/tests/partial-sigs/should_compile/SplicesUsed.stderr b/testsuite/tests/partial-sigs/should_compile/SplicesUsed.stderr index fa77d1d0f7..1f776ecc42 100644 --- a/testsuite/tests/partial-sigs/should_compile/SplicesUsed.stderr +++ b/testsuite/tests/partial-sigs/should_compile/SplicesUsed.stderr @@ -1,12 +1,12 @@ [1 of 2] Compiling Splices ( Splices.hs, Splices.o ) [2 of 2] Compiling SplicesUsed ( SplicesUsed.hs, SplicesUsed.o ) -SplicesUsed.hs:7:15: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:7:15: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Maybe Bool’ • In the type ‘_’ In the type signature: maybeBool :: (_) -SplicesUsed.hs:8:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:8:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_a’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of <expression> :: w -> w @@ -18,7 +18,7 @@ SplicesUsed.hs:8:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include maybeBool :: Maybe Bool (bound at SplicesUsed.hs:8:1) -SplicesUsed.hs:8:26: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:8:26: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Bool’ • In the first argument of ‘Maybe’, namely ‘_’ In the type ‘Maybe _’ @@ -26,7 +26,7 @@ SplicesUsed.hs:8:26: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include maybeBool :: Maybe Bool (bound at SplicesUsed.hs:8:1) -SplicesUsed.hs:10:16: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:10:16: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘(Char, a)’ Where: ‘a’ is a rigid type variable bound by the inferred type of charA :: a -> (Char, a) @@ -34,7 +34,7 @@ SplicesUsed.hs:10:16: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘a -> (_)’ In the type signature: charA :: a -> (_) -SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:13:13: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a -> Bool’ Where: ‘a’ is a rigid type variable bound by the inferred type of filter' :: (a -> Bool) -> [a] -> [a] @@ -42,7 +42,7 @@ SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘_ -> _ -> _’ In the type signature: filter' :: (_ -> _ -> _) -SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:13:13: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘[a]’ Where: ‘a’ is a rigid type variable bound by the inferred type of filter' :: (a -> Bool) -> [a] -> [a] @@ -50,7 +50,7 @@ SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘_ -> _ -> _’ In the type signature: filter' :: (_ -> _ -> _) -SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:13:13: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘[a]’ Where: ‘a’ is a rigid type variable bound by the inferred type of filter' :: (a -> Bool) -> [a] -> [a] @@ -58,25 +58,25 @@ SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘_ -> _ -> _’ In the type signature: filter' :: (_ -> _ -> _) -SplicesUsed.hs:16:2: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:16:2: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Eq a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: Eq a => a -> a -> Bool at SplicesUsed.hs:16:2-11 • In the type signature: foo :: _ => _ -SplicesUsed.hs:16:2: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:16:2: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a -> a -> Bool’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: Eq a => a -> a -> Bool at SplicesUsed.hs:16:2-11 • In the type signature: foo :: _ => _ -SplicesUsed.hs:18:2: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:18:2: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_a’ standing for ‘Bool’ • In the type signature: bar :: _a -> _b -> (_a, _b) -SplicesUsed.hs:18:2: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:18:2: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_b’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Bool -> w -> (Bool, w) diff --git a/testsuite/tests/partial-sigs/should_compile/SuperCls.stderr b/testsuite/tests/partial-sigs/should_compile/SuperCls.stderr index 0f1a1fa77b..d4049ce61e 100644 --- a/testsuite/tests/partial-sigs/should_compile/SuperCls.stderr +++ b/testsuite/tests/partial-sigs/should_compile/SuperCls.stderr @@ -1,4 +1,4 @@ -SuperCls.hs:4:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +SuperCls.hs:4:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: f :: (Ord a, _) => a -> Bool diff --git a/testsuite/tests/partial-sigs/should_compile/T10403.stderr b/testsuite/tests/partial-sigs/should_compile/T10403.stderr index 38f562a516..37f5ad522b 100644 --- a/testsuite/tests/partial-sigs/should_compile/T10403.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T10403.stderr @@ -1,19 +1,19 @@ -T10403.hs:16:7: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10403.hs:16:7: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Functor f’ Where: ‘f’ is a rigid type variable bound by the inferred type of h1 :: Functor f => (a1 -> a2) -> f a1 -> H f at T10403.hs:18:1-41 • In the type signature: h1 :: _ => _ -T10403.hs:16:12: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10403.hs:16:12: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘(a1 -> a2) -> f a1 -> H f’ Where: ‘a2’, ‘a1’, ‘f’ are rigid type variables bound by the inferred type of h1 :: Functor f => (a1 -> a2) -> f a1 -> H f at T10403.hs:18:1-41 • In the type signature: h1 :: _ => _ -T10403.hs:20:7: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10403.hs:20:7: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘(a1 -> a2) -> f0 a1 -> H f0’ Where: ‘f0’ is an ambiguous type variable @@ -22,7 +22,7 @@ T10403.hs:20:7: warning: [-Wpartial-type-signatures (in -Wdefault)] at T10403.hs:23:1-41 • In the type signature: h2 :: _ -T10403.hs:23:15: warning: [-Wdeferred-type-errors (in -Wdefault)] +T10403.hs:23:15: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Ambiguous type variable ‘f0’ arising from a use of ‘fmap’ prevents the constraint ‘(Functor f0)’ from being solved. Relevant bindings include @@ -39,7 +39,7 @@ T10403.hs:23:15: warning: [-Wdeferred-type-errors (in -Wdefault)] In the expression: (H . fmap (const ())) (fmap f b) In an equation for ‘h2’: h2 f b = (H . fmap (const ())) (fmap f b) -T10403.hs:29:8: warning: [-Wdeferred-type-errors (in -Wdefault)] +T10403.hs:29:8: warning: [GHC-46956] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘f0’ with ‘B t’ Expected: H (B t) Actual: H f0 diff --git a/testsuite/tests/partial-sigs/should_compile/T10438.stderr b/testsuite/tests/partial-sigs/should_compile/T10438.stderr index 358fb52ba8..ded1e087f8 100644 --- a/testsuite/tests/partial-sigs/should_compile/T10438.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T10438.stderr @@ -1,5 +1,5 @@ -T10438.hs:7:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10438.hs:7:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘p3’ Where: ‘p3’ is a rigid type variable bound by the inferred type of g :: p3 -> p3 diff --git a/testsuite/tests/partial-sigs/should_compile/T10463.stderr b/testsuite/tests/partial-sigs/should_compile/T10463.stderr index 4ae894f8fe..9e74a9f02c 100644 --- a/testsuite/tests/partial-sigs/should_compile/T10463.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T10463.stderr @@ -1,5 +1,5 @@ -T10463.hs:5:9: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10463.hs:5:9: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘[Char]’ • In a pattern type signature: _ In the pattern: x :: _ diff --git a/testsuite/tests/partial-sigs/should_compile/T10519.stderr b/testsuite/tests/partial-sigs/should_compile/T10519.stderr index d2db5da38e..d5bc2a9430 100644 --- a/testsuite/tests/partial-sigs/should_compile/T10519.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T10519.stderr @@ -1,5 +1,5 @@ -T10519.hs:5:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10519.hs:5:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Eq a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: Eq a => a -> a -> Bool diff --git a/testsuite/tests/partial-sigs/should_compile/T11016.stderr b/testsuite/tests/partial-sigs/should_compile/T11016.stderr index 8d3ffe4cf5..667fcddfdf 100644 --- a/testsuite/tests/partial-sigs/should_compile/T11016.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T11016.stderr @@ -1,8 +1,8 @@ -T11016.hs:5:19: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11016.hs:5:19: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: f1 :: (?x :: Int, _) => Int -T11016.hs:8:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11016.hs:8:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Int’ • In the type signature: f2 :: (?x :: Int) => _ diff --git a/testsuite/tests/partial-sigs/should_compile/T11192.stderr b/testsuite/tests/partial-sigs/should_compile/T11192.stderr index 6cfbe62628..e6c942ae6c 100644 --- a/testsuite/tests/partial-sigs/should_compile/T11192.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T11192.stderr @@ -1,5 +1,5 @@ -T11192.hs:7:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11192.hs:7:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Int -> p -> p’ Where: ‘p’ is a rigid type variable bound by the inferred type of go :: Int -> p -> p @@ -18,7 +18,7 @@ T11192.hs:7:14: warning: [-Wpartial-type-signatures (in -Wdefault)] in go (0 :: Int) undefined • Relevant bindings include fails :: a (bound at T11192.hs:6:1) -T11192.hs:13:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11192.hs:13:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘p1 -> p2 -> p2’ Where: ‘p1’, ‘p2’ are rigid type variables bound by the inferred type of go :: p1 -> p2 -> p2 diff --git a/testsuite/tests/partial-sigs/should_compile/T11339a.stderr b/testsuite/tests/partial-sigs/should_compile/T11339a.stderr index c5c5e6f312..225ebf2ec7 100644 --- a/testsuite/tests/partial-sigs/should_compile/T11339a.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T11339a.stderr @@ -1,5 +1,5 @@ -T11339a.hs:5:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11339a.hs:5:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a -> a’ Where: ‘a’ is a rigid type variable bound by the inferred type of bar :: a -> a diff --git a/testsuite/tests/partial-sigs/should_compile/T11670.stderr b/testsuite/tests/partial-sigs/should_compile/T11670.stderr index 2d26722373..8a5a342e81 100644 --- a/testsuite/tests/partial-sigs/should_compile/T11670.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T11670.stderr @@ -1,5 +1,5 @@ -T11670.hs:10:42: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11670.hs:10:42: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘CLong’ • In the first argument of ‘IO’, namely ‘_’ In the type ‘IO _’ @@ -8,7 +8,7 @@ T11670.hs:10:42: warning: [-Wpartial-type-signatures (in -Wdefault)] ptr :: Ptr a (bound at T11670.hs:10:6) peek :: Ptr a -> IO CLong (bound at T11670.hs:10:1) -T11670.hs:13:40: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11670.hs:13:40: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Storable w’ Where: ‘w’ is a rigid type variable bound by the inferred type of <expression> :: Storable w => IO w @@ -21,7 +21,7 @@ T11670.hs:13:40: warning: [-Wpartial-type-signatures (in -Wdefault)] ptr :: Ptr a (bound at T11670.hs:13:7) peek2 :: Ptr a -> IO CLong (bound at T11670.hs:13:1) -T11670.hs:13:48: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11670.hs:13:48: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of <expression> :: Storable w => IO w diff --git a/testsuite/tests/partial-sigs/should_compile/T12033.stderr b/testsuite/tests/partial-sigs/should_compile/T12033.stderr index 9f9fdd6a17..af4bbec927 100644 --- a/testsuite/tests/partial-sigs/should_compile/T12033.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T12033.stderr @@ -1,5 +1,5 @@ -T12033.hs:12:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T12033.hs:12:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘v -> t’ Where: ‘v’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/partial-sigs/should_compile/T12156.stderr b/testsuite/tests/partial-sigs/should_compile/T12156.stderr index f1a5b9da14..d0bcffc91b 100644 --- a/testsuite/tests/partial-sigs/should_compile/T12156.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T12156.stderr @@ -1,2 +1,2 @@ -T12156.hs:3:14: error: Variable not in scope: v +T12156.hs:3:14: error: [GHC-88464] Variable not in scope: v diff --git a/testsuite/tests/partial-sigs/should_compile/T12531.stderr b/testsuite/tests/partial-sigs/should_compile/T12531.stderr index a17062d2f0..539fc21597 100644 --- a/testsuite/tests/partial-sigs/should_compile/T12531.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T12531.stderr @@ -1,5 +1,5 @@ -T12531.hs:6:11: warning: [-Wtyped-holes (in -Wdefault)] +T12531.hs:6:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int# • In the first argument of ‘(+#)’, namely ‘_’ In the first argument of ‘I#’, namely ‘(_ +# x)’ diff --git a/testsuite/tests/partial-sigs/should_compile/T12844.stderr b/testsuite/tests/partial-sigs/should_compile/T12844.stderr index 52c0d8c7d1..0c6e158c40 100644 --- a/testsuite/tests/partial-sigs/should_compile/T12844.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T12844.stderr @@ -1,5 +1,5 @@ -T12844.hs:12:9: warning: [-Wpartial-type-signatures (in -Wdefault)] +T12844.hs:12:9: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘(Head rngs ~ '(r, r'), Foo rngs)’ Where: ‘r’, ‘r'’, ‘k1’, ‘k2’, ‘rngs’ diff --git a/testsuite/tests/partial-sigs/should_compile/T12845.stderr b/testsuite/tests/partial-sigs/should_compile/T12845.stderr index fb7cc70db4..912784a092 100644 --- a/testsuite/tests/partial-sigs/should_compile/T12845.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T12845.stderr @@ -1,7 +1,8 @@ -T12845.hs:18:70: warning: [-Wpartial-type-signatures (in -Wdefault)] +T12845.hs:18:70: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: - broken :: forall r r' rngs. - ('(r, r') ~ Head rngs, Bar r r' ~ 'True, _) => - Foo r -> Proxy rngs -> () + broken :: forall r r' rngs. ('(r, r') ~ Head rngs, + Bar r r' ~ 'True, + _) => + Foo r -> Proxy rngs -> () diff --git a/testsuite/tests/partial-sigs/should_compile/T13324_compile2.stderr b/testsuite/tests/partial-sigs/should_compile/T13324_compile2.stderr index 5648054c39..5ac4b22df6 100644 --- a/testsuite/tests/partial-sigs/should_compile/T13324_compile2.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T13324_compile2.stderr @@ -1,5 +1,5 @@ -T13324_compile2.hs:7:19: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13324_compile2.hs:7:19: warning: [GHC-60661] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Show a’ • In the instance declaration for ‘Show (Option a)’ Suggested fix: diff --git a/testsuite/tests/partial-sigs/should_compile/T13482.stderr b/testsuite/tests/partial-sigs/should_compile/T13482.stderr index 85cd1115dc..2444742120 100644 --- a/testsuite/tests/partial-sigs/should_compile/T13482.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T13482.stderr @@ -1,5 +1,5 @@ -T13482.hs:10:32: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13482.hs:10:32: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘(Eq m, Monoid m)’ Where: ‘m’ is a rigid type variable bound by the inferred type of @@ -8,21 +8,21 @@ T13482.hs:10:32: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type signature: minimal1_noksig :: forall m. _ => Int -> Bool -T13482.hs:13:33: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13482.hs:13:33: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘(Eq m, Monoid m)’ Where: ‘m’ is a rigid type variable bound by the inferred type of minimal1 :: (Eq m, Monoid m) => Bool at T13482.hs:13:21 • In the type signature: minimal1 :: forall (m :: Type). _ => Bool -T13482.hs:16:30: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13482.hs:16:30: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Monoid m’ Where: ‘m’ is a rigid type variable bound by the inferred type of minimal2 :: (Eq m, Monoid m) => Bool at T13482.hs:16:20 • In the type signature: minimal2 :: forall m. (Eq m, _) => Bool -T13482.hs:19:34: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13482.hs:19:34: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Eq m’ Where: ‘m’ is a rigid type variable bound by the inferred type of minimal3 :: (Monoid m, Eq m) => Bool diff --git a/testsuite/tests/partial-sigs/should_compile/T14217.stderr b/testsuite/tests/partial-sigs/should_compile/T14217.stderr index 913753be98..dd4573cc79 100644 --- a/testsuite/tests/partial-sigs/should_compile/T14217.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T14217.stderr @@ -1,5 +1,5 @@ -T14217.hs:32:11: error: +T14217.hs:32:11: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘(Eq a1, Eq a2, Eq a3, Eq a4, Eq a5, Eq a6, Eq a7, Eq a8, Eq a9, Eq a10, Eq a11, Eq a12, Eq a13, Eq a14, Eq a15, Eq a16, Eq a17, diff --git a/testsuite/tests/partial-sigs/should_compile/T14643.stderr b/testsuite/tests/partial-sigs/should_compile/T14643.stderr index 9c56cb629f..cc8920f705 100644 --- a/testsuite/tests/partial-sigs/should_compile/T14643.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T14643.stderr @@ -1,9 +1,8 @@ -T14643.hs:5:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14643.hs:5:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: af :: (Num a, _) => a -> a -T14643.hs:5:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14643.hs:5:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: ag :: (Num a, _) => a -> a - diff --git a/testsuite/tests/partial-sigs/should_compile/T14643a.stderr b/testsuite/tests/partial-sigs/should_compile/T14643a.stderr index 6f41472472..d8f7b19a02 100644 --- a/testsuite/tests/partial-sigs/should_compile/T14643a.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T14643a.stderr @@ -1,8 +1,8 @@ -T14643a.hs:5:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14643a.hs:5:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: af :: (Num a, _) => a -> a -T14643a.hs:8:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14643a.hs:8:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: ag :: (Num a, _) => a -> a diff --git a/testsuite/tests/partial-sigs/should_compile/T14658.stderr b/testsuite/tests/partial-sigs/should_compile/T14658.stderr index 7c76ea24e2..1ff82e0966 100644 --- a/testsuite/tests/partial-sigs/should_compile/T14658.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T14658.stderr @@ -1,5 +1,5 @@ -T14658.hs:9:28: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14658.hs:9:28: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Eq a’ Where: ‘a’ is a rigid type variable bound by the inferred type of diff --git a/testsuite/tests/partial-sigs/should_compile/T14715.stderr b/testsuite/tests/partial-sigs/should_compile/T14715.stderr index 4d3a668241..d36ce8263d 100644 --- a/testsuite/tests/partial-sigs/should_compile/T14715.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T14715.stderr @@ -1,5 +1,5 @@ -T14715.hs:13:53: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14715.hs:13:53: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Reduce z zq’ Where: ‘z’, ‘zq’ are rigid type variables bound by the inferred type of diff --git a/testsuite/tests/partial-sigs/should_compile/T15039a.stderr b/testsuite/tests/partial-sigs/should_compile/T15039a.stderr index 1f07a650ac..712e5425ee 100644 --- a/testsuite/tests/partial-sigs/should_compile/T15039a.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T15039a.stderr @@ -1,5 +1,5 @@ -T15039a.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039a.hs:19:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~ b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -11,7 +11,7 @@ T15039a.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex1 :: Dict (a ~ b) -> () (bound at T15039a.hs:19:1) -T15039a.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039a.hs:22:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~ b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -23,7 +23,7 @@ T15039a.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex2 :: Dict (a ~ b) -> () (bound at T15039a.hs:22:1) -T15039a.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039a.hs:25:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~~ b)’ Where: ‘a’, ‘k’, ‘b’ are rigid type variables bound by the type signature for: @@ -35,7 +35,7 @@ T15039a.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex3 :: Dict (a ~~ b) -> () (bound at T15039a.hs:25:1) -T15039a.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039a.hs:33:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (Coercible a b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -47,7 +47,7 @@ T15039a.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex6 :: Dict (Coercible a b) -> () (bound at T15039a.hs:33:1) -T15039a.hs:35:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039a.hs:35:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Coercible a b’ Where: ‘a’, ‘b’ are rigid type variables bound by the inferred type of ex7 :: Coercible a b => Coercion a b diff --git a/testsuite/tests/partial-sigs/should_compile/T15039b.stderr b/testsuite/tests/partial-sigs/should_compile/T15039b.stderr index 73d366eb65..aa4703d6c3 100644 --- a/testsuite/tests/partial-sigs/should_compile/T15039b.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T15039b.stderr @@ -1,5 +1,5 @@ -T15039b.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039b.hs:19:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~ (b :: *))’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -11,7 +11,7 @@ T15039b.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex1 :: Dict ((a :: *) ~ (b :: *)) -> () (bound at T15039b.hs:19:1) -T15039b.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039b.hs:22:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~ (b :: *))’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -23,7 +23,7 @@ T15039b.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex2 :: Dict ((a :: *) ~ (b :: *)) -> () (bound at T15039b.hs:22:1) -T15039b.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039b.hs:25:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~~ (b :: k))’ Where: ‘a’, ‘k’, ‘b’ are rigid type variables bound by @@ -36,7 +36,7 @@ T15039b.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex3 :: Dict ((a :: *) ~~ (b :: k)) -> () (bound at T15039b.hs:25:1) -T15039b.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039b.hs:33:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (Coercible @(*) a b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -48,7 +48,7 @@ T15039b.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex6 :: Dict (Coercible @(*) a b) -> () (bound at T15039b.hs:33:1) -T15039b.hs:35:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039b.hs:35:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Coercible @(*) a b’ Where: ‘a’, ‘b’ are rigid type variables bound by diff --git a/testsuite/tests/partial-sigs/should_compile/T15039c.stderr b/testsuite/tests/partial-sigs/should_compile/T15039c.stderr index 658c30c2b7..bc132260dc 100644 --- a/testsuite/tests/partial-sigs/should_compile/T15039c.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T15039c.stderr @@ -1,5 +1,5 @@ -T15039c.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039c.hs:19:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~ b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -11,7 +11,7 @@ T15039c.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex1 :: Dict (a ~ b) -> () (bound at T15039c.hs:19:1) -T15039c.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039c.hs:22:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~~ b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -23,7 +23,7 @@ T15039c.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex2 :: Dict (a ~~ b) -> () (bound at T15039c.hs:22:1) -T15039c.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039c.hs:25:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~~ b)’ Where: ‘a’, ‘k’, ‘b’ are rigid type variables bound by the type signature for: @@ -35,7 +35,7 @@ T15039c.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex3 :: Dict (a ~~ b) -> () (bound at T15039c.hs:25:1) -T15039c.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039c.hs:33:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (Coercible a b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -47,7 +47,7 @@ T15039c.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex6 :: Dict (Coercible a b) -> () (bound at T15039c.hs:33:1) -T15039c.hs:35:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039c.hs:35:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Coercible a b’ Where: ‘a’, ‘b’ are rigid type variables bound by the inferred type of ex7 :: Coercible a b => Coercion a b diff --git a/testsuite/tests/partial-sigs/should_compile/T15039d.stderr b/testsuite/tests/partial-sigs/should_compile/T15039d.stderr index 587b64126a..bdc3d62708 100644 --- a/testsuite/tests/partial-sigs/should_compile/T15039d.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T15039d.stderr @@ -1,5 +1,5 @@ -T15039d.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039d.hs:19:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~ (b :: *))’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -11,7 +11,7 @@ T15039d.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex1 :: Dict ((a :: *) ~ (b :: *)) -> () (bound at T15039d.hs:19:1) -T15039d.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039d.hs:22:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~~ (b :: *))’ Where: ‘a’, ‘b’ are rigid type variables bound by @@ -24,7 +24,7 @@ T15039d.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex2 :: Dict ((a :: *) ~~ (b :: *)) -> () (bound at T15039d.hs:22:1) -T15039d.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039d.hs:25:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~~ (b :: k))’ Where: ‘a’, ‘k’, ‘b’ are rigid type variables bound by @@ -37,7 +37,7 @@ T15039d.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex3 :: Dict ((a :: *) ~~ (b :: k)) -> () (bound at T15039d.hs:25:1) -T15039d.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039d.hs:33:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (Coercible @(*) a b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -49,7 +49,7 @@ T15039d.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex6 :: Dict (Coercible @(*) a b) -> () (bound at T15039d.hs:33:1) -T15039d.hs:35:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039d.hs:35:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Coercible @(*) a b’ Where: ‘a’, ‘b’ are rigid type variables bound by diff --git a/testsuite/tests/partial-sigs/should_compile/T16152.stderr b/testsuite/tests/partial-sigs/should_compile/T16152.stderr index 554cf04766..01d71ba64b 100644 --- a/testsuite/tests/partial-sigs/should_compile/T16152.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T16152.stderr @@ -1,5 +1,5 @@ -T16152.hs:7:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16152.hs:7:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of top :: w diff --git a/testsuite/tests/partial-sigs/should_compile/T16334.stderr b/testsuite/tests/partial-sigs/should_compile/T16334.stderr index 83429e0d33..e39c482b54 100644 --- a/testsuite/tests/partial-sigs/should_compile/T16334.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T16334.stderr @@ -1,4 +1,4 @@ -T16334.hs:5:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16334.hs:5:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_t’ standing for ‘Type’ • In the type signature: k :: (Int :: _t) diff --git a/testsuite/tests/partial-sigs/should_compile/T16728.stderr b/testsuite/tests/partial-sigs/should_compile/T16728.stderr index ebd01644de..6768b12d48 100644 --- a/testsuite/tests/partial-sigs/should_compile/T16728.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T16728.stderr @@ -1,5 +1,5 @@ -T16728.hs:8:37: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16728.hs:8:37: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘k’ Where: ‘k’ is a rigid type variable bound by the inferred type of f :: Proxy x diff --git a/testsuite/tests/partial-sigs/should_compile/T16728a.stderr b/testsuite/tests/partial-sigs/should_compile/T16728a.stderr index 2c7e597623..a78fb1f2a6 100644 --- a/testsuite/tests/partial-sigs/should_compile/T16728a.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T16728a.stderr @@ -1,5 +1,5 @@ -T16728a.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16728a.hs:4:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred types of @@ -9,7 +9,7 @@ T16728a.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘a -> _’ In the type signature: g :: forall a. a -> _ -T16728a.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16728a.hs:4:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred types of @@ -18,4 +18,3 @@ T16728a.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] at T16728a.hs:(5,1)-(7,9) • In the type ‘a -> _’ In the type signature: h :: forall a. a -> _ - diff --git a/testsuite/tests/partial-sigs/should_compile/T16728b.stderr b/testsuite/tests/partial-sigs/should_compile/T16728b.stderr index 84d10c1f45..02dcbac79e 100644 --- a/testsuite/tests/partial-sigs/should_compile/T16728b.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T16728b.stderr @@ -1,5 +1,5 @@ -T16728b.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16728b.hs:4:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a’ Where: ‘a’ is a rigid type variable bound by the inferred type of g :: a -> a @@ -7,8 +7,7 @@ T16728b.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘a -> _’ In the type signature: g :: forall a. a -> _ -T16728b.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16728b.hs:4:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Bool’ • In the type ‘a -> _’ In the type signature: h :: forall a. a -> _ - diff --git a/testsuite/tests/partial-sigs/should_compile/T18008.stderr b/testsuite/tests/partial-sigs/should_compile/T18008.stderr index 4b59da8b03..d5b35c957d 100644 --- a/testsuite/tests/partial-sigs/should_compile/T18008.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T18008.stderr @@ -1,5 +1,5 @@ -T18008.hs:5:43: warning: [-Wpartial-type-signatures (in -Wdefault)] +T18008.hs:5:43: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘String’ • In the type ‘(forall a. Show a => a -> String) -> _’ In the type signature: f :: (forall a. Show a => a -> String) -> _ diff --git a/testsuite/tests/partial-sigs/should_compile/T18646.stderr b/testsuite/tests/partial-sigs/should_compile/T18646.stderr index ab5bd90aa5..0a9a56e231 100644 --- a/testsuite/tests/partial-sigs/should_compile/T18646.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T18646.stderr @@ -1,19 +1,19 @@ -T18646.hs:9:17: warning: [-Wpartial-type-signatures (in -Wdefault)] +T18646.hs:9:17: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Applicative f’ Where: ‘f’ is a rigid type variable bound by the inferred type of bar :: (Foo (), Applicative f) => f () at T18646.hs:9:1-26 • In the type signature: bar :: (Foo (), _) => f () -T18646.hs:12:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T18646.hs:12:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Applicative f’ Where: ‘f’ is a rigid type variable bound by the inferred type of marie :: (Foo x, Applicative f) => f x at T18646.hs:12:1-26 • In the type signature: marie :: (Foo x, _) => f x -T18646.hs:15:9: warning: [-Wpartial-type-signatures (in -Wdefault)] +T18646.hs:15:9: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘(Applicative f, Foo x)’ Where: ‘f’, ‘x’ are rigid type variables bound by diff --git a/testsuite/tests/partial-sigs/should_compile/T20921.stderr b/testsuite/tests/partial-sigs/should_compile/T20921.stderr index 6c2156cc9f..f0f8272309 100644 --- a/testsuite/tests/partial-sigs/should_compile/T20921.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T20921.stderr @@ -1,5 +1,5 @@ -T20921.hs:37:46: warning: [-Wpartial-type-signatures (in -Wdefault)] +T20921.hs:37:46: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘C i’ Where: ‘i’ is a rigid type variable bound by the inferred type of quux :: (OK (Boo i), C i) => Int diff --git a/testsuite/tests/partial-sigs/should_compile/T21667.stderr b/testsuite/tests/partial-sigs/should_compile/T21667.stderr index 9720853aa2..b76d5bd952 100644 --- a/testsuite/tests/partial-sigs/should_compile/T21667.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T21667.stderr @@ -1,5 +1,5 @@ -T21667.hs:46:40: warning: [-Wpartial-type-signatures (in -Wdefault)] +T21667.hs:46:40: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘"1" :: Symbol’ • In the second argument of ‘ExoticTraversal'’, namely ‘_’ In the type ‘ExoticTraversal' a _ f’ diff --git a/testsuite/tests/partial-sigs/should_compile/T21719.stderr b/testsuite/tests/partial-sigs/should_compile/T21719.stderr index 944729e88a..0d1e529dcf 100644 --- a/testsuite/tests/partial-sigs/should_compile/T21719.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T21719.stderr @@ -1,5 +1,5 @@ -T21719.hs:29:27: warning: [-Wpartial-type-signatures (in -Wdefault)] +T21719.hs:29:27: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘MonadCheckedThrow m1’ Where: ‘m1’ is a rigid type variable bound by @@ -17,7 +17,7 @@ T21719.hs:29:27: warning: [-Wpartial-type-signatures (in -Wdefault)] baz = throwChecked Foo • Relevant bindings include foo :: m Int (bound at T21719.hs:24:1) -T21719.hs:29:33: warning: [-Wpartial-type-signatures (in -Wdefault)] +T21719.hs:29:33: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘m1 a’ Where: ‘m1’, ‘a’ are rigid type variables bound by the inferred type of diff --git a/testsuite/tests/partial-sigs/should_compile/T22065.stderr b/testsuite/tests/partial-sigs/should_compile/T22065.stderr index 42cde6935d..c1ee219723 100644 --- a/testsuite/tests/partial-sigs/should_compile/T22065.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T22065.stderr @@ -1,5 +1,5 @@ -T22065.hs:10:30: warning: [-Wpartial-type-signatures (in -Wdefault)] +T22065.hs:10:30: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Foo’ • In an expression type signature: forall a. _ In the expression: Apply f x :: forall a. _ @@ -16,7 +16,7 @@ T22065.hs:10:30: warning: [-Wpartial-type-signatures (in -Wdefault)] x :: forall {w}. [w] (bound at T22065.hs:16:3) foo :: Foo (bound at T22065.hs:10:1) -T22065.hs:12:9: warning: [-Wpartial-type-signatures (in -Wdefault)] +T22065.hs:12:9: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of f :: [w] -> Int @@ -35,7 +35,7 @@ T22065.hs:12:9: warning: [-Wpartial-type-signatures (in -Wdefault)] x :: forall {w}. [w] (bound at T22065.hs:16:3) foo :: Foo (bound at T22065.hs:10:1) -T22065.hs:15:9: warning: [-Wpartial-type-signatures (in -Wdefault)] +T22065.hs:15:9: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of x :: [w] diff --git a/testsuite/tests/partial-sigs/should_compile/TypedSplice.stderr b/testsuite/tests/partial-sigs/should_compile/TypedSplice.stderr index 2ae23b0d3d..7e48c8f80a 100644 --- a/testsuite/tests/partial-sigs/should_compile/TypedSplice.stderr +++ b/testsuite/tests/partial-sigs/should_compile/TypedSplice.stderr @@ -1,5 +1,5 @@ -TypedSplice.hs:9:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +TypedSplice.hs:9:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Bool’ • In the type ‘_ -> _b’ In an expression type signature: _ -> _b @@ -7,7 +7,7 @@ TypedSplice.hs:9:22: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include metaExp :: Code Q (Bool -> Bool) (bound at TypedSplice.hs:9:1) -TypedSplice.hs:9:27: warning: [-Wpartial-type-signatures (in -Wdefault)] +TypedSplice.hs:9:27: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_b’ standing for ‘Bool’ • In an expression type signature: _ -> _b In the Template Haskell quotation [|| not :: _ -> _b ||] diff --git a/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.stderr b/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.stderr index 23b6ee3c2e..ee483a62a6 100644 --- a/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.stderr +++ b/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.stderr @@ -2,28 +2,28 @@ TYPE SIGNATURES bar :: forall {t} {w}. t -> (t -> w) -> w foo :: forall {a}. (Show a, Enum a) => a -> String Dependent modules: [] -Dependent packages: [base-4.16.0.0] +Dependent packages: [base-4.17.0.0] -WarningWildcardInstantiations.hs:5:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:5:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_a’ standing for ‘a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: (Show a, Enum a) => a -> String at WarningWildcardInstantiations.hs:6:1-21 • In the type signature: foo :: (Show _a, _) => _a -> _ -WarningWildcardInstantiations.hs:5:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:5:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Enum a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: (Show a, Enum a) => a -> String at WarningWildcardInstantiations.hs:6:1-21 • In the type signature: foo :: (Show _a, _) => _a -> _ -WarningWildcardInstantiations.hs:5:30: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:5:30: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘String’ • In the type ‘_a -> _’ In the type signature: foo :: (Show _a, _) => _a -> _ -WarningWildcardInstantiations.hs:8:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:8:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘t’ Where: ‘t’ is a rigid type variable bound by the inferred type of bar :: t -> (t -> w) -> w @@ -31,7 +31,7 @@ WarningWildcardInstantiations.hs:8:8: warning: [-Wpartial-type-signatures (in -W • In the type ‘_ -> _ -> _’ In the type signature: bar :: _ -> _ -> _ -WarningWildcardInstantiations.hs:8:13: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:8:13: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘t -> w’ Where: ‘t’, ‘w’ are rigid type variables bound by the inferred type of bar :: t -> (t -> w) -> w @@ -39,7 +39,7 @@ WarningWildcardInstantiations.hs:8:13: warning: [-Wpartial-type-signatures (in - • In the type ‘_ -> _ -> _’ In the type signature: bar :: _ -> _ -> _ -WarningWildcardInstantiations.hs:8:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:8:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: t -> (t -> w) -> w diff --git a/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraint.stderr b/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraint.stderr index 1dba826661..7d5b42dcc2 100644 --- a/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraint.stderr +++ b/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraint.stderr @@ -1,5 +1,5 @@ -AnnotatedConstraint.hs:7:8: error: +AnnotatedConstraint.hs:7:8: error: [GHC-39999] • No instance for ‘Eq (a0 -> a0)’ arising from a use of ‘foo’ (maybe you haven't applied a function to enough arguments?) • In the expression: foo id diff --git a/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraintNotForgotten.stderr b/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraintNotForgotten.stderr index 006bb7cc1a..c657c99e54 100644 --- a/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraintNotForgotten.stderr +++ b/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraintNotForgotten.stderr @@ -1,5 +1,5 @@ -AnnotatedConstraintNotForgotten.hs:15:8: error: +AnnotatedConstraintNotForgotten.hs:15:8: error: [GHC-39999] • No instance for ‘Eq Foo’ arising from a use of ‘foo’ • In the expression: foo Foo In an equation for ‘test’: test = foo Foo diff --git a/testsuite/tests/partial-sigs/should_fail/Defaulting1MROff.stderr b/testsuite/tests/partial-sigs/should_fail/Defaulting1MROff.stderr index 59c6755547..791a3854f3 100644 --- a/testsuite/tests/partial-sigs/should_fail/Defaulting1MROff.stderr +++ b/testsuite/tests/partial-sigs/should_fail/Defaulting1MROff.stderr @@ -1,4 +1,4 @@ -Defaulting1MROff.hs:7:10: warning: [-Wpartial-type-signatures (in -Wdefault)] +Defaulting1MROff.hs:7:10: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Integer’ • In the type signature: alpha :: _ diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInExpressionSignature.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInExpressionSignature.stderr index 117a8cca0d..77150e85ed 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInExpressionSignature.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInExpressionSignature.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardInExpressionSignature.hs:5:20: warning: [-Wpartial-type-signatures (in -Wdefault)] +ExtraConstraintsWildcardInExpressionSignature.hs:5:20: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Eq a1’ Where: ‘a1’ is a rigid type variable bound by the inferred type of <expression> :: Eq a1 => a1 -> a1 -> Bool @@ -15,7 +15,7 @@ ExtraConstraintsWildcardInExpressionSignature.hs:5:20: warning: [-Wpartial-type- foo :: a -> a -> Bool (bound at ExtraConstraintsWildcardInExpressionSignature.hs:5:1) -ExtraConstraintsWildcardInExpressionSignature.hs:5:25: warning: [-Wpartial-type-signatures (in -Wdefault)] +ExtraConstraintsWildcardInExpressionSignature.hs:5:25: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a1 -> a1 -> Bool’ Where: ‘a1’ is a rigid type variable bound by the inferred type of <expression> :: Eq a1 => a1 -> a1 -> Bool diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSignature.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSignature.stderr index 9711e34121..4d161fb837 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSignature.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSignature.stderr @@ -1,4 +1,4 @@ -ExtraConstraintsWildcardInPatternSignature.hs:4:11: error: +ExtraConstraintsWildcardInPatternSignature.hs:4:11: error: [GHC-65507] Extra-constraint wildcard ‘_’ not allowed in a pattern type-signature diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSplice.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSplice.stderr index e42e098ef3..6b858a0f36 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSplice.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSplice.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardInPatternSplice.hs:5:6: error: +ExtraConstraintsWildcardInPatternSplice.hs:5:6: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of foo :: w -> () diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInTypeSpliceUsed.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInTypeSpliceUsed.stderr index a8f98d9e62..a4999fa6c8 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInTypeSpliceUsed.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInTypeSpliceUsed.stderr @@ -1,6 +1,6 @@ [1 of 2] Compiling ExtraConstraintsWildcardInTypeSplice ( ExtraConstraintsWildcardInTypeSplice.hs, ExtraConstraintsWildcardInTypeSplice.o ) -ExtraConstraintsWildcardInTypeSplice.hs:7:16: error: +ExtraConstraintsWildcardInTypeSplice.hs:7:16: error: [GHC-65507] • Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotEnabled.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotEnabled.stderr index 496e1a7393..fc7ae5a94a 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotEnabled.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotEnabled.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardNotEnabled.hs:4:10: error: +ExtraConstraintsWildcardNotEnabled.hs:4:10: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘Show a’ Where: ‘a’ is a rigid type variable bound by the inferred type of show' :: Show a => a -> String diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr index 86e5805a91..5a76f15720 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardNotLast.hs:4:9: error: +ExtraConstraintsWildcardNotLast.hs:4:9: error: [GHC-65507] Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotPresent.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotPresent.stderr index 10f467ba99..50e560f21d 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotPresent.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotPresent.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardNotPresent.hs:6:11: error: +ExtraConstraintsWildcardNotPresent.hs:6:11: error: [GHC-39999] • No instance for ‘Show a’ arising from a use of ‘show’ Possible fix: add (Show a) to the context of diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardTwice.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardTwice.stderr index 5e6013da7f..2574f141f0 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardTwice.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardTwice.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardTwice.hs:4:10: error: +ExtraConstraintsWildcardTwice.hs:4:10: error: [GHC-65507] Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/Forall1Bad.stderr b/testsuite/tests/partial-sigs/should_fail/Forall1Bad.stderr index 4a2d167327..6e3b6d47aa 100644 --- a/testsuite/tests/partial-sigs/should_fail/Forall1Bad.stderr +++ b/testsuite/tests/partial-sigs/should_fail/Forall1Bad.stderr @@ -1,5 +1,5 @@ -Forall1Bad.hs:9:13: error: +Forall1Bad.hs:9:13: error: [GHC-83865] • Couldn't match expected type ‘Char’ with actual type ‘Bool’ • In the first argument of ‘fall’, namely ‘True’ In the expression: fall True diff --git a/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.stderr b/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.stderr index 9e9505d7f0..6ba1b6f311 100644 --- a/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.stderr +++ b/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.stderr @@ -1,5 +1,5 @@ -InstantiatedNamedWildcardsInConstraints.hs:4:14: error: +InstantiatedNamedWildcardsInConstraints.hs:4:14: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘b’ Where: ‘b’ is a rigid type variable bound by the inferred type of foo :: (Enum b, Show b) => b -> (String, b) @@ -7,7 +7,7 @@ InstantiatedNamedWildcardsInConstraints.hs:4:14: error: To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: (Enum _a, _) => _a -> (String, b) -InstantiatedNamedWildcardsInConstraints.hs:4:18: error: +InstantiatedNamedWildcardsInConstraints.hs:4:18: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘Show b’ Where: ‘b’ is a rigid type variable bound by the inferred type of foo :: (Enum b, Show b) => b -> (String, b) diff --git a/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.stderr b/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.stderr index a1b30fb7af..229410f6d5 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.stderr @@ -1,5 +1,5 @@ -NamedExtraConstraintsWildcard.hs:5:1: error: +NamedExtraConstraintsWildcard.hs:5:1: error: [GHC-05617] • Could not deduce ‘w0’ from the context: (Eq a, w) bound by the inferred type for ‘foo’: diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardExplicitForall.stderr b/testsuite/tests/partial-sigs/should_fail/NamedWildcardExplicitForall.stderr index 17ffbc1595..b213ea8557 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardExplicitForall.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardExplicitForall.stderr @@ -1,5 +1,5 @@ -NamedWildcardExplicitForall.hs:8:7: error: +NamedWildcardExplicitForall.hs:8:7: error: [GHC-25897] • Couldn't match type ‘_a’ with ‘Bool’ Expected: _a -> _a Actual: Bool -> Bool @@ -12,17 +12,17 @@ NamedWildcardExplicitForall.hs:8:7: error: • Relevant bindings include foo :: _a -> _a (bound at NamedWildcardExplicitForall.hs:8:1) -NamedWildcardExplicitForall.hs:10:8: error: +NamedWildcardExplicitForall.hs:10:8: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type signature: bar :: _a -> _a -NamedWildcardExplicitForall.hs:13:26: error: +NamedWildcardExplicitForall.hs:13:26: error: [GHC-88464] • Found type wildcard ‘_b’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type signature: baz :: forall _a. _a -> _b -> (_a, _b) -NamedWildcardExplicitForall.hs:14:12: error: +NamedWildcardExplicitForall.hs:14:12: error: [GHC-25897] • Couldn't match expected type ‘_a’ with actual type ‘Bool’ ‘_a’ is a rigid type variable bound by the inferred type of baz :: _a -> Bool -> (_a, Bool) @@ -35,7 +35,7 @@ NamedWildcardExplicitForall.hs:14:12: error: baz :: _a -> Bool -> (_a, Bool) (bound at NamedWildcardExplicitForall.hs:14:1) -NamedWildcardExplicitForall.hs:16:8: error: +NamedWildcardExplicitForall.hs:16:8: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type signature: qux :: _a -> (forall _a. _a -> _a) -> _a diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardInTypeSplice.stderr b/testsuite/tests/partial-sigs/should_fail/NamedWildcardInTypeSplice.stderr index ad78d8c7ef..55940cf1a9 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardInTypeSplice.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardInTypeSplice.stderr @@ -1,8 +1,8 @@ -NamedWildcardInTypeSplice.hs:8:16: error: +NamedWildcardInTypeSplice.hs:8:16: error: [GHC-76037] • Not in scope: type variable ‘_a’ • In the Template Haskell quotation [t| _a -> _a |] -NamedWildcardInTypeSplice.hs:8:22: error: +NamedWildcardInTypeSplice.hs:8:22: error: [GHC-76037] • Not in scope: type variable ‘_a’ • In the Template Haskell quotation [t| _a -> _a |] diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.stderr b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.stderr index 409ed511f0..d8fadbce09 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.stderr @@ -1,10 +1,10 @@ -NamedWildcardsEnabled.hs:4:8: error: +NamedWildcardsEnabled.hs:4:8: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: _a -> _b -NamedWildcardsEnabled.hs:4:14: error: +NamedWildcardsEnabled.hs:4:14: error: [GHC-88464] • Found type wildcard ‘_b’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: _a -> _b diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotEnabled.stderr b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotEnabled.stderr index 2fb55bfe2a..6b995343bc 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotEnabled.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotEnabled.stderr @@ -1,5 +1,5 @@ -NamedWildcardsNotEnabled.hs:5:9: error: +NamedWildcardsNotEnabled.hs:5:9: error: [GHC-25897] • Couldn't match expected type ‘_b’ with actual type ‘Bool’ ‘_b’ is a rigid type variable bound by the type signature for: @@ -10,7 +10,7 @@ NamedWildcardsNotEnabled.hs:5:9: error: • Relevant bindings include foo :: _a -> _b (bound at NamedWildcardsNotEnabled.hs:5:1) -NamedWildcardsNotEnabled.hs:5:13: error: +NamedWildcardsNotEnabled.hs:5:13: error: [GHC-25897] • Couldn't match expected type ‘Bool’ with actual type ‘_a’ ‘_a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.stderr b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.stderr index a91d977ee7..388ba5a0a1 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.stderr @@ -1,5 +1,5 @@ -NamedWildcardsNotInMonotype.hs:5:1: error: +NamedWildcardsNotInMonotype.hs:5:1: error: [GHC-39999] • Could not deduce ‘Eq w0’ from the context: (Show a, Eq w, Eq a) bound by the inferred type for ‘foo’: diff --git a/testsuite/tests/partial-sigs/should_fail/NestedExtraConstraintsWildcard.stderr b/testsuite/tests/partial-sigs/should_fail/NestedExtraConstraintsWildcard.stderr index 1dbe74f0cb..9bba4ecb14 100644 --- a/testsuite/tests/partial-sigs/should_fail/NestedExtraConstraintsWildcard.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NestedExtraConstraintsWildcard.stderr @@ -1,5 +1,5 @@ -NestedExtraConstraintsWildcard.hs:4:23: error: +NestedExtraConstraintsWildcard.hs:4:23: error: [GHC-65507] Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.stderr b/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.stderr index c632d6eb64..85ba3842dc 100644 --- a/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.stderr @@ -1,5 +1,5 @@ -NestedNamedExtraConstraintsWildcard.hs:4:23: error: +NestedNamedExtraConstraintsWildcard.hs:4:23: error: [GHC-65507] Named wildcard ‘_a’ not allowed in a constraint Extra-constraint wildcards must be anonymous e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr b/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr index b470912526..b8790d81f4 100644 --- a/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr +++ b/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr @@ -1,4 +1,4 @@ -PartialClassMethodSignature.hs:6:15: error: +PartialClassMethodSignature.hs:6:15: error: [GHC-65507] Wildcard ‘_’ not allowed in a class method signature for ‘foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature2.stderr b/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature2.stderr index 354f1d5ee7..c989ee27c0 100644 --- a/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature2.stderr @@ -1,4 +1,4 @@ -PartialClassMethodSignature2.hs:5:17: error: +PartialClassMethodSignature2.hs:5:17: error: [GHC-65507] Wildcard ‘_’ not allowed in a class method signature for ‘foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/PartialTypeSignaturesDisabled.stderr b/testsuite/tests/partial-sigs/should_fail/PartialTypeSignaturesDisabled.stderr index be6ea0ae80..eb49a8bfed 100644 --- a/testsuite/tests/partial-sigs/should_fail/PartialTypeSignaturesDisabled.stderr +++ b/testsuite/tests/partial-sigs/should_fail/PartialTypeSignaturesDisabled.stderr @@ -1,11 +1,11 @@ -PartialTypeSignaturesDisabled.hs:4:8: error: +PartialTypeSignaturesDisabled.hs:4:8: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type ‘_ -> _’ In the type signature: foo :: _ -> _ -PartialTypeSignaturesDisabled.hs:4:13: error: +PartialTypeSignaturesDisabled.hs:4:13: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type ‘_ -> _’ diff --git a/testsuite/tests/partial-sigs/should_fail/PatBind3.stderr b/testsuite/tests/partial-sigs/should_fail/PatBind3.stderr index a1a1295b12..350da8f644 100644 --- a/testsuite/tests/partial-sigs/should_fail/PatBind3.stderr +++ b/testsuite/tests/partial-sigs/should_fail/PatBind3.stderr @@ -1,5 +1,5 @@ -PatBind3.hs:6:17: error: +PatBind3.hs:6:17: error: [GHC-83865] • Couldn't match type ‘(Bool, w)’ with ‘Char’ Expected: (Bool, w) -> Char Actual: (Bool, w) -> (Bool, w) diff --git a/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.stderr b/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.stderr index ee618dff56..a6eec60511 100644 --- a/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.stderr @@ -1,5 +1,5 @@ -ScopedNamedWildcardsBad.hs:11:15: error: +ScopedNamedWildcardsBad.hs:11:15: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the first argument of ‘g’, namely ‘'x'’ In the expression: g 'x' diff --git a/testsuite/tests/partial-sigs/should_fail/T10045.stderr b/testsuite/tests/partial-sigs/should_fail/T10045.stderr index e6f6462d5d..23d9274058 100644 --- a/testsuite/tests/partial-sigs/should_fail/T10045.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T10045.stderr @@ -1,5 +1,5 @@ -T10045.hs:6:18: error: +T10045.hs:6:18: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘t1 -> Bool -> t2’ Where: ‘t1’, ‘t2’ are rigid type variables bound by the inferred type of copy :: t1 -> Bool -> t2 diff --git a/testsuite/tests/partial-sigs/should_fail/T10615.stderr b/testsuite/tests/partial-sigs/should_fail/T10615.stderr index e9c048ce16..b2390ffa41 100644 --- a/testsuite/tests/partial-sigs/should_fail/T10615.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T10615.stderr @@ -1,12 +1,12 @@ -T10615.hs:5:7: error: +T10615.hs:5:7: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w1’ Where: ‘w1’ is an ambiguous type variable To use the inferred type, enable PartialTypeSignatures • In the type ‘_ -> f’ In the type signature: f1 :: _ -> f -T10615.hs:6:6: error: +T10615.hs:6:6: error: [GHC-25897] • Couldn't match type ‘f’ with ‘b1 -> w1’ Expected: w1 -> f Actual: w1 -> b1 -> w1 @@ -17,14 +17,14 @@ T10615.hs:6:6: error: In an equation for ‘f1’: f1 = const • Relevant bindings include f1 :: w1 -> f (bound at T10615.hs:6:1) -T10615.hs:8:7: error: +T10615.hs:8:7: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w0’ Where: ‘w0’ is an ambiguous type variable To use the inferred type, enable PartialTypeSignatures • In the type ‘_ -> _f’ In the type signature: f2 :: _ -> _f -T10615.hs:9:6: error: +T10615.hs:9:6: error: [GHC-25897] • Couldn't match type ‘_f’ with ‘b0 -> w0’ Expected: w0 -> _f Actual: w0 -> b0 -> w0 diff --git a/testsuite/tests/partial-sigs/should_fail/T10999.stderr b/testsuite/tests/partial-sigs/should_fail/T10999.stderr index 4942fb9f8a..39e94b5033 100644 --- a/testsuite/tests/partial-sigs/should_fail/T10999.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T10999.stderr @@ -1,5 +1,5 @@ -T10999.hs:5:6: error: +T10999.hs:5:6: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘Ord a’ Where: ‘a’ is a rigid type variable bound by the inferred type of f :: Ord a => () -> Set.Set a @@ -7,7 +7,7 @@ T10999.hs:5:6: error: To use the inferred type, enable PartialTypeSignatures • In the type signature: f :: _ => () -> _ -T10999.hs:5:17: error: +T10999.hs:5:17: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘Set.Set a’ Where: ‘a’ is a rigid type variable bound by the inferred type of f :: Ord a => () -> Set.Set a @@ -16,7 +16,7 @@ T10999.hs:5:17: error: • In the type ‘() -> _’ In the type signature: f :: _ => () -> _ -T10999.hs:8:28: error: +T10999.hs:8:28: error: [GHC-39999] • Ambiguous type variable ‘b1’ arising from a use of ‘f’ prevents the constraint ‘(Ord b1)’ from being solved. Relevant bindings include g :: [b1] (bound at T10999.hs:8:1) diff --git a/testsuite/tests/partial-sigs/should_fail/T11122.stderr b/testsuite/tests/partial-sigs/should_fail/T11122.stderr index a6b4c618ec..1a173ec11a 100644 --- a/testsuite/tests/partial-sigs/should_fail/T11122.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T11122.stderr @@ -1,5 +1,5 @@ -T11122.hs:19:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11122.hs:19:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Int’ • In the first argument of ‘Parser’, namely ‘_’ In the type ‘Parser _’ diff --git a/testsuite/tests/partial-sigs/should_fail/T11515.stderr b/testsuite/tests/partial-sigs/should_fail/T11515.stderr index df8da03208..389b1331b3 100644 --- a/testsuite/tests/partial-sigs/should_fail/T11515.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T11515.stderr @@ -1,5 +1,5 @@ -T11515.hs:7:20: error: +T11515.hs:7:20: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘()’ To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: (ShowSyn a, _) => a -> String diff --git a/testsuite/tests/partial-sigs/should_fail/T11976.stderr b/testsuite/tests/partial-sigs/should_fail/T11976.stderr index bcc69bf2d8..a2a1fead7d 100644 --- a/testsuite/tests/partial-sigs/should_fail/T11976.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T11976.stderr @@ -1,5 +1,5 @@ -T11976.hs:7:20: error: +T11976.hs:7:20: error: [GHC-83865] • Expected kind ‘k0 -> *’, but ‘Lens _ _’ has kind ‘*’ • In the type ‘Lens _ _ _’ In an expression type signature: Lens _ _ _ diff --git a/testsuite/tests/partial-sigs/should_fail/T12039.stderr b/testsuite/tests/partial-sigs/should_fail/T12039.stderr index 2a5fe33b14..690224f32d 100644 --- a/testsuite/tests/partial-sigs/should_fail/T12039.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T12039.stderr @@ -1,4 +1,4 @@ -T12039.hs:5:11: error: +T12039.hs:5:11: error: [GHC-65507] Wildcard ‘_’ not allowed in the declaration for class ‘B’ diff --git a/testsuite/tests/partial-sigs/should_fail/T12634.stderr b/testsuite/tests/partial-sigs/should_fail/T12634.stderr index ef0386784c..19a65352db 100644 --- a/testsuite/tests/partial-sigs/should_fail/T12634.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T12634.stderr @@ -1,5 +1,5 @@ -T12634.hs:15:58: error: +T12634.hs:15:58: error: [GHC-83865] • Expected a type, but ‘'(t, m, m', r)’ has kind ‘(k1 -> k2 -> *, k0, k1, k2)’ diff --git a/testsuite/tests/partial-sigs/should_fail/T12732.stderr b/testsuite/tests/partial-sigs/should_fail/T12732.stderr index 5188f6228b..e8977bf83c 100644 --- a/testsuite/tests/partial-sigs/should_fail/T12732.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T12732.stderr @@ -1,6 +1,6 @@ -T12732.hs:4:10: error: Variable not in scope: x +T12732.hs:4:10: error: [GHC-88464] Variable not in scope: x -T12732.hs:5:27: error: Variable not in scope: x +T12732.hs:5:27: error: [GHC-88464] Variable not in scope: x -T12732.hs:6:11: error: Variable not in scope: x +T12732.hs:6:11: error: [GHC-88464] Variable not in scope: x diff --git a/testsuite/tests/partial-sigs/should_fail/T13324_fail1.stderr b/testsuite/tests/partial-sigs/should_fail/T13324_fail1.stderr index dd3a9948f9..92e8613b7d 100644 --- a/testsuite/tests/partial-sigs/should_fail/T13324_fail1.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T13324_fail1.stderr @@ -1,10 +1,10 @@ -T13324_fail1.hs:7:26: error: +T13324_fail1.hs:7:26: error: [GHC-65507] Extra-constraint wildcard ‘_’ not allowed except as the sole constraint e.g., deriving instance _ => Eq (Foo a) in a deriving declaration -T13324_fail1.hs:8:25: error: +T13324_fail1.hs:8:25: error: [GHC-65507] Wildcard ‘_’ not allowed in a deriving declaration diff --git a/testsuite/tests/partial-sigs/should_fail/T13324_fail2.stderr b/testsuite/tests/partial-sigs/should_fail/T13324_fail2.stderr index 798272f7b0..f1237e87dc 100644 --- a/testsuite/tests/partial-sigs/should_fail/T13324_fail2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T13324_fail2.stderr @@ -1,11 +1,11 @@ -T13324_fail2.hs:7:1: error: +T13324_fail2.hs:7:1: error: [GHC-39999] • No instance for ‘Eq (f (f a))’ arising from a 'deriving' declaration Possible fix: fill in the wildcard constraint yourself • When deriving the instance for (Eq (Foo f a)) -T13324_fail2.hs:11:1: error: +T13324_fail2.hs:11:1: error: [GHC-16437] • Can't make a derived instance of ‘Eq (T a)’: Constructor ‘MkT’ is a GADT • In the stand-alone deriving instance for ‘_ => Eq (T a)’ diff --git a/testsuite/tests/partial-sigs/should_fail/T14040a.stderr b/testsuite/tests/partial-sigs/should_fail/T14040a.stderr index 18f8439a7f..6f5ee1ff2e 100644 --- a/testsuite/tests/partial-sigs/should_fail/T14040a.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T14040a.stderr @@ -1,13 +1,13 @@ -T14040a.hs:26:46: error: +T14040a.hs:26:46: error: [GHC-46956] • Couldn't match kind ‘k1’ with ‘WeirdList z’ Expected kind ‘WeirdList k1’, but ‘xs’ has kind ‘WeirdList (WeirdList z)’ - because kind variable ‘z’ would escape its scope - This (rigid, skolem) kind variable is bound by - an explicit forall (z :: Type) (x :: z) - (xs :: WeirdList (WeirdList z)) - at T14040a.hs:25:26-77 + • because kind variable ‘z’ would escape its scope + This (rigid, skolem) kind variable is bound by + an explicit forall (z :: Type) (x :: z) + (xs :: WeirdList (WeirdList z)) + at T14040a.hs:25:26-77 • In the second argument of ‘p’, namely ‘xs’ In the type ‘Sing wl -> (forall (y :: Type). p _ WeirdNil) @@ -29,15 +29,15 @@ T14040a.hs:26:46: error: -> p _ (WeirdCons x xs)) -> p _ wl -T14040a.hs:27:27: error: +T14040a.hs:27:27: error: [GHC-46956] • Couldn't match kind ‘k0’ with ‘z’ Expected kind ‘WeirdList k0’, but ‘WeirdCons x xs’ has kind ‘WeirdList z’ - because kind variable ‘z’ would escape its scope - This (rigid, skolem) kind variable is bound by - an explicit forall (z :: Type) (x :: z) - (xs :: WeirdList (WeirdList z)) - at T14040a.hs:25:26-77 + • because kind variable ‘z’ would escape its scope + This (rigid, skolem) kind variable is bound by + an explicit forall (z :: Type) (x :: z) + (xs :: WeirdList (WeirdList z)) + at T14040a.hs:25:26-77 • In the second argument of ‘p’, namely ‘(WeirdCons x xs)’ In the type ‘Sing wl -> (forall (y :: Type). p _ WeirdNil) diff --git a/testsuite/tests/partial-sigs/should_fail/T14449.stderr b/testsuite/tests/partial-sigs/should_fail/T14449.stderr index 01e73b5edb..b35303ffea 100644 --- a/testsuite/tests/partial-sigs/should_fail/T14449.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T14449.stderr @@ -1,4 +1,4 @@ -T14449.hs:6:1: error: +T14449.hs:6:1: error: [GHC-88793] Couldn't match ‘a’ with ‘b’ both bound by the partial type signature: f :: a -> b -> _ diff --git a/testsuite/tests/partial-sigs/should_fail/T14479.stderr b/testsuite/tests/partial-sigs/should_fail/T14479.stderr index 84ba90a572..6c53d8defe 100644 --- a/testsuite/tests/partial-sigs/should_fail/T14479.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T14479.stderr @@ -1,5 +1,5 @@ -T14479.hs:9:5: error: +T14479.hs:9:5: error: [GHC-94185] • Can't quantify over ‘b’ bound by the partial type signature: g :: forall b. Num b => _ -> b • In an equation for ‘foo’: diff --git a/testsuite/tests/partial-sigs/should_fail/T14584.stderr b/testsuite/tests/partial-sigs/should_fail/T14584.stderr index bfa69b1636..67ccd9d0da 100644 --- a/testsuite/tests/partial-sigs/should_fail/T14584.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T14584.stderr @@ -1,5 +1,5 @@ -T14584.hs:57:41: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584.hs:57:41: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Could not deduce ‘SingI a’ arising from a use of ‘sing’ from the context: (Action act, Monoid a, Good m1) bound by the instance declaration at T14584.hs:55:10-89 @@ -10,7 +10,7 @@ T14584.hs:57:41: warning: [-Wdeferred-type-errors (in -Wdefault)] In the expression: act @_ @_ @act (fromSing @m (sing @m @a :: Sing _)) -T14584.hs:57:41: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584.hs:57:41: warning: [GHC-06200] [-Wdeferred-type-errors (in -Wdefault)] • Cannot use equality for substitution: a0 ~ a Doing so would be ill-kinded. • In the second argument of ‘fromSing’, namely @@ -22,7 +22,7 @@ T14584.hs:57:41: warning: [-Wdeferred-type-errors (in -Wdefault)] • Relevant bindings include monHom :: a -> a (bound at T14584.hs:57:3) -T14584.hs:57:50: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584.hs:57:50: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Could not deduce ‘m1 ~ *’ from the context: (Action act, Monoid a, Good m1) bound by the instance declaration at T14584.hs:55:10-89 @@ -35,7 +35,7 @@ T14584.hs:57:50: warning: [-Wdeferred-type-errors (in -Wdefault)] In the fourth argument of ‘act’, namely ‘(fromSing @m (sing @m @a :: Sing _))’ -T14584.hs:57:60: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14584.hs:57:60: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a0 :: m’ Where: ‘a0’ is an ambiguous type variable ‘m’ is a rigid type variable bound by diff --git a/testsuite/tests/partial-sigs/should_fail/T14584a.stderr b/testsuite/tests/partial-sigs/should_fail/T14584a.stderr index a7706d723e..aabc6130e3 100644 --- a/testsuite/tests/partial-sigs/should_fail/T14584a.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T14584a.stderr @@ -1,11 +1,11 @@ -T14584a.hs:12:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584a.hs:12:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘()’ with actual type ‘m -> m’ - Probable cause: ‘id’ is applied to too few arguments - • In the expression: id @m :: _ + • Probable cause: ‘id’ is applied to too few arguments + In the expression: id @m :: _ In an equation for ‘f’: f = id @m :: _ -T14584a.hs:12:9: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584a.hs:12:9: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Expected a type, but ‘m’ has kind ‘k’ ‘k’ is a rigid type variable bound by the type signature for: @@ -15,14 +15,14 @@ T14584a.hs:12:9: warning: [-Wdeferred-type-errors (in -Wdefault)] In the expression: id @m :: _ In an equation for ‘f’: f = id @m :: _ -T14584a.hs:12:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14584a.hs:12:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘()’ • In an expression type signature: _ In the expression: id @m :: _ In an equation for ‘f’: f = id @m :: _ • Relevant bindings include f :: () (bound at T14584a.hs:12:1) -T14584a.hs:15:17: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584a.hs:15:17: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Expected a type, but ‘m’ has kind ‘k’ ‘k’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/partial-sigs/should_fail/TidyClash.stderr b/testsuite/tests/partial-sigs/should_fail/TidyClash.stderr index a7a5ee85be..b354fd8d01 100644 --- a/testsuite/tests/partial-sigs/should_fail/TidyClash.stderr +++ b/testsuite/tests/partial-sigs/should_fail/TidyClash.stderr @@ -1,5 +1,5 @@ -TidyClash.hs:8:19: error: +TidyClash.hs:8:19: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w1’ Where: ‘w1’ is a rigid type variable bound by the inferred type of bar :: w_ -> (w_, w1 -> w2) @@ -8,7 +8,7 @@ TidyClash.hs:8:19: error: • In the type ‘w_ -> (w_, _ -> _)’ In the type signature: bar :: w_ -> (w_, _ -> _) -TidyClash.hs:8:24: error: +TidyClash.hs:8:24: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w2’ Where: ‘w2’ is a rigid type variable bound by the inferred type of bar :: w_ -> (w_, w1 -> w2) diff --git a/testsuite/tests/partial-sigs/should_fail/TidyClash2.stderr b/testsuite/tests/partial-sigs/should_fail/TidyClash2.stderr index 504fbf5094..d6c07d7ba7 100644 --- a/testsuite/tests/partial-sigs/should_fail/TidyClash2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/TidyClash2.stderr @@ -1,5 +1,5 @@ -TidyClash2.hs:13:20: error: +TidyClash2.hs:13:20: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w1’ Where: ‘w1’ is a rigid type variable bound by the inferred type of barry :: w1 -> w2 -> t @@ -8,7 +8,7 @@ TidyClash2.hs:13:20: error: • In the type ‘_ -> _ -> t’ In the type signature: barry :: forall t. _ -> _ -> t -TidyClash2.hs:13:25: error: +TidyClash2.hs:13:25: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w2’ Where: ‘w2’ is a rigid type variable bound by the inferred type of barry :: w1 -> w2 -> t @@ -17,7 +17,7 @@ TidyClash2.hs:13:25: error: • In the type ‘_ -> _ -> t’ In the type signature: barry :: forall t. _ -> _ -> t -TidyClash2.hs:14:13: error: +TidyClash2.hs:14:13: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w1’ Where: ‘w1’ is a rigid type variable bound by the inferred type of barry :: w1 -> w2 -> t @@ -30,7 +30,7 @@ TidyClash2.hs:14:13: error: • Relevant bindings include barry :: w1 -> w2 -> t (bound at TidyClash2.hs:14:1) -TidyClash2.hs:14:22: error: +TidyClash2.hs:14:22: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w2’ Where: ‘w2’ is a rigid type variable bound by the inferred type of barry :: w1 -> w2 -> t @@ -44,7 +44,7 @@ TidyClash2.hs:14:22: error: x :: w1 (bound at TidyClash2.hs:14:8) barry :: w1 -> w2 -> t (bound at TidyClash2.hs:14:1) -TidyClash2.hs:14:40: error: +TidyClash2.hs:14:40: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w3’ Where: ‘w3’ is a rigid type variable bound by the inferred type of <expression> :: w3 diff --git a/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard1.stderr b/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard1.stderr index 9efcdb8641..8576e0f5df 100644 --- a/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard1.stderr +++ b/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard1.stderr @@ -1,5 +1,5 @@ -UnnamedConstraintWildcard1.hs:4:13: error: +UnnamedConstraintWildcard1.hs:4:13: error: [GHC-65507] Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard2.stderr b/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard2.stderr index c695321da7..8becad9a96 100644 --- a/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard2.stderr @@ -1,5 +1,5 @@ -UnnamedConstraintWildcard2.hs:4:8: error: +UnnamedConstraintWildcard2.hs:4:8: error: [GHC-65507] Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInADT1.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInADT1.stderr index 8d88278060..b82dd1ef4f 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInADT1.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInADT1.stderr @@ -1,4 +1,4 @@ -WildcardInADT1.hs:4:26: error: +WildcardInADT1.hs:4:26: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInADT2.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInADT2.stderr index 2c8acc3307..6537262707 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInADT2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInADT2.stderr @@ -1,4 +1,4 @@ -WildcardInADT2.hs:4:34: error: +WildcardInADT2.hs:4:34: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInADT3.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInADT3.stderr index 48e38d84ed..fe2f70d008 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInADT3.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInADT3.stderr @@ -1,4 +1,4 @@ -WildcardInADT3.hs:4:27: error: +WildcardInADT3.hs:4:27: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext1.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext1.stderr index afd7020227..e1ab864988 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext1.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext1.stderr @@ -2,6 +2,6 @@ WildcardInADTContext1.hs:1:37: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -WildcardInADTContext1.hs:4:13: error: +WildcardInADTContext1.hs:4:13: error: [GHC-65507] Wildcard ‘_’ not allowed in the data type declaration for ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.stderr index 32fc28b6fa..8333aa4a14 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.stderr @@ -2,6 +2,6 @@ WildcardInADTContext2.hs:1:53: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -WildcardInADTContext2.hs:4:10: error: +WildcardInADTContext2.hs:4:10: error: [GHC-76037] Not in scope: type variable ‘_a’ Suggested fix: Perhaps use ‘a’ (line 4) diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInDefault.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInDefault.stderr index 5321815171..1cb3b46f8e 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInDefault.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInDefault.stderr @@ -1,4 +1,4 @@ -WildcardInDefault.hs:4:10: error: +WildcardInDefault.hs:4:10: error: [GHC-65507] Wildcard ‘_’ not allowed in a `default' declaration diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.stderr index 941ea1c5d4..98913a6f8b 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.stderr @@ -1,4 +1,4 @@ -WildcardInDefaultSignature.hs:7:16: error: +WildcardInDefaultSignature.hs:7:16: error: [GHC-65507] Wildcard ‘_’ not allowed in a class method signature for ‘f’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInDeriving.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInDeriving.stderr index 054c0a424c..68d01bb0f1 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInDeriving.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInDeriving.stderr @@ -1,4 +1,4 @@ -WildcardInDeriving.hs:5:22: error: +WildcardInDeriving.hs:5:22: error: [GHC-65507] Wildcard ‘_’ not allowed in the data type declaration for ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInForeignExport.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInForeignExport.stderr index e207df7528..ede183a2bd 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInForeignExport.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInForeignExport.stderr @@ -1,4 +1,4 @@ -WildcardInForeignExport.hs:6:37: error: +WildcardInForeignExport.hs:6:37: error: [GHC-65507] Wildcard ‘_’ not allowed in the foreign declaration for ‘foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInForeignImport.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInForeignImport.stderr index 3c34f027d1..dc9daedfba 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInForeignImport.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInForeignImport.stderr @@ -1,4 +1,4 @@ -WildcardInForeignImport.hs:6:48: error: +WildcardInForeignImport.hs:6:48: error: [GHC-65507] Wildcard ‘_’ not allowed in the foreign declaration for ‘c_sin’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInGADT1.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInGADT1.stderr index c542644539..41d5c582be 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInGADT1.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInGADT1.stderr @@ -1,4 +1,4 @@ -WildcardInGADT1.hs:5:19: error: +WildcardInGADT1.hs:5:19: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInGADT2.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInGADT2.stderr index bf63d2a997..85dba04ad9 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInGADT2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInGADT2.stderr @@ -1,4 +1,4 @@ -WildcardInGADT2.hs:5:17: error: +WildcardInGADT2.hs:5:17: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceHead.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceHead.stderr index 367e10a16f..718f136e46 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceHead.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceHead.stderr @@ -1,4 +1,4 @@ -WildcardInInstanceHead.hs:7:14: error: +WildcardInInstanceHead.hs:7:14: error: [GHC-65507] Wildcard ‘_’ not allowed in an instance declaration diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.stderr index 1e59fb7122..466d971bd8 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.stderr @@ -1,4 +1,4 @@ -WildcardInInstanceSig.hs:5:13: error: +WildcardInInstanceSig.hs:5:13: error: [GHC-65507] Wildcard ‘_’ not allowed in a class method signature for ‘negate’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInNewtype.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInNewtype.stderr index 72e60eebdc..ce46867a6a 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInNewtype.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInNewtype.stderr @@ -1,4 +1,4 @@ -WildcardInNewtype.hs:7:29: error: +WildcardInNewtype.hs:7:29: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInPatSynSig.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInPatSynSig.stderr index c27b0c90d1..ed517a0232 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInPatSynSig.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInPatSynSig.stderr @@ -1,4 +1,4 @@ -WildcardInPatSynSig.hs:4:37: error: +WildcardInPatSynSig.hs:4:37: error: [GHC-65507] Wildcard ‘_’ not allowed in a pattern synonym signature for ‘Single’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.stderr index 0609021c15..2af068b5a0 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.stderr @@ -1,4 +1,4 @@ -WildcardInStandaloneDeriving.hs:4:19: error: +WildcardInStandaloneDeriving.hs:4:19: error: [GHC-65507] Wildcard ‘_’ not allowed in a deriving declaration diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeFamilyInstanceRHS.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeFamilyInstanceRHS.stderr index 1572c86e0b..3edb17a99a 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeFamilyInstanceRHS.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeFamilyInstanceRHS.stderr @@ -1,4 +1,4 @@ -WildcardInTypeFamilyInstanceRHS.hs:8:25: error: +WildcardInTypeFamilyInstanceRHS.hs:8:25: error: [GHC-65507] Wildcard ‘_’ not allowed in the declaration for type synonym ‘Dual’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymLHS.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymLHS.stderr index ec438805e4..3a5fe4f5a0 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymLHS.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymLHS.stderr @@ -1,5 +1,5 @@ -WildcardInTypeSynonymLHS.hs:4:10: +WildcardInTypeSynonymLHS.hs:4:10: error: [GHC-77878] Unexpected type ‘_’ In the type declaration for ‘Foo’ A type declaration should have form diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymRHS.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymRHS.stderr index 6b921a1130..b16f3ffb08 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymRHS.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymRHS.stderr @@ -1,4 +1,4 @@ -WildcardInTypeSynonymRHS.hs:4:18: error: +WildcardInTypeSynonymRHS.hs:4:18: error: [GHC-65507] Wildcard ‘_’ not allowed in the declaration for type synonym ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.stderr index 827356a7ae..a9804d8dcb 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.stderr @@ -1,5 +1,5 @@ -WildcardInstantiations.hs:5:14: error: +WildcardInstantiations.hs:5:14: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: (Show a, Enum a) => a -> String @@ -7,7 +7,7 @@ WildcardInstantiations.hs:5:14: error: To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: (Show _a, _) => _a -> _ -WildcardInstantiations.hs:5:18: error: +WildcardInstantiations.hs:5:18: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘Enum a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: (Show a, Enum a) => a -> String @@ -15,13 +15,13 @@ WildcardInstantiations.hs:5:18: error: To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: (Show _a, _) => _a -> _ -WildcardInstantiations.hs:5:30: error: +WildcardInstantiations.hs:5:30: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘String’ To use the inferred type, enable PartialTypeSignatures • In the type ‘_a -> _’ In the type signature: foo :: (Show _a, _) => _a -> _ -WildcardInstantiations.hs:8:8: error: +WildcardInstantiations.hs:8:8: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘t’ Where: ‘t’ is a rigid type variable bound by the inferred type of bar :: t -> (t -> w) -> w @@ -30,7 +30,7 @@ WildcardInstantiations.hs:8:8: error: • In the type ‘_ -> _ -> _’ In the type signature: bar :: _ -> _ -> _ -WildcardInstantiations.hs:8:13: error: +WildcardInstantiations.hs:8:13: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘t -> w’ Where: ‘t’, ‘w’ are rigid type variables bound by the inferred type of bar :: t -> (t -> w) -> w @@ -39,7 +39,7 @@ WildcardInstantiations.hs:8:13: error: • In the type ‘_ -> _ -> _’ In the type signature: bar :: _ -> _ -> _ -WildcardInstantiations.hs:8:18: error: +WildcardInstantiations.hs:8:18: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: t -> (t -> w) -> w diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.stderr index 726b43898e..cc577873fd 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.stderr @@ -1,5 +1,5 @@ -WildcardsInPatternAndExprSig.hs:4:18: error: +WildcardsInPatternAndExprSig.hs:4:18: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Maybe [w] -> w -> [w] @@ -12,7 +12,7 @@ WildcardsInPatternAndExprSig.hs:4:18: error: bar :: Maybe [w] -> w -> [w] (bound at WildcardsInPatternAndExprSig.hs:4:1) -WildcardsInPatternAndExprSig.hs:4:25: error: +WildcardsInPatternAndExprSig.hs:4:25: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘[w]’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Maybe [w] -> w -> [w] @@ -25,7 +25,7 @@ WildcardsInPatternAndExprSig.hs:4:25: error: bar :: Maybe [w] -> w -> [w] (bound at WildcardsInPatternAndExprSig.hs:4:1) -WildcardsInPatternAndExprSig.hs:4:38: error: +WildcardsInPatternAndExprSig.hs:4:38: error: [GHC-88464] • Found type wildcard ‘_b’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Maybe [w] -> w -> [w] @@ -40,7 +40,7 @@ WildcardsInPatternAndExprSig.hs:4:38: error: bar :: Maybe [w] -> w -> [w] (bound at WildcardsInPatternAndExprSig.hs:4:1) -WildcardsInPatternAndExprSig.hs:4:49: error: +WildcardsInPatternAndExprSig.hs:4:49: error: [GHC-88464] • Found type wildcard ‘_c’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Maybe [w] -> w -> [w] @@ -56,7 +56,7 @@ WildcardsInPatternAndExprSig.hs:4:49: error: bar :: Maybe [w] -> w -> [w] (bound at WildcardsInPatternAndExprSig.hs:4:1) -WildcardsInPatternAndExprSig.hs:4:66: error: +WildcardsInPatternAndExprSig.hs:4:66: error: [GHC-88464] • Found type wildcard ‘_d’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Maybe [w] -> w -> [w] diff --git a/testsuite/tests/partial-sigs/should_run/T15415.stderr b/testsuite/tests/partial-sigs/should_run/T15415.stderr index 1070a07ca8..245bb02f39 100644 --- a/testsuite/tests/partial-sigs/should_run/T15415.stderr +++ b/testsuite/tests/partial-sigs/should_run/T15415.stderr @@ -1,5 +1,5 @@ -<interactive>:1:7: error: +<interactive>:1:7: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w0 :: k0’ Where: ‘k0’ is an ambiguous type variable ‘w0’ is an ambiguous type variable @@ -7,34 +7,34 @@ • In the first argument of ‘Proxy’, namely ‘_’ In the type ‘Proxy _’ -<interactive>:1:17: error: +<interactive>:1:17: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘* -> *’ To use the inferred type, enable PartialTypeSignatures • In the kind ‘_’ In the first argument of ‘Proxy’, namely ‘(Maybe :: _)’ In the type ‘Proxy (Maybe :: _)’ -<interactive>:1:11: error: +<interactive>:1:11: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w0’ Where: ‘w0’ is an ambiguous type variable To use the inferred type, enable PartialTypeSignatures • In the first argument of ‘Dependent’, namely ‘_’ In the type ‘Dependent _’ -<interactive>:1:7: warning: [-Wpartial-type-signatures (in -Wdefault)] +<interactive>:1:7: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w0 :: k0’ Where: ‘k0’ is an ambiguous type variable ‘w0’ is an ambiguous type variable • In the first argument of ‘Proxy’, namely ‘_’ In the type ‘Proxy _’ -<interactive>:1:17: warning: [-Wpartial-type-signatures (in -Wdefault)] +<interactive>:1:17: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘* -> *’ • In the kind ‘_’ In the first argument of ‘Proxy’, namely ‘(Maybe :: _)’ In the type ‘Proxy (Maybe :: _)’ -<interactive>:1:11: warning: [-Wpartial-type-signatures (in -Wdefault)] +<interactive>:1:11: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w0’ Where: ‘w0’ is an ambiguous type variable • In the first argument of ‘Dependent’, namely ‘_’ diff --git a/testsuite/tests/patsyn/should_compile/T11213.stderr b/testsuite/tests/patsyn/should_compile/T11213.stderr index 8d65044ec6..6ceac76280 100644 --- a/testsuite/tests/patsyn/should_compile/T11213.stderr +++ b/testsuite/tests/patsyn/should_compile/T11213.stderr @@ -1,50 +1,50 @@ -T11213.hs:19:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:19:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern P :: Bool -T11213.hs:20:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:20:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pe :: () => forall {a}. a -> Ex -T11213.hs:21:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:21:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pu :: forall {p}. p -> p -T11213.hs:22:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:22:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pue :: forall {a}. () => forall {a1}. a -> a1 -> (a, Ex) -T11213.hs:23:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:23:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pur :: forall {a}. (Eq a, Num a) => a -> [a] -T11213.hs:24:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:24:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Purp :: forall {a1} {a2}. (Eq a1, Num a1) => Show a2 => a1 -> a2 -> ([a1], UnivProv a2) -T11213.hs:25:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:25:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pure :: forall {a}. (Eq a, Num a) => forall {a1}. a -> a1 -> ([a], Ex) -T11213.hs:26:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:26:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Purep :: forall {a}. (Eq a, Num a) => forall {a1}. Show a1 => a -> a1 -> ([a], ExProv) -T11213.hs:27:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:27:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pep :: () => forall {a}. Show a => a -> ExProv -T11213.hs:28:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:28:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pup :: forall {a}. () => Show a => a -> UnivProv a -T11213.hs:29:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:29:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Puep :: forall {b}. () => diff --git a/testsuite/tests/patsyn/should_compile/T11283.stderr b/testsuite/tests/patsyn/should_compile/T11283.stderr index 5339bd699a..c4a555f103 100644 --- a/testsuite/tests/patsyn/should_compile/T11283.stderr +++ b/testsuite/tests/patsyn/should_compile/T11283.stderr @@ -1,5 +1,5 @@ -T11283.hs:6:5: warning: [-Wmissing-fields (in -Wdefault)] +T11283.hs:6:5: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘S’ not initialised: x :: Bool • In the expression: S {..} diff --git a/testsuite/tests/patsyn/should_compile/T11959.stderr b/testsuite/tests/patsyn/should_compile/T11959.stderr index 4645f33641..d792e3c828 100644 --- a/testsuite/tests/patsyn/should_compile/T11959.stderr +++ b/testsuite/tests/patsyn/should_compile/T11959.stderr @@ -1,3 +1,3 @@ -T11959Lib.hs:2:35: warning: [-Wduplicate-exports (in -Wdefault)] +T11959Lib.hs:2:35: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘:>’ is exported by ‘pattern (:>)’ and ‘Vec2(Nil, (:>))’ diff --git a/testsuite/tests/patsyn/should_compile/T12484.stderr b/testsuite/tests/patsyn/should_compile/T12484.stderr index 6e73612518..5635e83081 100644 --- a/testsuite/tests/patsyn/should_compile/T12484.stderr +++ b/testsuite/tests/patsyn/should_compile/T12484.stderr @@ -1,4 +1,4 @@ -T12484.hs:6:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T12484.hs:6:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern RP :: forall {a}. a -> (a, Bool) diff --git a/testsuite/tests/patsyn/should_compile/T13441b.stderr b/testsuite/tests/patsyn/should_compile/T13441b.stderr index 4469086c82..d8a107809d 100644 --- a/testsuite/tests/patsyn/should_compile/T13441b.stderr +++ b/testsuite/tests/patsyn/should_compile/T13441b.stderr @@ -1,8 +1,9 @@ -T13441b.hs:12:19: error: +T13441b.hs:12:19: error: [GHC-25897] • Couldn't match expected type ‘[a0]’ with actual type ‘x’ ‘x’ is a rigid type variable bound by - the signature for pattern synonym ‘P’ at T13441b.hs:12:1-19 + the signature for pattern synonym ‘P’ + at T13441b.hs:12:1-19 • In the first argument of ‘MkS’, namely ‘x’ In the expression: MkS x In an equation for ‘P’: P x = MkS x diff --git a/testsuite/tests/patsyn/should_fail/T10426.stderr b/testsuite/tests/patsyn/should_fail/T10426.stderr index 263f927679..e7f535ec31 100644 --- a/testsuite/tests/patsyn/should_fail/T10426.stderr +++ b/testsuite/tests/patsyn/should_fail/T10426.stderr @@ -1,4 +1,4 @@ -T10426.hs:3:9: error: +T10426.hs:3:9: error: [GHC-13248] pattern synonym 'where' clause cannot be empty In the pattern synonym declaration for: Id diff --git a/testsuite/tests/patsyn/should_fail/T10873.stderr b/testsuite/tests/patsyn/should_fail/T10873.stderr index af151bbde7..45e0e01d4e 100644 --- a/testsuite/tests/patsyn/should_fail/T10873.stderr +++ b/testsuite/tests/patsyn/should_fail/T10873.stderr @@ -1,5 +1,5 @@ -T10873.hs:6:24: error: +T10873.hs:6:24: error: [GHC-39999] • No instance for ‘Show a’ arising from the "provided" constraints claimed by the signature of ‘Pat1’ @@ -8,7 +8,7 @@ T10873.hs:6:24: error: does not provide the constraint (Show a) • In the declaration for pattern synonym ‘Pat1’ -T10873.hs:10:23: error: +T10873.hs:10:23: error: [GHC-39999] • Could not deduce ‘Show a’ arising from the "provided" constraints claimed by the signature of ‘Pat2’ diff --git a/testsuite/tests/patsyn/should_fail/T11010.stderr b/testsuite/tests/patsyn/should_fail/T11010.stderr index af081b6a36..e1da70f774 100644 --- a/testsuite/tests/patsyn/should_fail/T11010.stderr +++ b/testsuite/tests/patsyn/should_fail/T11010.stderr @@ -1,5 +1,5 @@ -T11010.hs:9:34: error: +T11010.hs:9:34: error: [GHC-25897] • Couldn't match type ‘a1’ with ‘Int’ Expected: a -> b Actual: a1 -> b diff --git a/testsuite/tests/patsyn/should_fail/T11039.stderr b/testsuite/tests/patsyn/should_fail/T11039.stderr index aa20358e10..77527a147e 100644 --- a/testsuite/tests/patsyn/should_fail/T11039.stderr +++ b/testsuite/tests/patsyn/should_fail/T11039.stderr @@ -1,5 +1,5 @@ -T11039.hs:8:15: error: +T11039.hs:8:15: error: [GHC-25897] • Couldn't match type ‘f’ with ‘A’ Expected: f a Actual: A a diff --git a/testsuite/tests/patsyn/should_fail/T11053.stderr b/testsuite/tests/patsyn/should_fail/T11053.stderr index 7aaf7ff26c..89983c85bd 100644 --- a/testsuite/tests/patsyn/should_fail/T11053.stderr +++ b/testsuite/tests/patsyn/should_fail/T11053.stderr @@ -1,19 +1,19 @@ -T11053.hs:7:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11053.hs:7:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern T :: Bool -T11053.hs:9:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11053.hs:9:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern J :: forall {a}. a -> Maybe a -T11053.hs:11:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11053.hs:11:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern J1 :: forall {a}. a -> Maybe a -T11053.hs:13:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11053.hs:13:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern J2 :: forall {a}. a -> Maybe a -T11053.hs:15:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11053.hs:15:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern J3 :: forall {a}. a -> Maybe a diff --git a/testsuite/tests/patsyn/should_fail/T11265.stderr b/testsuite/tests/patsyn/should_fail/T11265.stderr index 7161c272b1..75d5a2be77 100644 --- a/testsuite/tests/patsyn/should_fail/T11265.stderr +++ b/testsuite/tests/patsyn/should_fail/T11265.stderr @@ -1,5 +1,5 @@ -T11265.hs:6:12: error: +T11265.hs:6:12: error: [GHC-88634] • Pattern synonym ‘A’ cannot be used here (pattern synonyms cannot be promoted) • In the first argument of ‘F’, namely ‘A’ diff --git a/testsuite/tests/patsyn/should_fail/T11667.stderr b/testsuite/tests/patsyn/should_fail/T11667.stderr index d10c1594ce..e783d90e88 100644 --- a/testsuite/tests/patsyn/should_fail/T11667.stderr +++ b/testsuite/tests/patsyn/should_fail/T11667.stderr @@ -1,5 +1,5 @@ -T11667.hs:12:22: error: +T11667.hs:12:22: error: [GHC-39999] • Could not deduce ‘Num a’ arising from the literal ‘42’ from the context: Eq a bound by the signature for pattern synonym ‘Pat1’ @@ -11,7 +11,7 @@ T11667.hs:12:22: error: In the pattern: Just 42 In the declaration for pattern synonym ‘Pat1’ -T11667.hs:18:28: error: +T11667.hs:18:28: error: [GHC-25897] • Couldn't match type ‘b’ with ‘Bool’ arising from the "provided" constraints claimed by the signature of ‘Pat2’ @@ -21,7 +21,7 @@ T11667.hs:18:28: error: • In the declaration for pattern synonym ‘Pat2’ • Relevant bindings include y :: b (bound at T11667.hs:18:21) -T11667.hs:24:24: error: +T11667.hs:24:24: error: [GHC-39999] • No instance for ‘Show a’ arising from the "provided" constraints claimed by the signature of ‘Pat3’ @@ -30,7 +30,7 @@ T11667.hs:24:24: error: does not provide the constraint (Show a) • In the declaration for pattern synonym ‘Pat3’ -T11667.hs:31:16: error: +T11667.hs:31:16: error: [GHC-39999] • Could not deduce ‘Num a’ arising from a use of ‘MkS’ from the context: (Eq a, Show a) bound by the signature for pattern synonym ‘Pat4’ diff --git a/testsuite/tests/patsyn/should_fail/T13470.stderr b/testsuite/tests/patsyn/should_fail/T13470.stderr index 87bd4884dc..5f3c76cc42 100644 --- a/testsuite/tests/patsyn/should_fail/T13470.stderr +++ b/testsuite/tests/patsyn/should_fail/T13470.stderr @@ -1,8 +1,8 @@ -T13470.hs:7:21: error: Not in scope: ‘not’ +T13470.hs:7:21: error: [GHC-76037] Not in scope: ‘not’ -T13470.hs:11:11: error: Not in scope: ‘nan’ +T13470.hs:11:11: error: [GHC-76037] Not in scope: ‘nan’ -T13470.hs:16:12: error: +T13470.hs:16:12: error: [GHC-76037] Not in scope: ‘x12345’ Suggested fix: Perhaps use ‘x123456’ (line 16) diff --git a/testsuite/tests/patsyn/should_fail/T15289.stderr b/testsuite/tests/patsyn/should_fail/T15289.stderr index 64cc153ff8..7c40deaf40 100644 --- a/testsuite/tests/patsyn/should_fail/T15289.stderr +++ b/testsuite/tests/patsyn/should_fail/T15289.stderr @@ -1,5 +1,5 @@ -T15289.hs:5:24: error: +T15289.hs:5:24: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ diff --git a/testsuite/tests/patsyn/should_fail/T15685.stderr b/testsuite/tests/patsyn/should_fail/T15685.stderr index 281e976549..fa3d12a549 100644 --- a/testsuite/tests/patsyn/should_fail/T15685.stderr +++ b/testsuite/tests/patsyn/should_fail/T15685.stderr @@ -1,5 +1,5 @@ -T15685.hs:13:24: error: +T15685.hs:13:24: error: [GHC-25897] • Could not deduce ‘k ~ [k0]’ from the context: as ~ (a : as1) bound by a pattern with constructor: diff --git a/testsuite/tests/patsyn/should_fail/T15692.stderr b/testsuite/tests/patsyn/should_fail/T15692.stderr index 42de53beec..d2563f0992 100644 --- a/testsuite/tests/patsyn/should_fail/T15692.stderr +++ b/testsuite/tests/patsyn/should_fail/T15692.stderr @@ -1,11 +1,11 @@ -T15692.hs:9:18: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15692.hs:9:18: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘F (f x)’ with actual type ‘Bool’ • In the pattern: False In the pattern: FS False In the declaration for pattern synonym ‘FS'’ -T15692.hs:9:18: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15692.hs:9:18: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘F (f0 x)’ with actual type ‘Bool’ • In the first argument of ‘FS’, namely ‘False’ In the expression: FS False diff --git a/testsuite/tests/patsyn/should_fail/T15694.stderr b/testsuite/tests/patsyn/should_fail/T15694.stderr index e3827b28c1..b6d88aee7d 100644 --- a/testsuite/tests/patsyn/should_fail/T15694.stderr +++ b/testsuite/tests/patsyn/should_fail/T15694.stderr @@ -1,5 +1,5 @@ -T15694.hs:23:35: error: +T15694.hs:23:35: error: [GHC-25897] • Expected kind ‘k1 -> k0’, but ‘f a1’ has kind ‘ks’ ‘ks’ is a rigid type variable bound by the type signature for ‘ASSO’ diff --git a/testsuite/tests/patsyn/should_fail/T15695.stderr b/testsuite/tests/patsyn/should_fail/T15695.stderr index 05b4de5225..6753d8bb9c 100644 --- a/testsuite/tests/patsyn/should_fail/T15695.stderr +++ b/testsuite/tests/patsyn/should_fail/T15695.stderr @@ -1,5 +1,5 @@ -T15695.hs:40:14: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15695.hs:40:14: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Could not deduce ‘a2 ~ NA 'VO’ from the context: ((* -> * -> *) ~ (k -> k1 -> *), Either ~~ f, ctx ~~ (a2 ':&: (a3 ':&: 'E)), f a2 ~~ f1, f1 a3 ~~ a4) @@ -33,7 +33,7 @@ T15695.hs:40:14: warning: [-Wdeferred-type-errors (in -Wdefault)] from' :: ApplyT (* -> * -> *) Either ctx -> NS (NP NA) '[ '[ 'VO]] (bound at T15695.hs:40:1) -T15695.hs:41:33: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15695.hs:41:33: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type: a0 : as0 with: '[] Expected: NS (NP NA) '[] diff --git a/testsuite/tests/patsyn/should_fail/T16900.stderr b/testsuite/tests/patsyn/should_fail/T16900.stderr index 2838c7f867..2956905e0e 100644 --- a/testsuite/tests/patsyn/should_fail/T16900.stderr +++ b/testsuite/tests/patsyn/should_fail/T16900.stderr @@ -1,5 +1,5 @@ -T16900.hs:4:1: error: +T16900.hs:4:1: error: [GHC-72489] Recursive pattern synonym definition with following bindings: P1 (defined at T16900.hs:4:1-15) P2 (defined at T16900.hs:5:1-15) diff --git a/testsuite/tests/patsyn/should_fail/T18856.stderr b/testsuite/tests/patsyn/should_fail/T18856.stderr index ceee029102..08a9e57c3d 100644 --- a/testsuite/tests/patsyn/should_fail/T18856.stderr +++ b/testsuite/tests/patsyn/should_fail/T18856.stderr @@ -1,12 +1,12 @@ -T18856.hs:6:19: error: +T18856.hs:6:19: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Int’ • In the declaration for pattern synonym ‘P’ | 6 | pattern P p q <- (q, p, [(True,False)]) | ^ -T18856.hs:6:22: error: +T18856.hs:6:22: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Bool’ • In the declaration for pattern synonym ‘P’ | diff --git a/testsuite/tests/patsyn/should_fail/T9161-1.stderr b/testsuite/tests/patsyn/should_fail/T9161-1.stderr index 39faffdaa8..764dbb4521 100644 --- a/testsuite/tests/patsyn/should_fail/T9161-1.stderr +++ b/testsuite/tests/patsyn/should_fail/T9161-1.stderr @@ -1,5 +1,5 @@ -T9161-1.hs:8:14: error: +T9161-1.hs:8:14: error: [GHC-88634] • Pattern synonym ‘PATTERN’ cannot be used here (pattern synonyms cannot be promoted) • In the type signature: wrongLift :: PATTERN diff --git a/testsuite/tests/patsyn/should_fail/T9161-2.stderr b/testsuite/tests/patsyn/should_fail/T9161-2.stderr index 71f7cbe257..e2c7e12236 100644 --- a/testsuite/tests/patsyn/should_fail/T9161-2.stderr +++ b/testsuite/tests/patsyn/should_fail/T9161-2.stderr @@ -1,5 +1,5 @@ -T9161-2.hs:10:20: error: +T9161-2.hs:10:20: error: [GHC-88634] • Pattern synonym ‘PATTERN’ cannot be used here (pattern synonyms cannot be promoted) • In the first argument of ‘Proxy’, namely ‘PATTERN’ diff --git a/testsuite/tests/patsyn/should_fail/UnliftedPSBind.stderr b/testsuite/tests/patsyn/should_fail/UnliftedPSBind.stderr index 7bb123095f..794c051a8a 100644 --- a/testsuite/tests/patsyn/should_fail/UnliftedPSBind.stderr +++ b/testsuite/tests/patsyn/should_fail/UnliftedPSBind.stderr @@ -1,5 +1,5 @@ -UnliftedPSBind.hs:12:9: error: [-Wunbanged-strict-patterns (in -Wextra), -Werror=unbanged-strict-patterns] +UnliftedPSBind.hs:12:9: error: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra), Werror=unbanged-strict-patterns] Pattern bindings containing unlifted types should use an outermost bang pattern: P x = P 4# diff --git a/testsuite/tests/patsyn/should_fail/export-class.stderr b/testsuite/tests/patsyn/should_fail/export-class.stderr index 3f8031fb70..1e0dc1ba01 100644 --- a/testsuite/tests/patsyn/should_fail/export-class.stderr +++ b/testsuite/tests/patsyn/should_fail/export-class.stderr @@ -1,5 +1,5 @@ -export-class.hs:3:13: error: +export-class.hs:3:13: error: [GHC-66775] • Pattern synonyms can be bundled only with datatypes. • In the pattern synonym: P In the export: MyClass(.., P) diff --git a/testsuite/tests/patsyn/should_fail/export-ps-rec-sel.stderr b/testsuite/tests/patsyn/should_fail/export-ps-rec-sel.stderr index 4b3bdd0ea1..cd5a4afae8 100644 --- a/testsuite/tests/patsyn/should_fail/export-ps-rec-sel.stderr +++ b/testsuite/tests/patsyn/should_fail/export-ps-rec-sel.stderr @@ -1,13 +1,12 @@ -export-ps-rec-sel.hs:2:13: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘R’ with actual type of ‘Q’ - In the pattern synonym record selector: x - In the export: R(P, x) - -export-ps-rec-sel.hs:2:13: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘R’ with actual type of ‘Q’ - In the pattern synonym: P - In the export: R(P, x) +export-ps-rec-sel.hs:2:13: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘R’ with actual type of ‘Q’ + • In the pattern synonym record selector: x + In the export: R(P, x) +export-ps-rec-sel.hs:2:13: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘R’ with actual type of ‘Q’ + • In the pattern synonym: P + In the export: R(P, x) diff --git a/testsuite/tests/patsyn/should_fail/export-syntax.stderr b/testsuite/tests/patsyn/should_fail/export-syntax.stderr index 35858bce0d..92a538ea08 100644 --- a/testsuite/tests/patsyn/should_fail/export-syntax.stderr +++ b/testsuite/tests/patsyn/should_fail/export-syntax.stderr @@ -1,4 +1,4 @@ -export-syntax.hs:1:12: error: +export-syntax.hs:1:12: error: [GHC-89515] Illegal export form Suggested fix: Perhaps you intended to use PatternSynonyms diff --git a/testsuite/tests/patsyn/should_fail/export-type-synonym.stderr b/testsuite/tests/patsyn/should_fail/export-type-synonym.stderr index d136d6e1c3..53e50b62d0 100644 --- a/testsuite/tests/patsyn/should_fail/export-type-synonym.stderr +++ b/testsuite/tests/patsyn/should_fail/export-type-synonym.stderr @@ -1,6 +1,6 @@ -export-type-synonym.hs:3:14: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘A’ with actual type of ‘C’ - In the pattern synonym: P - In the export: A(P) +export-type-synonym.hs:3:14: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘A’ with actual type of ‘C’ + • In the pattern synonym: P + In the export: A(P) diff --git a/testsuite/tests/patsyn/should_fail/export-type.stderr b/testsuite/tests/patsyn/should_fail/export-type.stderr index 9ad622eefb..33f0889ecf 100644 --- a/testsuite/tests/patsyn/should_fail/export-type.stderr +++ b/testsuite/tests/patsyn/should_fail/export-type.stderr @@ -1,18 +1,18 @@ -export-type.hs:3:16: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘A’ with actual type of ‘B’ - In the pattern synonym: MyB - In the export: A(.., MyB) +export-type.hs:3:16: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘A’ with actual type of ‘B’ + • In the pattern synonym: MyB + In the export: A(.., MyB) -export-type.hs:3:27: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘B’ with actual type of ‘A’ - In the pattern synonym: MyA - In the export: B(MyA) +export-type.hs:3:27: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘B’ with actual type of ‘A’ + • In the pattern synonym: MyA + In the export: B(MyA) -export-type.hs:3:35: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘C a’ with actual type of ‘B’ - In the pattern synonym: MyC - In the export: C(MyC) +export-type.hs:3:35: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘C a’ with actual type of ‘B’ + • In the pattern synonym: MyC + In the export: C(MyC) diff --git a/testsuite/tests/patsyn/should_fail/import-syntax.stderr b/testsuite/tests/patsyn/should_fail/import-syntax.stderr index 5ada7e94ae..8d85d40ccb 100644 --- a/testsuite/tests/patsyn/should_fail/import-syntax.stderr +++ b/testsuite/tests/patsyn/should_fail/import-syntax.stderr @@ -1,3 +1,4 @@ -import-syntax.hs:4:22: error: - Illegal import form, this syntax can only be used to bundle pattern synonyms with types in module exports. +import-syntax.hs:4:22: error: [GHC-81284] + Illegal import form, this syntax can only be used to bundle + pattern synonyms with types in module exports. diff --git a/testsuite/tests/patsyn/should_fail/local.stderr b/testsuite/tests/patsyn/should_fail/local.stderr index c570809640..0c38b18114 100644 --- a/testsuite/tests/patsyn/should_fail/local.stderr +++ b/testsuite/tests/patsyn/should_fail/local.stderr @@ -1,4 +1,4 @@ -local.hs:7:5: +local.hs:7:5: error: [GHC-82077] Illegal pattern synonym declaration for ‘P’ Pattern synonym declarations are only valid at top level diff --git a/testsuite/tests/patsyn/should_fail/mixed-pat-syn-record-sels.stderr b/testsuite/tests/patsyn/should_fail/mixed-pat-syn-record-sels.stderr index 27dedd03b5..934a55a87e 100644 --- a/testsuite/tests/patsyn/should_fail/mixed-pat-syn-record-sels.stderr +++ b/testsuite/tests/patsyn/should_fail/mixed-pat-syn-record-sels.stderr @@ -1,5 +1,5 @@ -mixed-pat-syn-record-sels.hs:9:9: error: - No constructor has all these fields: ‘a’, ‘b’ - In the expression: x {a = True, b = False} - In an equation for ‘foo’: foo x = x {a = True, b = False} +mixed-pat-syn-record-sels.hs:9:9: error: [GHC-14392] + • No constructor has all these fields: ‘a’, ‘b’ + • In the expression: x {a = True, b = False} + In an equation for ‘foo’: foo x = x {a = True, b = False} diff --git a/testsuite/tests/patsyn/should_fail/mono.stderr b/testsuite/tests/patsyn/should_fail/mono.stderr index 264579f91b..1b6a02ab34 100644 --- a/testsuite/tests/patsyn/should_fail/mono.stderr +++ b/testsuite/tests/patsyn/should_fail/mono.stderr @@ -1,12 +1,12 @@ -mono.hs:7:4: error: +mono.hs:7:4: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: [Bool] Actual: [Int] • In the pattern: Single x In an equation for ‘f’: f (Single x) = x -mono.hs:7:16: error: +mono.hs:7:16: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Int’ • In the expression: x In an equation for ‘f’: f (Single x) = x diff --git a/testsuite/tests/patsyn/should_fail/records-check-sels.stderr b/testsuite/tests/patsyn/should_fail/records-check-sels.stderr index 22601c6501..e78434a5c2 100644 --- a/testsuite/tests/patsyn/should_fail/records-check-sels.stderr +++ b/testsuite/tests/patsyn/should_fail/records-check-sels.stderr @@ -1,3 +1,3 @@ -records-check-sels.hs:10:7: error: +records-check-sels.hs:10:7: error: [GHC-88464] Variable not in scope: a :: Maybe Bool -> t diff --git a/testsuite/tests/patsyn/should_fail/records-exquant.stderr b/testsuite/tests/patsyn/should_fail/records-exquant.stderr index 2f3a0f508b..12c321f8da 100644 --- a/testsuite/tests/patsyn/should_fail/records-exquant.stderr +++ b/testsuite/tests/patsyn/should_fail/records-exquant.stderr @@ -1,5 +1,5 @@ -records-exquant.hs:8:7: error: +records-exquant.hs:8:7: error: [GHC-55876] • Cannot use record selector ‘a’ as a function due to escaped type variables • In the expression: a (Showable True) In an equation for ‘qux’: qux = a (Showable True) diff --git a/testsuite/tests/patsyn/should_fail/records-mixing-fields.stderr b/testsuite/tests/patsyn/should_fail/records-mixing-fields.stderr index 866d1468cd..77901b9eee 100644 --- a/testsuite/tests/patsyn/should_fail/records-mixing-fields.stderr +++ b/testsuite/tests/patsyn/should_fail/records-mixing-fields.stderr @@ -1,12 +1,12 @@ -records-mixing-fields.hs:10:14: error: +records-mixing-fields.hs:10:14: error: [GHC-40887] • Cannot use a mixture of pattern synonym and record selectors Record selectors defined by ‘MyRec’: qux Pattern synonym selectors defined by ‘HisRec’: f1 • In the expression: a {f1 = 1, qux = "two"} In an equation for ‘updater1’: updater1 a = a {f1 = 1, qux = "two"} -records-mixing-fields.hs:12:14: error: +records-mixing-fields.hs:12:14: error: [GHC-40887] • Cannot use a mixture of pattern synonym and record selectors Record selectors defined by ‘MyRec’: foo Pattern synonym selectors defined by ‘HisRec’: f1 diff --git a/testsuite/tests/patsyn/should_fail/records-no-uni-update.stderr b/testsuite/tests/patsyn/should_fail/records-no-uni-update.stderr index c7e60f1085..1f08e480d4 100644 --- a/testsuite/tests/patsyn/should_fail/records-no-uni-update.stderr +++ b/testsuite/tests/patsyn/should_fail/records-no-uni-update.stderr @@ -1,5 +1,5 @@ -records-no-uni-update.hs:7:7: error: +records-no-uni-update.hs:7:7: error: [GHC-16444] • non-bidirectional pattern synonym ‘Uni’ used in an expression • In a record update at field ‘a’ and with pattern synonym ‘Uni’. diff --git a/testsuite/tests/patsyn/should_fail/records-no-uni-update2.stderr b/testsuite/tests/patsyn/should_fail/records-no-uni-update2.stderr index b30a236331..ce4e9cc195 100644 --- a/testsuite/tests/patsyn/should_fail/records-no-uni-update2.stderr +++ b/testsuite/tests/patsyn/should_fail/records-no-uni-update2.stderr @@ -1,5 +1,5 @@ -records-no-uni-update2.hs:11:7: error: - non-bidirectional pattern synonym ‘Uni’ used in an expression - In the expression: Uni {a = "b"} - In an equation for ‘foo’: foo = Uni {a = "b"} +records-no-uni-update2.hs:11:7: error: [GHC-16444] + • non-bidirectional pattern synonym ‘Uni’ used in an expression + • In the expression: Uni {a = "b"} + In an equation for ‘foo’: foo = Uni {a = "b"} diff --git a/testsuite/tests/patsyn/should_fail/records-nofieldselectors.stderr b/testsuite/tests/patsyn/should_fail/records-nofieldselectors.stderr index 5b24406cbf..12765bddf7 100644 --- a/testsuite/tests/patsyn/should_fail/records-nofieldselectors.stderr +++ b/testsuite/tests/patsyn/should_fail/records-nofieldselectors.stderr @@ -1,5 +1,5 @@ -records-nofieldselectors.hs:9:12: error: +records-nofieldselectors.hs:9:12: error: [GHC-88464] Variable not in scope: x :: [a0] -> Int Suggested fix: Notice that ‘x’ is a field selector diff --git a/testsuite/tests/patsyn/should_fail/unboxed-bind.stderr b/testsuite/tests/patsyn/should_fail/unboxed-bind.stderr index e0f4606909..745c49f24d 100644 --- a/testsuite/tests/patsyn/should_fail/unboxed-bind.stderr +++ b/testsuite/tests/patsyn/should_fail/unboxed-bind.stderr @@ -1,5 +1,5 @@ -unboxed-bind.hs:11:11: error: [-Wunbanged-strict-patterns (in -Wextra), -Werror=unbanged-strict-patterns] +unboxed-bind.hs:11:11: error: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra), Werror=unbanged-strict-patterns] Pattern bindings containing unlifted types should use an outermost bang pattern: P arg = x diff --git a/testsuite/tests/patsyn/should_fail/unboxed-wrapper-naked.stderr b/testsuite/tests/patsyn/should_fail/unboxed-wrapper-naked.stderr index e8d89500a8..bb41ac1299 100644 --- a/testsuite/tests/patsyn/should_fail/unboxed-wrapper-naked.stderr +++ b/testsuite/tests/patsyn/should_fail/unboxed-wrapper-naked.stderr @@ -1,3 +1,3 @@ -unboxed-wrapper-naked.hs:8:1: +unboxed-wrapper-naked.hs:8:1: error: [GHC-48099] Top-level bindings for unlifted types aren't allowed: x = P1 diff --git a/testsuite/tests/perf/compiler/T10547.stderr b/testsuite/tests/perf/compiler/T10547.stderr index bd07bc120e..be6d08c7d0 100644 --- a/testsuite/tests/perf/compiler/T10547.stderr +++ b/testsuite/tests/perf/compiler/T10547.stderr @@ -1,5 +1,5 @@ -T10547.hs:35:25: error: +T10547.hs:35:25: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Char’ Expected: (T12, Char) Actual: (S12, Bool) diff --git a/testsuite/tests/perf/compiler/T13035.stderr b/testsuite/tests/perf/compiler/T13035.stderr index 50ee3a64aa..1047391d9d 100644 --- a/testsuite/tests/perf/compiler/T13035.stderr +++ b/testsuite/tests/perf/compiler/T13035.stderr @@ -1,5 +1,5 @@ -T13035.hs:144:28: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13035.hs:144:28: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘'[ 'Author] :: [Fields]’ • In the second argument of ‘MyRec’, namely ‘_’ In the type ‘MyRec RecipeFormatter _’ diff --git a/testsuite/tests/perf/compiler/T16875.stderr b/testsuite/tests/perf/compiler/T16875.stderr index 95c54362c3..0518194623 100644 --- a/testsuite/tests/perf/compiler/T16875.stderr +++ b/testsuite/tests/perf/compiler/T16875.stderr @@ -1,5 +1,5 @@ -T16875.hs:13:5: warning: [-Wtyped-holes (in -Wdefault)] +T16875.hs:13:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: p Where: ‘p’ is a rigid type variable bound by the inferred type of a :: p diff --git a/testsuite/tests/perf/compiler/T9872a.stderr b/testsuite/tests/perf/compiler/T9872a.stderr index 636f6b22d8..b61dca2728 100644 --- a/testsuite/tests/perf/compiler/T9872a.stderr +++ b/testsuite/tests/perf/compiler/T9872a.stderr @@ -1,5 +1,5 @@ -T9872a.hs:17:8: error: +T9872a.hs:17:8: error: [GHC-39999] • No instance for ‘Show (Proxy (Cons diff --git a/testsuite/tests/perf/compiler/T9872b.stderr b/testsuite/tests/perf/compiler/T9872b.stderr index 308809568a..ec6549917e 100644 --- a/testsuite/tests/perf/compiler/T9872b.stderr +++ b/testsuite/tests/perf/compiler/T9872b.stderr @@ -1,5 +1,5 @@ -T9872b.hs:19:8: error: +T9872b.hs:19:8: error: [GHC-39999] • No instance for ‘Show (Proxy '[ '[ 'Cube 'G 'B 'W 'R 'B 'G, 'Cube 'W 'G 'B 'W 'R 'R, diff --git a/testsuite/tests/perf/compiler/T9872b_defer.stderr b/testsuite/tests/perf/compiler/T9872b_defer.stderr index 2dd3ba6dfd..e9dda29c31 100644 --- a/testsuite/tests/perf/compiler/T9872b_defer.stderr +++ b/testsuite/tests/perf/compiler/T9872b_defer.stderr @@ -1,5 +1,5 @@ -T9872b_defer.hs:19:8: warning: [-Wdeferred-type-errors (in -Wdefault)] +T9872b_defer.hs:19:8: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • No instance for ‘Show (Proxy '[ '[ 'Cube 'G 'B 'W 'R 'B 'G, 'Cube 'W 'G 'B 'W 'R 'R, diff --git a/testsuite/tests/perf/compiler/T9872c.stderr b/testsuite/tests/perf/compiler/T9872c.stderr index da4f655794..be91bcaa82 100644 --- a/testsuite/tests/perf/compiler/T9872c.stderr +++ b/testsuite/tests/perf/compiler/T9872c.stderr @@ -1,5 +1,5 @@ -T9872c.hs:18:8: error: +T9872c.hs:18:8: error: [GHC-39999] • No instance for ‘Show (Proxy (Cons diff --git a/testsuite/tests/perf/compiler/hard_hole_fits.stderr b/testsuite/tests/perf/compiler/hard_hole_fits.stderr index a81e8362c3..9565092d29 100644 --- a/testsuite/tests/perf/compiler/hard_hole_fits.stderr +++ b/testsuite/tests/perf/compiler/hard_hole_fits.stderr @@ -1,5 +1,5 @@ -hard_hole_fits.hs:14:22: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:14:22: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsVar a b) = _ • Relevant bindings include @@ -18,7 +18,7 @@ hard_hole_fits.hs:14:22: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:15:32: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:15:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsUnboundVar xuv uv) = _ • Relevant bindings include @@ -37,7 +37,7 @@ hard_hole_fits.hs:15:32: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:16:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:16:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsOverLabel xol m_ip) = _ • Relevant bindings include @@ -56,7 +56,7 @@ hard_hole_fits.hs:16:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:17:27: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:17:27: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsIPVar xv hin) = _ • Relevant bindings include @@ -75,7 +75,7 @@ hard_hole_fits.hs:17:27: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:18:31: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:18:31: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsOverLit xole hol) = _ • Relevant bindings include @@ -94,7 +94,7 @@ hard_hole_fits.hs:18:31: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:19:25: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:19:25: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsLit xle hl) = _ • Relevant bindings include @@ -113,7 +113,7 @@ hard_hole_fits.hs:19:25: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:20:24: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:20:24: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsLam xl mg) = _ • Relevant bindings include @@ -132,7 +132,7 @@ hard_hole_fits.hs:20:24: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:21:40: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:21:40: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsLamCase xlc lc_variant mg) = _ @@ -153,7 +153,7 @@ hard_hole_fits.hs:21:40: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:22:28: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:22:28: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsApp xa gl gl') = _ • Relevant bindings include @@ -172,7 +172,7 @@ hard_hole_fits.hs:22:28: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:23:38: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:23:38: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsAppType xate gl at hwcb) = _ @@ -196,7 +196,7 @@ hard_hole_fits.hs:23:38: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:24:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:24:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (OpApp xoa gl gl' gl2) = _ • Relevant bindings include @@ -216,7 +216,7 @@ hard_hole_fits.hs:24:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:25:29: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:25:29: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (NegApp xna gl se) = _ • Relevant bindings include @@ -235,7 +235,7 @@ hard_hole_fits.hs:25:29: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:26:30: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:26:30: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsPar xp gl ab ac) = _ • Relevant bindings include @@ -257,7 +257,7 @@ hard_hole_fits.hs:26:30: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:27:32: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:27:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (SectionL xsl gl gl') = _ • Relevant bindings include @@ -276,7 +276,7 @@ hard_hole_fits.hs:27:32: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:28:32: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:28:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (SectionR xsr gl gl') = _ • Relevant bindings include @@ -295,7 +295,7 @@ hard_hole_fits.hs:28:32: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:29:38: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:29:38: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (ExplicitTuple xet gls box) = _ @@ -316,7 +316,7 @@ hard_hole_fits.hs:29:38: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:30:35: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:30:35: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (ExplicitSum xes n i gl) = _ • Relevant bindings include @@ -342,7 +342,7 @@ hard_hole_fits.hs:30:35: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:31:28: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:31:28: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsCase xc gl mg) = _ • Relevant bindings include @@ -362,7 +362,7 @@ hard_hole_fits.hs:31:28: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:32:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:32:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsIf xi m_se gl gl') = _ • Relevant bindings include @@ -382,7 +382,7 @@ hard_hole_fits.hs:32:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:33:30: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:33:30: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsMultiIf xmi gls) = _ • Relevant bindings include @@ -401,7 +401,7 @@ hard_hole_fits.hs:33:30: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:34:39: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:34:39: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsLet xl tkLet gl tkIn gl') = _ @@ -426,7 +426,7 @@ hard_hole_fits.hs:34:39: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:35:27: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:35:27: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsDo xd hsc gl) = _ • Relevant bindings include @@ -447,7 +447,7 @@ hard_hole_fits.hs:35:27: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:36:34: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:36:34: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (ExplicitList xel m_se) = _ • Relevant bindings include @@ -465,7 +465,7 @@ hard_hole_fits.hs:36:34: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:37:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:37:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (RecordCon xrc gl hrf) = _ • Relevant bindings include @@ -486,7 +486,7 @@ hard_hole_fits.hs:37:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:38:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:38:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (RecordUpd xru gl gls) = _ • Relevant bindings include @@ -508,7 +508,7 @@ hard_hole_fits.hs:38:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:39:40: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:39:40: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (ExprWithTySig xewts gl hwcb) = _ @@ -530,7 +530,7 @@ hard_hole_fits.hs:39:40: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:40:34: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:40:34: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (ArithSeq xas m_se asi) = _ • Relevant bindings include @@ -549,7 +549,7 @@ hard_hole_fits.hs:40:34: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:41:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:41:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsTypedBracket xb hb) = _ • Relevant bindings include @@ -567,7 +567,7 @@ hard_hole_fits.hs:41:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:42:35: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:42:35: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsUntypedBracket xb hb) = _ • Relevant bindings include @@ -585,7 +585,7 @@ hard_hole_fits.hs:42:35: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:43:32: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:43:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsTypedSplice xs hs) = _ • Relevant bindings include @@ -603,7 +603,7 @@ hard_hole_fits.hs:43:32: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:44:34: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:44:34: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsUntypedSplice xs hs) = _ • Relevant bindings include @@ -621,7 +621,7 @@ hard_hole_fits.hs:44:34: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:45:29: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:45:29: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsProc xp pat gl) = _ • Relevant bindings include @@ -641,7 +641,7 @@ hard_hole_fits.hs:45:29: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:46:27: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:46:27: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsStatic xs gl) = _ • Relevant bindings include @@ -659,11 +659,11 @@ hard_hole_fits.hs:46:27: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:47:1: warning: [-Woverlapping-patterns (in -Wdefault)] +hard_hole_fits.hs:47:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘testMe’: testMe (XExpr xe) = ... -hard_hole_fits.hs:47:21: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:47:21: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (XExpr xe) = _ • Relevant bindings include diff --git a/testsuite/tests/plugins/T19926.stderr b/testsuite/tests/plugins/T19926.stderr index e943a7ffba..e454ba4543 100644 --- a/testsuite/tests/plugins/T19926.stderr +++ b/testsuite/tests/plugins/T19926.stderr @@ -2,4 +2,5 @@ T19926.hs:3:17: warning: [-Wunsafe] ‘T19926’ has been inferred as unsafe! Reason: - <no location info>: warning: Use of plugins makes the module unsafe + <no location info>: warning: [GHC-01687] + Use of plugins makes the module unsafe diff --git a/testsuite/tests/plugins/T20803b.stderr b/testsuite/tests/plugins/T20803b.stderr index 3bb08f7756..1fdd7b5dd6 100644 --- a/testsuite/tests/plugins/T20803b.stderr +++ b/testsuite/tests/plugins/T20803b.stderr @@ -1,3 +1,4 @@ parsePlugin -<no location info>: A lambda requires at least one parameter +<no location info>: error: [GHC-71614] + A lambda requires at least one parameter diff --git a/testsuite/tests/plugins/test-defaulting-plugin-fail.stderr b/testsuite/tests/plugins/test-defaulting-plugin-fail.stderr index c9843437b4..7e5fa3478b 100644 --- a/testsuite/tests/plugins/test-defaulting-plugin-fail.stderr +++ b/testsuite/tests/plugins/test-defaulting-plugin-fail.stderr @@ -1,4 +1,5 @@ -test-defaulting-plugin-fail.hs:25:19: + +test-defaulting-plugin-fail.hs:25:19: [GHC-64725] Cannot satisfy: 5 <= a0 In the second argument of ‘(+)’, namely ‘e’ In the second argument of ‘($)’, namely ‘q + w + e’ diff --git a/testsuite/tests/plugins/test-defaulting-plugin.stderr b/testsuite/tests/plugins/test-defaulting-plugin.stderr index 5108d5c805..c50aaa1aa3 100644 --- a/testsuite/tests/plugins/test-defaulting-plugin.stderr +++ b/testsuite/tests/plugins/test-defaulting-plugin.stderr @@ -1,12 +1,12 @@ -test-defaulting-plugin.hs:28:11: warning: [-Wtype-defaults (in -Wall)] +test-defaulting-plugin.hs:28:11: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] Defaulting the type variable ‘a0’ to type ‘0’ in the following constraint KnownNat a0 arising from a use of ‘q’ In the first argument of ‘(+)’, namely ‘q’ In the second argument of ‘($)’, namely ‘q + w’ In a stmt of a 'do' block: print $ q + w -test-defaulting-plugin.hs:28:15: warning: [-Wtype-defaults (in -Wall)] +test-defaulting-plugin.hs:28:15: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] Defaulting the type variable ‘a0’ to type ‘2’ in the following constraints (KnownNat a0) arising from a use of ‘w’ at test-defaulting-plugin.hs:28:15 @@ -18,7 +18,7 @@ test-defaulting-plugin.hs:28:15: warning: [-Wtype-defaults (in -Wall)] In the second argument of ‘($)’, namely ‘q + w’ In a stmt of a 'do' block: print $ q + w -test-defaulting-plugin.hs:29:11: warning: [-Wtype-defaults (in -Wall)] +test-defaulting-plugin.hs:29:11: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] Defaulting the type variable ‘b0’ to type ‘0’ in the following constraint KnownNat b0 arising from a use of ‘mc’ In the second argument of ‘($)’, namely ‘mc Proxy Proxy’ @@ -27,7 +27,7 @@ test-defaulting-plugin.hs:29:11: warning: [-Wtype-defaults (in -Wall)] do print $ q + w print $ mc Proxy Proxy -test-defaulting-plugin.hs:29:11: warning: [-Wtype-defaults (in -Wall)] +test-defaulting-plugin.hs:29:11: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] Defaulting the type variable ‘a0’ to type ‘0’ in the following constraint KnownNat a0 arising from a use of ‘mc’ In the second argument of ‘($)’, namely ‘mc Proxy Proxy’ diff --git a/testsuite/tests/plugins/test-hole-plugin.stderr b/testsuite/tests/plugins/test-hole-plugin.stderr index 9e9b01b726..89230a57bd 100644 --- a/testsuite/tests/plugins/test-hole-plugin.stderr +++ b/testsuite/tests/plugins/test-hole-plugin.stderr @@ -1,5 +1,5 @@ -test-hole-plugin.hs:12:5: warning: [-Wtyped-holes (in -Wdefault)] +test-hole-plugin.hs:12:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _too_long :: [Int] -> Int Or perhaps ‘_too_long’ is mis-spelled, or not in scope • In an equation for ‘f’: f = _too_long @@ -8,7 +8,7 @@ test-hole-plugin.hs:12:5: warning: [-Wtyped-holes (in -Wdefault)] Valid hole fits include Error: Too many holes were checked, and the search aborted forthis hole. Try again with a higher limit. -test-hole-plugin.hs:13:5: warning: [-Wtyped-holes (in -Wdefault)] +test-hole-plugin.hs:13:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [Int] -> Int • In an equation for ‘j’: j = _ • Relevant bindings include @@ -22,7 +22,7 @@ test-hole-plugin.hs:13:5: warning: [-Wtyped-holes (in -Wdefault)] head :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a (Some hole fits suppressed; use -fmax-valid-hole-fits=N or -fno-max-valid-hole-fits) -test-hole-plugin.hs:14:5: warning: [-Wtyped-holes (in -Wdefault)] +test-hole-plugin.hs:14:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _sort_by_mod_desc :: [Int] -> Int Or perhaps ‘_sort_by_mod_desc’ is mis-spelled, or not in scope • In an equation for ‘i’: i = _sort_by_mod_desc @@ -37,7 +37,7 @@ test-hole-plugin.hs:14:5: warning: [-Wtyped-holes (in -Wdefault)] last :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a (Some hole fits suppressed; use -fmax-valid-hole-fits=N or -fno-max-valid-hole-fits) -test-hole-plugin.hs:15:5: warning: [-Wtyped-holes (in -Wdefault)] +test-hole-plugin.hs:15:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _only_Data_List :: [Int] -> Int Or perhaps ‘_only_Data_List’ is mis-spelled, or not in scope • In an equation for ‘g’: g = _only_Data_List @@ -47,7 +47,7 @@ test-hole-plugin.hs:15:5: warning: [-Wtyped-holes (in -Wdefault)] head :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a last :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a -test-hole-plugin.hs:16:5: warning: [-Wtyped-holes (in -Wdefault)] +test-hole-plugin.hs:16:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _only_Prelude :: [Int] -> Int Or perhaps ‘_only_Prelude’ is mis-spelled, or not in scope • In an equation for ‘h’: h = _only_Prelude diff --git a/testsuite/tests/pmcheck/complete_sigs/T13363a.stderr b/testsuite/tests/pmcheck/complete_sigs/T13363a.stderr index a91b02806a..17e1b5aa1e 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T13363a.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T13363a.stderr @@ -1,4 +1,4 @@ -T13363a.hs:16:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T13363a.hs:16:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘catchAll’: catchAll _ = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/T13363b.stderr b/testsuite/tests/pmcheck/complete_sigs/T13363b.stderr index 541c084be1..4a7c9c27fe 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T13363b.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T13363b.stderr @@ -1,4 +1,4 @@ -T13363b.hs:17:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T13363b.hs:17:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f _ = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/T13964.stderr b/testsuite/tests/pmcheck/complete_sigs/T13964.stderr index 4005321236..7999e74955 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T13964.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T13964.stderr @@ -1,5 +1,5 @@ -T13964.hs:18:1: warning: [-Wincomplete-patterns (in -Wextra)] +T13964.hs:18:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘catchAll’: - Patterns of type ‘Boolean’ not matched: T + Patterns of type ‘Boolean’ not matched: T diff --git a/testsuite/tests/pmcheck/complete_sigs/T13965.stderr b/testsuite/tests/pmcheck/complete_sigs/T13965.stderr index 78aaa9490a..85b8817f20 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T13965.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T13965.stderr @@ -1,4 +1,4 @@ -T13965.hs:19:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T13965.hs:19:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘catchAll’: catchAll F = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/T14059a.stderr b/testsuite/tests/pmcheck/complete_sigs/T14059a.stderr index 7004ac3628..a9ca40e09d 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T14059a.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T14059a.stderr @@ -1,10 +1,10 @@ -T14059a.hs:21:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14059a.hs:21:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘wibble’: - Patterns of type ‘SBool z’ not matched: SFalse + Patterns of type ‘SBool z’ not matched: SFalse -T14059a.hs:24:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14059a.hs:24:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘wobble’: - Patterns of type ‘SBool z’ not matched: SFalse + Patterns of type ‘SBool z’ not matched: SFalse diff --git a/testsuite/tests/pmcheck/complete_sigs/T14059b.stderr b/testsuite/tests/pmcheck/complete_sigs/T14059b.stderr index faaa442bc5..c8b1d1203a 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T14059b.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T14059b.stderr @@ -1,10 +1,10 @@ -T14059b.hs:24:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14059b.hs:24:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘wibble’: Patterns of type ‘Sing z’ not matched: SFalse -T14059b.hs:27:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14059b.hs:27:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘wobble’: Patterns of type ‘Sing z’ not matched: SFalse diff --git a/testsuite/tests/pmcheck/complete_sigs/T14422.stderr b/testsuite/tests/pmcheck/complete_sigs/T14422.stderr index 564233a189..1300ba85ab 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T14422.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T14422.stderr @@ -1,8 +1,8 @@ -T14422.hs:31:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14422.hs:31:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘f a’ not matched: _ -T14422.hs:44:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14422.hs:44:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘i’: Patterns of type ‘f a’ not matched: _ diff --git a/testsuite/tests/pmcheck/complete_sigs/T17386.stderr b/testsuite/tests/pmcheck/complete_sigs/T17386.stderr index 6c60cf13c0..5421352ff8 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T17386.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T17386.stderr @@ -1,8 +1,8 @@ -T17386.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17386.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘f’: Patterns of type ‘B’ not matched: F + In an equation for ‘f’: Patterns of type ‘B’ not matched: F -T17386.hs:18:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17386.hs:18:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘g’: Patterns of type ‘B’ not matched: T + In an equation for ‘g’: Patterns of type ‘B’ not matched: T diff --git a/testsuite/tests/pmcheck/complete_sigs/T18960b.stderr b/testsuite/tests/pmcheck/complete_sigs/T18960b.stderr index 6148f75a07..f7f1801cae 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T18960b.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T18960b.stderr @@ -1,5 +1,5 @@ -T18960b.hs:11:7: warning: [-Wincomplete-patterns (in -Wextra)] +T18960b.hs:11:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘((), String)’ not matched: @@ -9,7 +9,7 @@ T18960b.hs:11:7: warning: [-Wincomplete-patterns (in -Wextra)] P ((), ['h']) ... -T18960b.hs:18:7: warning: [-Wincomplete-patterns (in -Wextra)] +T18960b.hs:18:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘((), String)’ not matched: diff --git a/testsuite/tests/pmcheck/complete_sigs/T19475.stderr b/testsuite/tests/pmcheck/complete_sigs/T19475.stderr index 035f80475a..e8c11dd817 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T19475.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T19475.stderr @@ -1,4 +1,4 @@ -T19475.hs:19:1: warning: [-Wincomplete-patterns (in -Wextra)] +T19475.hs:19:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘f a’ not matched: _ diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig01.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig01.stderr index 63cff81b5b..69acb0abfd 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig01.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig01.stderr @@ -1,4 +1,4 @@ -completesig01.hs:20:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig01.hs:20:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘b’: b C = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig02.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig02.stderr index dc24b31e63..7e11bd06c2 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig02.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig02.stderr @@ -1,4 +1,4 @@ -completesig02.hs:10:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig02.hs:10:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘a’: Patterns of type ‘()’ not matched: () + In an equation for ‘a’: Patterns of type ‘()’ not matched: () diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr index e04c570390..d6cab09190 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr @@ -1,12 +1,12 @@ -completesig04.hs:10:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig04.hs:10:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: - Patterns of type ‘T’ not matched: + Patterns of type ‘T’ not matched: B C -completesig04.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig04.hs:12:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: - Patterns of type ‘Maybe a’ not matched: Nothing + Patterns of type ‘Maybe a’ not matched: Nothing diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig06.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig06.stderr index 2d58080949..0ef7907315 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig06.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig06.stderr @@ -1,27 +1,27 @@ -completesig06.hs:13:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig06.hs:13:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m1’: Patterns of type ‘T’ not matched: B -completesig06.hs:16:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig06.hs:16:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m2’: Patterns of type ‘T’ not matched: A -completesig06.hs:20:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig06.hs:20:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m3’: Patterns of type ‘T’ not matched: A B -completesig06.hs:23:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig06.hs:23:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m4’: Patterns of type ‘T’, ‘S’ not matched: A D B D -completesig06.hs:29:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig06.hs:29:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m5’: Patterns of type ‘T’, ‘S’ not matched: diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig07.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig07.stderr index 1145cb850e..a1fbe3eba3 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig07.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig07.stderr @@ -1,19 +1,19 @@ -completesig07.hs:14:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig07.hs:14:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m1’: m1 A = ... -completesig07.hs:20:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig07.hs:20:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m2’: m2 A D = ... -completesig07.hs:23:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig07.hs:23:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m3’: - Patterns of type ‘T’ not matched: + Patterns of type ‘T’ not matched: A B -completesig07.hs:24:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig07.hs:24:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m3’: m3 C = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig08.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig08.stderr index 2c7d6658e7..52a11876ac 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig08.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig08.stderr @@ -1,20 +1,20 @@ -completesig08.hs:15:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig08.hs:15:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m1’: m1 C = ... -completesig08.hs:20:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig08.hs:20:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m2’: m2 C D = ... -completesig08.hs:25:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig08.hs:25:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m3’: m3 A E = ... -completesig08.hs:26:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig08.hs:26:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m3’: m3 A F = ... -completesig08.hs:30:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig08.hs:30:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m4’: m4 E = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig10.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig10.stderr index dfdd29dec9..27daa03508 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig10.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig10.stderr @@ -1,12 +1,12 @@ -completesig10.hs:15:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig10.hs:15:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m1’: m1 C = ... -completesig10.hs:16:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig10.hs:16:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m1’: m1 D = ... -completesig10.hs:20:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig10.hs:20:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘m2’: Patterns of type ‘T’ not matched: A + In an equation for ‘m2’: Patterns of type ‘T’ not matched: A diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig11.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig11.stderr index 1f02774757..1c19ee59dd 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig11.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig11.stderr @@ -1,4 +1,4 @@ -completesig11.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig11.hs:14:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘m1’: Patterns of type ‘T’ not matched: B + In an equation for ‘m1’: Patterns of type ‘T’ not matched: B diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig14.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig14.stderr index 06e9da88ce..a45b4c2266 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig14.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig14.stderr @@ -1,4 +1,4 @@ -completesig14.hs:11:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig14.hs:11:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘foo’: foo A = ... diff --git a/testsuite/tests/pmcheck/should_compile/CaseOfKnownCon.stderr b/testsuite/tests/pmcheck/should_compile/CaseOfKnownCon.stderr index 1f09323956..f045975fec 100644 --- a/testsuite/tests/pmcheck/should_compile/CaseOfKnownCon.stderr +++ b/testsuite/tests/pmcheck/should_compile/CaseOfKnownCon.stderr @@ -1,4 +1,4 @@ -CaseOfKnownCon.hs:8:3: warning: [-Woverlapping-patterns (in -Wdefault)] +CaseOfKnownCon.hs:8:3: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: (True, True) -> ... diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase001.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase001.stderr index 2ec7564492..8eb4de3e8c 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase001.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase001.stderr @@ -1,15 +1,15 @@ -EmptyCase001.hs:9:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase001.hs:9:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Int’ not matched: _ -EmptyCase001.hs:14:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase001.hs:14:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘String’ not matched: [] (_:_) -EmptyCase001.hs:18:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase001.hs:18:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Char’ not matched: _ diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase002.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase002.stderr index aac509d1f1..8c662019a7 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase002.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase002.stderr @@ -1,23 +1,23 @@ -EmptyCase002.hs:16:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase002.hs:16:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘T’ not matched: MkT _ -EmptyCase002.hs:43:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase002.hs:43:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘T1 B’ not matched: MkT1 B1 MkT1 B2 -EmptyCase002.hs:47:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase002.hs:47:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘T1 (E Int)’ not matched: MkT1 False MkT1 True -EmptyCase002.hs:51:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase002.hs:51:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘T1 diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase003.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase003.stderr index 11c2addfa3..cccd0e3ddf 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase003.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase003.stderr @@ -1,12 +1,12 @@ -EmptyCase003.hs:15:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase003.hs:15:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a \case alternative: Patterns of type ‘A a’ not matched: _ + In a \case alternative: Patterns of type ‘A a’ not matched: _ -EmptyCase003.hs:32:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase003.hs:32:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a \case alternative: Patterns of type ‘C a’ not matched: _ + In a \case alternative: Patterns of type ‘C a’ not matched: _ -EmptyCase003.hs:37:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase003.hs:37:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a \case alternative: Patterns of type ‘C Int’ not matched: _ + In a \case alternative: Patterns of type ‘C Int’ not matched: _ diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase004.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase004.stderr index 9491cc06df..5c56862052 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase004.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase004.stderr @@ -1,37 +1,37 @@ -EmptyCase004.hs:15:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:15:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘A Bool’ not matched: A2 -EmptyCase004.hs:19:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:19:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘A a’ not matched: A1 A2 -EmptyCase004.hs:31:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:31:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘B a a’ not matched: B1 _ -EmptyCase004.hs:35:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:35:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘B a b’ not matched: B1 _ B2 -EmptyCase004.hs:47:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:47:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘A a’ not matched: A1 A2 -EmptyCase004.hs:50:9: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:50:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘B a b’ not matched: B2 -EmptyCase004.hs:51:9: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:51:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘B a b’ not matched: B1 _ diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase005.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase005.stderr index da479135f6..156698438b 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase005.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase005.stderr @@ -1,35 +1,35 @@ -EmptyCase005.hs:24:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:24:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Void3’ not matched: Void3 _ -EmptyCase005.hs:67:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:67:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘T ()’ not matched: T1 T2 -EmptyCase005.hs:73:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:73:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘T Bool’ not matched: MkTBool False MkTBool True -EmptyCase005.hs:79:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:79:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘T Int’ not matched: MkTInt _ -EmptyCase005.hs:91:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:91:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘G Int’ not matched: MkV False MkV True -EmptyCase005.hs:101:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:101:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘H Int’ not matched: _ diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase006.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase006.stderr index 7c75c73115..e76802b6ae 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase006.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase006.stderr @@ -1,10 +1,10 @@ -EmptyCase006.hs:18:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase006.hs:18:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo1 Int’ not matched: Foo1 MkGA1 -EmptyCase006.hs:26:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase006.hs:26:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo1 a’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase007.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase007.stderr index 14693dcdcb..659d801090 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase007.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase007.stderr @@ -1,29 +1,29 @@ -EmptyCase007.hs:21:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:21:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo2 a’ not matched: Foo2 _ -EmptyCase007.hs:25:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:25:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo2 (a, a)’ not matched: Foo2 _ -EmptyCase007.hs:33:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:33:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo2 Int’ not matched: Foo2 (_, _) -EmptyCase007.hs:37:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:37:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo2 Char’ not matched: Foo2 _ -EmptyCase007.hs:44:17: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:44:17: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘FA Char’ not matched: _ -EmptyCase007.hs:48:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:48:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo2 [Int]’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase008.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase008.stderr index 66e70e0a7e..1ca24e8b33 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase008.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase008.stderr @@ -1,22 +1,22 @@ -EmptyCase008.hs:17:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase008.hs:17:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo3 Int’ not matched: Foo3 (MkDA1 _) Foo3 MkDA2 -EmptyCase008.hs:21:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase008.hs:21:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo3 a’ not matched: Foo3 _ -EmptyCase008.hs:40:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase008.hs:40:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo4 Int ()’ not matched: Foo4 MkDB1 -EmptyCase008.hs:48:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase008.hs:48:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo4 a b’ not matched: Foo4 _ diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase009.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase009.stderr index 622493b446..7be9a48ad3 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase009.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase009.stderr @@ -1,14 +1,14 @@ -EmptyCase009.hs:21:9: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase009.hs:21:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Bar f’ not matched: Bar _ -EmptyCase009.hs:33:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase009.hs:33:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Bar (DB ())’ not matched: Bar MkDB2_u -EmptyCase009.hs:42:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase009.hs:42:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Bar GB’ not matched: Bar MkGB3 diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase010.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase010.stderr index 0672f17f69..e394e4b5d4 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase010.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase010.stderr @@ -1,29 +1,29 @@ -EmptyCase010.hs:24:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:24:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz GC a’ not matched: Baz MkGC1 Baz (MkGC2 _) -EmptyCase010.hs:28:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:28:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz GC 'T1’ not matched: Baz MkGC1 -EmptyCase010.hs:37:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:37:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz GD Maybe’ not matched: Baz MkGD1 Baz MkGD3 -EmptyCase010.hs:41:9: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:41:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Baz GD (Either Int)’ not matched: Baz MkGD3 -EmptyCase010.hs:45:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:45:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz GD f’ not matched: @@ -31,17 +31,17 @@ EmptyCase010.hs:45:7: warning: [-Wincomplete-patterns (in -Wextra)] Baz MkGD2 Baz MkGD3 -EmptyCase010.hs:57:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:57:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz (DC ()) a’ not matched: Baz _ -EmptyCase010.hs:69:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:69:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz (DC Bool) [Int]’ not matched: Baz MkDC2 -EmptyCase010.hs:73:9: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:73:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Baz f a’ not matched: Baz _ diff --git a/testsuite/tests/pmcheck/should_compile/LongDistanceInfo.stderr b/testsuite/tests/pmcheck/should_compile/LongDistanceInfo.stderr index dd40d2af6f..23f8e7f96c 100644 --- a/testsuite/tests/pmcheck/should_compile/LongDistanceInfo.stderr +++ b/testsuite/tests/pmcheck/should_compile/LongDistanceInfo.stderr @@ -1,4 +1,4 @@ -LongDistanceInfo.hs:8:3: warning: [-Woverlapping-patterns (in -Wdefault)] +LongDistanceInfo.hs:8:3: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: A -> ... diff --git a/testsuite/tests/pmcheck/should_compile/T10746.stderr b/testsuite/tests/pmcheck/should_compile/T10746.stderr index a2229d3ec6..6c4591d4af 100644 --- a/testsuite/tests/pmcheck/should_compile/T10746.stderr +++ b/testsuite/tests/pmcheck/should_compile/T10746.stderr @@ -1,5 +1,5 @@ -T10746.hs:9:10: warning: [-Wincomplete-patterns (in -Wextra)] +T10746.hs:9:10: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Bool’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/T11245.stderr b/testsuite/tests/pmcheck/should_compile/T11245.stderr index 4e976a71c6..c4ea0df53d 100644 --- a/testsuite/tests/pmcheck/should_compile/T11245.stderr +++ b/testsuite/tests/pmcheck/should_compile/T11245.stderr @@ -1,4 +1,4 @@ -T11245.hs:5:7: warning: [-Wincomplete-patterns (in -Wextra)] +T11245.hs:5:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘a’: Guards do not cover entire pattern space diff --git a/testsuite/tests/pmcheck/should_compile/T11336b.stderr b/testsuite/tests/pmcheck/should_compile/T11336b.stderr index 85dad6a81c..0835da60da 100644 --- a/testsuite/tests/pmcheck/should_compile/T11336b.stderr +++ b/testsuite/tests/pmcheck/should_compile/T11336b.stderr @@ -1,4 +1,4 @@ -T11336b.hs:25:1: warning: [-Wincomplete-patterns (in -Wextra)] +T11336b.hs:25:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘fun’: Patterns of type ‘Proxy a’ not matched: _ diff --git a/testsuite/tests/pmcheck/should_compile/T11822.stderr b/testsuite/tests/pmcheck/should_compile/T11822.stderr index d2994b65aa..567e5c4d20 100644 --- a/testsuite/tests/pmcheck/should_compile/T11822.stderr +++ b/testsuite/tests/pmcheck/should_compile/T11822.stderr @@ -1,5 +1,5 @@ -T11822.hs:33:1: warning: [-Wincomplete-patterns (in -Wextra)] +T11822.hs:33:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘mkTreeNode’: Patterns of type ‘prefix’, ‘Seq SiblingDependencies’, ‘Set prefix’, diff --git a/testsuite/tests/pmcheck/should_compile/T12957.stderr b/testsuite/tests/pmcheck/should_compile/T12957.stderr index e062bb3bb1..abc5802cc2 100644 --- a/testsuite/tests/pmcheck/should_compile/T12957.stderr +++ b/testsuite/tests/pmcheck/should_compile/T12957.stderr @@ -1,9 +1,9 @@ -T12957.hs:4:5: warning: [-Wincomplete-patterns (in -Wextra)] +T12957.hs:4:5: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘[GHC.Types.Any]’ not matched: [] -T12957.hs:4:16: warning: [-Woverlapping-patterns (in -Wdefault)] +T12957.hs:4:16: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: (_ : _) -> ... diff --git a/testsuite/tests/pmcheck/should_compile/T12957a.stderr b/testsuite/tests/pmcheck/should_compile/T12957a.stderr index 6a656ae32f..9e2160672c 100644 --- a/testsuite/tests/pmcheck/should_compile/T12957a.stderr +++ b/testsuite/tests/pmcheck/should_compile/T12957a.stderr @@ -1,5 +1,5 @@ -T12957a.hs:25:35: warning: [-Winaccessible-code (in -Wdefault)] +T12957a.hs:25:35: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: BFields :: [()] -> Fields 'B, in a case alternative @@ -12,7 +12,7 @@ T12957a.hs:25:35: warning: [-Winaccessible-code (in -Wdefault)] with type constructor ‘S’ and data constructor ‘S’. -T12957a.hs:25:35: warning: [-Wdeferred-type-errors (in -Wdefault)] +T12957a.hs:25:35: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘'B’ with ‘'A’ Expected: Fields 'A Actual: Fields 'B diff --git a/testsuite/tests/pmcheck/should_compile/T14141.stderr b/testsuite/tests/pmcheck/should_compile/T14141.stderr index 32eade4ce0..dbd7e17261 100644 --- a/testsuite/tests/pmcheck/should_compile/T14141.stderr +++ b/testsuite/tests/pmcheck/should_compile/T14141.stderr @@ -1,8 +1,8 @@ -T14141.hs:27:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T14141.hs:27:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f MkD = ... -T14141.hs:42:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T14141.hs:42:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘exhaustive’: exhaustive B = ... diff --git a/testsuite/tests/pmcheck/should_compile/T15305.stderr b/testsuite/tests/pmcheck/should_compile/T15305.stderr index 61f47322a0..e8761ebb4e 100644 --- a/testsuite/tests/pmcheck/should_compile/T15305.stderr +++ b/testsuite/tests/pmcheck/should_compile/T15305.stderr @@ -1,5 +1,5 @@ -T15305.hs:48:23: warning: [-Wincomplete-patterns (in -Wextra)] +T15305.hs:48:23: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Abyss’ not matched: MkAbyss _ diff --git a/testsuite/tests/pmcheck/should_compile/T15450.stderr b/testsuite/tests/pmcheck/should_compile/T15450.stderr index a9268100f1..18f4a931f8 100644 --- a/testsuite/tests/pmcheck/should_compile/T15450.stderr +++ b/testsuite/tests/pmcheck/should_compile/T15450.stderr @@ -1,11 +1,11 @@ -T15450.hs:6:7: warning: [-Wincomplete-patterns (in -Wextra)] +T15450.hs:6:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Bool’ not matched: False True -T15450.hs:9:7: warning: [-Wincomplete-patterns (in -Wextra)] +T15450.hs:9:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Bool’ not matched: False diff --git a/testsuite/tests/pmcheck/should_compile/T17218.stderr b/testsuite/tests/pmcheck/should_compile/T17218.stderr index a8ac1b9ab8..8acd7fad19 100644 --- a/testsuite/tests/pmcheck/should_compile/T17218.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17218.stderr @@ -1,4 +1,4 @@ -T17218.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17218.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘f’: Patterns of type ‘T’ not matched: P + In an equation for ‘f’: Patterns of type ‘T’ not matched: P diff --git a/testsuite/tests/pmcheck/should_compile/T17234.stderr b/testsuite/tests/pmcheck/should_compile/T17234.stderr index 0a1912cfab..d3da2ac1a5 100644 --- a/testsuite/tests/pmcheck/should_compile/T17234.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17234.stderr @@ -1,4 +1,4 @@ -T17234.hs:8:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17234.hs:8:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f !_ = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17248.stderr b/testsuite/tests/pmcheck/should_compile/T17248.stderr index d19619464e..c5887ec3b2 100644 --- a/testsuite/tests/pmcheck/should_compile/T17248.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17248.stderr @@ -1,12 +1,12 @@ -T17248.hs:9:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17248.hs:9:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f (T1 _) True = ... -T17248.hs:14:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17248.hs:14:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g (T2 _) True = ... -T17248.hs:15:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17248.hs:15:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘g’: g !_ True = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17340.stderr b/testsuite/tests/pmcheck/should_compile/T17340.stderr index 7e87ccb887..5dc63cf1f6 100644 --- a/testsuite/tests/pmcheck/should_compile/T17340.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17340.stderr @@ -1,52 +1,52 @@ -T17340.hs:15:4: warning: [-Wredundant-bang-patterns] +T17340.hs:15:4: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘f’: f x = ... -T17340.hs:19:4: warning: [-Wredundant-bang-patterns] +T17340.hs:19:4: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘g’: g x = ... -T17340.hs:23:9: warning: [-Wredundant-bang-patterns] +T17340.hs:23:9: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘h’: h x = ... -T17340.hs:27:4: warning: [-Wredundant-bang-patterns] +T17340.hs:27:4: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘k’: k _ = ... -T17340.hs:31:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:31:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘t’: t !() True = ... -T17340.hs:36:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:36:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘q’: q !True = ... -T17340.hs:41:4: warning: [-Wredundant-bang-patterns] +T17340.hs:41:4: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘i’: i x = ... -T17340.hs:41:8: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:41:8: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘i’: i !x | x = ... -T17340.hs:47:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:47:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘w’: w (T2 _) True = ... -T17340.hs:48:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:48:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘w’: w !_ True = ... -T17340.hs:53:7: warning: [-Wredundant-bang-patterns] +T17340.hs:53:7: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘z’: z x = ... -T17340.hs:53:11: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:53:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘z’: z t2 !x | T2 _ <- t2, x = ... -T17340.hs:54:11: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:54:11: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘z’: z t2 !x | !_ <- t2, x = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17465.stderr b/testsuite/tests/pmcheck/should_compile/T17465.stderr index 6b0068201e..4b6c32dd02 100644 --- a/testsuite/tests/pmcheck/should_compile/T17465.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17465.stderr @@ -1,20 +1,20 @@ -T17465.hs:5:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17465.hs:5:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f _ | False = ... -T17465.hs:10:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17465.hs:10:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g () | False = ... -T17465.hs:11:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17465.hs:11:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g () | False = ... -T17465.hs:16:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17465.hs:16:5: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘h’: h x | () <- x, False = ... -T17465.hs:17:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17465.hs:17:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘h’: h x | False = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17646.stderr b/testsuite/tests/pmcheck/should_compile/T17646.stderr index e5a3964a0a..e13bb88856 100644 --- a/testsuite/tests/pmcheck/should_compile/T17646.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17646.stderr @@ -1,9 +1,9 @@ -T17646.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17646.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Guards do not cover entire pattern space -T17646.hs:11:5: warning: [-Winaccessible-code (in -Wdefault)] +T17646.hs:11:5: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: B :: T 'False, in a pattern binding in @@ -16,6 +16,6 @@ T17646.hs:11:5: warning: [-Winaccessible-code (in -Wdefault)] B <- A In an equation for ‘g’: g | B <- A = () -T17646.hs:11:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17646.hs:11:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g | B <- A = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17725.stderr b/testsuite/tests/pmcheck/should_compile/T17725.stderr index 3bf20a6479..410cfd4eae 100644 --- a/testsuite/tests/pmcheck/should_compile/T17725.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17725.stderr @@ -1,4 +1,4 @@ -T17725.hs:9:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17725.hs:9:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f (IInt 42) True = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17729.stderr b/testsuite/tests/pmcheck/should_compile/T17729.stderr index edc7900388..c0e340af84 100644 --- a/testsuite/tests/pmcheck/should_compile/T17729.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17729.stderr @@ -1,5 +1,5 @@ -T17729.hs:5:17: warning: [-Wincomplete-patterns (in -Wextra)] +T17729.hs:5:17: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: - Patterns of type ‘(Maybe a, ())’ not matched: ((Just _), ()) + Patterns of type ‘(Maybe a, ())’ not matched: ((Just _), ()) diff --git a/testsuite/tests/pmcheck/should_compile/T17836b.stderr b/testsuite/tests/pmcheck/should_compile/T17836b.stderr index ba590aaf85..714e7b4f85 100644 --- a/testsuite/tests/pmcheck/should_compile/T17836b.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17836b.stderr @@ -1,8 +1,8 @@ -T17836b.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17836b.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘massive’: - Patterns of type ‘T recty’ not matched: + Patterns of type ‘T recty’ not matched: T _ P (T _) P (P (T _)) diff --git a/testsuite/tests/pmcheck/should_compile/T17977.stderr b/testsuite/tests/pmcheck/should_compile/T17977.stderr index 9817638af6..4fb5c00376 100644 --- a/testsuite/tests/pmcheck/should_compile/T17977.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17977.stderr @@ -1,5 +1,5 @@ -T17977.hs:31:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17977.hs:31:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘SNat m’, ‘SNat n’, ‘SNat o’, diff --git a/testsuite/tests/pmcheck/should_compile/T17977b.stderr b/testsuite/tests/pmcheck/should_compile/T17977b.stderr index d46492db22..9286a9d647 100644 --- a/testsuite/tests/pmcheck/should_compile/T17977b.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17977b.stderr @@ -1,4 +1,4 @@ -T17977b.hs:21:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17977b.hs:21:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f'’: f' (Down r) = ... diff --git a/testsuite/tests/pmcheck/should_compile/T18249.stderr b/testsuite/tests/pmcheck/should_compile/T18249.stderr index b13160e183..6ca63a3ad6 100644 --- a/testsuite/tests/pmcheck/should_compile/T18249.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18249.stderr @@ -1,20 +1,20 @@ -T18249.hs:14:8: warning: [-Woverlapping-patterns (in -Wdefault)] +T18249.hs:14:8: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f !_ | False = ... -T18249.hs:25:4: warning: [-Wredundant-bang-patterns] +T18249.hs:25:4: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘g’: g _ = ... -T18249.hs:29:16: warning: [-Woverlapping-patterns (in -Wdefault)] +T18249.hs:29:16: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘h’: h (# _, _ #) | False = ... -T18249.hs:33:13: warning: [-Woverlapping-patterns (in -Wdefault)] +T18249.hs:33:13: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘i’: i !_ | False = ... -T18249.hs:34:13: warning: [-Woverlapping-patterns (in -Wdefault)] +T18249.hs:34:13: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘i’: i (I# !_) | False = ... diff --git a/testsuite/tests/pmcheck/should_compile/T18341.stderr b/testsuite/tests/pmcheck/should_compile/T18341.stderr index ee4838a890..987ffb5418 100644 --- a/testsuite/tests/pmcheck/should_compile/T18341.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18341.stderr @@ -1,24 +1,24 @@ -T18341.hs:12:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:12:18: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f (MkT _ _ _) | False = ... -T18341.hs:13:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:13:18: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f (MkT !_ _ _) | False = ... -T18341.hs:17:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:17:18: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘g’: g (MkT _ _ _) | False = ... -T18341.hs:18:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:18:18: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g (MkT _ !_ _) | False = ... -T18341.hs:22:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:22:18: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘h’: h (MkT _ _ _) | False = ... -T18341.hs:23:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:23:18: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘h’: h (MkT _ _ !_) | False = ... diff --git a/testsuite/tests/pmcheck/should_compile/T18572.stderr b/testsuite/tests/pmcheck/should_compile/T18572.stderr index b56ef9f186..c0f9807b94 100644 --- a/testsuite/tests/pmcheck/should_compile/T18572.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18572.stderr @@ -1,5 +1,5 @@ -T18572.hs:12:1: warning: [-Winaccessible-code (in -Wdefault)] +T18572.hs:12:1: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: STrue :: SBool 'True, in a pattern binding @@ -7,11 +7,11 @@ T18572.hs:12:1: warning: [-Winaccessible-code (in -Wdefault)] • In the pattern: STrue In a pattern binding: STrue = SFalse -T18572.hs:12:1: warning: [-Wincomplete-uni-patterns (in -Wall)] +T18572.hs:12:1: warning: [GHC-62161] [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘SBool 'False’ not matched: SFalse -T18572.hs:12:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T18572.hs:12:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding: STrue = ... diff --git a/testsuite/tests/pmcheck/should_compile/T18609.stderr b/testsuite/tests/pmcheck/should_compile/T18609.stderr index 60a123dcfb..5d2216f690 100644 --- a/testsuite/tests/pmcheck/should_compile/T18609.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18609.stderr @@ -1,13 +1,13 @@ -T18609.hs:36:25: warning: [-Woverlapping-patterns (in -Wdefault)] +T18609.hs:36:25: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘invZero’: invZero !_ !_ | False = ... -T18609.hs:51:20: warning: [-Woverlapping-patterns (in -Wdefault)] +T18609.hs:51:20: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f !_ !_ !_ !_ !_ | False = ... -T18609.hs:59:35: warning: [-Woverlapping-patterns (in -Wdefault)] +T18609.hs:59:35: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘g’: g !_ !_ !_ !_ !_ !_ !_ !_ !_ !_ | False = ... diff --git a/testsuite/tests/pmcheck/should_compile/T18610.stderr b/testsuite/tests/pmcheck/should_compile/T18610.stderr index c457662562..76948f4674 100644 --- a/testsuite/tests/pmcheck/should_compile/T18610.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18610.stderr @@ -1,14 +1,14 @@ -T18610.hs:15:3: warning: [-Woverlapping-patterns (in -Wdefault)] +T18610.hs:15:3: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: (True, False) -> ... -T18610.hs:24:7: warning: [-Wincomplete-patterns (in -Wextra)] +T18610.hs:24:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘(Bool, Bool)’ not matched: _ -T18610.hs:53:3: warning: [-Winaccessible-code (in -Wdefault)] +T18610.hs:53:3: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: Refl :: forall {k} (a :: k). a :~: a, in an equation for ‘k’ diff --git a/testsuite/tests/pmcheck/should_compile/T18670.stderr b/testsuite/tests/pmcheck/should_compile/T18670.stderr index 4929374740..51f7acfc03 100644 --- a/testsuite/tests/pmcheck/should_compile/T18670.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18670.stderr @@ -1,5 +1,5 @@ -T18670.hs:16:1: warning: [-Wincomplete-patterns (in -Wextra)] +T18670.hs:16:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: - Patterns of type ‘T a’, ‘a :~: Int’ not matched: TBool _ + Patterns of type ‘T a’, ‘a :~: Int’ not matched: TBool _ diff --git a/testsuite/tests/pmcheck/should_compile/T18708.stderr b/testsuite/tests/pmcheck/should_compile/T18708.stderr index ac838c3650..4d58dfda78 100644 --- a/testsuite/tests/pmcheck/should_compile/T18708.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18708.stderr @@ -1,5 +1,5 @@ -T18708.hs:18:3: warning: [-Wincomplete-patterns (in -Wextra)] +T18708.hs:18:3: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: - Patterns of type ‘Text’ not matched: p where p is not one of {"y"} + Patterns of type ‘Text’ not matched: p where p is not one of {"y"} diff --git a/testsuite/tests/pmcheck/should_compile/T18932.stderr b/testsuite/tests/pmcheck/should_compile/T18932.stderr index 1da153f795..2127ba62b4 100644 --- a/testsuite/tests/pmcheck/should_compile/T18932.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18932.stderr @@ -1,13 +1,13 @@ -T18932.hs:10:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T18932.hs:10:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f (MkT2 y) = ... -T18932.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] +T18932.hs:12:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f'’: Patterns of type ‘T a’ not matched: MkT2 _ -T18932.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)] +T18932.hs:14:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘T a’, ‘T a’, ‘T a’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/T19271.stderr b/testsuite/tests/pmcheck/should_compile/T19271.stderr index 6ca6ebdadd..4dc068461f 100644 --- a/testsuite/tests/pmcheck/should_compile/T19271.stderr +++ b/testsuite/tests/pmcheck/should_compile/T19271.stderr @@ -1,5 +1,5 @@ -T19271.hs:11:5: warning: [-Wincomplete-patterns (in -Wextra)] +T19271.hs:11:5: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Roles’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/T20642.stderr b/testsuite/tests/pmcheck/should_compile/T20642.stderr index 3843b53045..184092e046 100644 --- a/testsuite/tests/pmcheck/should_compile/T20642.stderr +++ b/testsuite/tests/pmcheck/should_compile/T20642.stderr @@ -1,17 +1,17 @@ -T20642.hs:10:3: warning: [-Wincomplete-uni-patterns (in -Wall)] +T20642.hs:10:3: warning: [GHC-62161] [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘([a], [a])’ not matched: (_, []) -T20642.hs:14:7: warning: [-Wincomplete-patterns (in -Wextra)] +T20642.hs:14:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Maybe a’ not matched: Nothing Just _ -T20642.hs:18:1: warning: [-Wincomplete-patterns (in -Wextra)] +T20642.hs:18:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘(Bool, [a])’ not matched: (_, (_:_)) diff --git a/testsuite/tests/pmcheck/should_compile/T2204.stderr b/testsuite/tests/pmcheck/should_compile/T2204.stderr index 5bd3dba322..6bf7708523 100644 --- a/testsuite/tests/pmcheck/should_compile/T2204.stderr +++ b/testsuite/tests/pmcheck/should_compile/T2204.stderr @@ -1,5 +1,5 @@ -T2204.hs:6:1: warning: [-Wincomplete-patterns (in -Wextra)] +T2204.hs:6:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘String’ not matched: @@ -9,7 +9,7 @@ T2204.hs:6:1: warning: [-Wincomplete-patterns (in -Wextra)] ('0':p:_) where p is not one of {'1'} ... -T2204.hs:9:1: warning: [-Wincomplete-patterns (in -Wextra)] +T2204.hs:9:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘Int’ not matched: p where p is not one of {0} diff --git a/testsuite/tests/pmcheck/should_compile/T9951b.stderr b/testsuite/tests/pmcheck/should_compile/T9951b.stderr index c446661366..5e432916cc 100644 --- a/testsuite/tests/pmcheck/should_compile/T9951b.stderr +++ b/testsuite/tests/pmcheck/should_compile/T9951b.stderr @@ -1,5 +1,5 @@ -T9951b.hs:7:1: warning: [-Wincomplete-patterns (in -Wextra)] +T9951b.hs:7:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘String’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/TooManyDeltas.stderr b/testsuite/tests/pmcheck/should_compile/TooManyDeltas.stderr index bd9ca3f0f0..b6092fa8ec 100644 --- a/testsuite/tests/pmcheck/should_compile/TooManyDeltas.stderr +++ b/testsuite/tests/pmcheck/should_compile/TooManyDeltas.stderr @@ -1,9 +1,9 @@ -TooManyDeltas.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)] +TooManyDeltas.hs:14:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘T’, ‘T’ not matched: _ _ -TooManyDeltas.hs:14:1: warning: +TooManyDeltas.hs:14:1: warning: [GHC-61505] Pattern match checker ran into -fmax-pmcheck-models=0 limit, so • Redundant clauses might not be reported at all • Redundant clauses might be reported as inaccessible @@ -11,7 +11,7 @@ TooManyDeltas.hs:14:1: warning: Suggested fix: Increase the limit or resolve the warnings to suppress this message. -TooManyDeltas.hs:19:1: warning: +TooManyDeltas.hs:19:1: warning: [GHC-61505] Pattern match checker ran into -fmax-pmcheck-models=0 limit, so • Redundant clauses might not be reported at all • Redundant clauses might be reported as inaccessible @@ -19,10 +19,10 @@ TooManyDeltas.hs:19:1: warning: Suggested fix: Increase the limit or resolve the warnings to suppress this message. -TooManyDeltas.hs:20:1: warning: [-Woverlapping-patterns (in -Wdefault)] +TooManyDeltas.hs:20:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘g’: g A A = ... -TooManyDeltas.hs:21:1: warning: [-Woverlapping-patterns (in -Wdefault)] +TooManyDeltas.hs:21:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘g’: g A A = ... diff --git a/testsuite/tests/pmcheck/should_compile/pmc001.stderr b/testsuite/tests/pmcheck/should_compile/pmc001.stderr index 4e10c5bf0a..5ea3cfa74d 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc001.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc001.stderr @@ -1,5 +1,5 @@ -pmc001.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc001.hs:14:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘T [a]’, ‘T [a]’ not matched: @@ -8,7 +8,7 @@ pmc001.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)] MkT3 MkT1 MkT3 (MkT2 _) -pmc001.hs:19:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc001.hs:19:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘T [a]’, ‘T [a]’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/pmc003.stderr b/testsuite/tests/pmcheck/should_compile/pmc003.stderr index 03e0df0d46..c3889c0e39 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc003.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc003.stderr @@ -1,4 +1,4 @@ -pmc003.hs:7:1: warning: [-Woverlapping-patterns (in -Wdefault)] +pmc003.hs:7:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f True False = ... diff --git a/testsuite/tests/pmcheck/should_compile/pmc004.stderr b/testsuite/tests/pmcheck/should_compile/pmc004.stderr index 7bce24399f..43b92da3b0 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc004.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc004.stderr @@ -1,4 +1,4 @@ -pmc004.hs:16:1: warning: [-Woverlapping-patterns (in -Wdefault)] +pmc004.hs:16:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘h’: h _ G1 = ... diff --git a/testsuite/tests/pmcheck/should_compile/pmc005.stderr b/testsuite/tests/pmcheck/should_compile/pmc005.stderr index 8cc9eaffcb..4cdb6cdacf 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc005.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc005.stderr @@ -1,9 +1,9 @@ -pmc005.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc005.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘foo’: - Patterns of type ‘T c’, ‘T c’ not matched: TBool TBool + Patterns of type ‘T c’, ‘T c’ not matched: TBool TBool -pmc005.hs:12:1: warning: [-Woverlapping-patterns (in -Wdefault)] +pmc005.hs:12:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘foo’: foo _ TList = ... diff --git a/testsuite/tests/pmcheck/should_compile/pmc007.stderr b/testsuite/tests/pmcheck/should_compile/pmc007.stderr index a68618d3f2..4b9f185ebf 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc007.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc007.stderr @@ -1,11 +1,11 @@ -pmc007.hs:7:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc007.hs:7:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘a’ not matched: p where p is not one of {"ab", "ac"} -pmc007.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc007.hs:12:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘String’ not matched: @@ -15,7 +15,7 @@ pmc007.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] ('a':p:_) where p is not one of {'b', 'c'} ... -pmc007.hs:18:11: warning: [-Wincomplete-patterns (in -Wextra)] +pmc007.hs:18:11: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘String’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/pmc009.stderr b/testsuite/tests/pmcheck/should_compile/pmc009.stderr index 21132abc08..a3bed54637 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc009.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc009.stderr @@ -1,5 +1,5 @@ -pmc009.hs:6:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc009.hs:6:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘addPatSynSelector’: Patterns of type ‘GenLocated l (HsBindLR idL idR)’ not matched: _ diff --git a/testsuite/tests/polykinds/KindVType.stderr b/testsuite/tests/polykinds/KindVType.stderr index bf8c99c03b..11427eb82b 100644 --- a/testsuite/tests/polykinds/KindVType.stderr +++ b/testsuite/tests/polykinds/KindVType.stderr @@ -1,5 +1,5 @@ -KindVType.hs:8:8: error: +KindVType.hs:8:8: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘Maybe’ Expected: Proxy Maybe Actual: Proxy Int diff --git a/testsuite/tests/polykinds/PolyKinds02.stderr b/testsuite/tests/polykinds/PolyKinds02.stderr index b95cd4f207..ecbfbf66d6 100644 --- a/testsuite/tests/polykinds/PolyKinds02.stderr +++ b/testsuite/tests/polykinds/PolyKinds02.stderr @@ -1,6 +1,5 @@ -PolyKinds02.hs:13:16: error: +PolyKinds02.hs:13:16: error: [GHC-83865] • Expected kind ‘Nat’, but ‘Nat’ has kind ‘*’ • In the second argument of ‘Vec’, namely ‘Nat’ - In the type signature: - vec :: Vec Nat Nat + In the type signature: vec :: Vec Nat Nat diff --git a/testsuite/tests/polykinds/PolyKinds04.stderr b/testsuite/tests/polykinds/PolyKinds04.stderr index faa4f4cd69..ebb9e4c6bb 100644 --- a/testsuite/tests/polykinds/PolyKinds04.stderr +++ b/testsuite/tests/polykinds/PolyKinds04.stderr @@ -1,5 +1,5 @@ -PolyKinds04.hs:6:16: error: +PolyKinds04.hs:6:16: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the first argument of ‘A’, namely ‘Maybe’ diff --git a/testsuite/tests/polykinds/PolyKinds06.stderr b/testsuite/tests/polykinds/PolyKinds06.stderr index e5c9daa8c3..2df7d64563 100644 --- a/testsuite/tests/polykinds/PolyKinds06.stderr +++ b/testsuite/tests/polykinds/PolyKinds06.stderr @@ -1,5 +1,5 @@ -PolyKinds06.hs:9:11: error: +PolyKinds06.hs:9:11: error: [GHC-88634] • Type constructor ‘A’ cannot be used here (it is defined and used in the same recursive group) • In the kind ‘A -> *’ diff --git a/testsuite/tests/polykinds/PolyKinds07.stderr b/testsuite/tests/polykinds/PolyKinds07.stderr index 596cae306e..9ddfa0230a 100644 --- a/testsuite/tests/polykinds/PolyKinds07.stderr +++ b/testsuite/tests/polykinds/PolyKinds07.stderr @@ -1,5 +1,5 @@ -PolyKinds07.hs:10:11: error: +PolyKinds07.hs:10:11: error: [GHC-88634] • Data constructor ‘A1’ cannot be used here (it is defined and used in the same recursive group) • In the first argument of ‘B’, namely ‘'A1’ diff --git a/testsuite/tests/polykinds/T11142.stderr b/testsuite/tests/polykinds/T11142.stderr index e061d41bce..3b151a9dc1 100644 --- a/testsuite/tests/polykinds/T11142.stderr +++ b/testsuite/tests/polykinds/T11142.stderr @@ -1,10 +1,10 @@ -T11142.hs:9:49: error: +T11142.hs:9:49: error: [GHC-46956] • Expected kind ‘k’, but ‘b’ has kind ‘k0’ - because kind variable ‘k’ would escape its scope - This (rigid, skolem) kind variable is bound by - an explicit forall k (a :: k) - at T11142.hs:9:26-35 + • because kind variable ‘k’ would escape its scope + This (rigid, skolem) kind variable is bound by + an explicit forall k (a :: k) + at T11142.hs:9:26-35 • In the second argument of ‘SameKind’, namely ‘b’ In the type signature: foo :: forall b. (forall k (a :: k). SameKind a b) -> () diff --git a/testsuite/tests/polykinds/T11203.stderr b/testsuite/tests/polykinds/T11203.stderr index decefbd1fa..0dbd7db279 100644 --- a/testsuite/tests/polykinds/T11203.stderr +++ b/testsuite/tests/polykinds/T11203.stderr @@ -1,4 +1,4 @@ -T11203.hs:7:9: error: +T11203.hs:7:9: error: [GHC-17370] • Different names for the same type variable: ‘k1’ and ‘k2’ • In the data declaration for ‘Q’ diff --git a/testsuite/tests/polykinds/T11399.stderr b/testsuite/tests/polykinds/T11399.stderr index 9174cd0b7d..80ebbf38ba 100644 --- a/testsuite/tests/polykinds/T11399.stderr +++ b/testsuite/tests/polykinds/T11399.stderr @@ -1,5 +1,5 @@ -T11399.hs:10:32: error: +T11399.hs:10:32: error: [GHC-18872] • Couldn't match kind ‘GHC.Types.RuntimeRep’ with ‘*’ When matching kinds a :: * -> * diff --git a/testsuite/tests/polykinds/T11466.stderr b/testsuite/tests/polykinds/T11466.stderr index 616f317250..0c5d57f2bd 100644 --- a/testsuite/tests/polykinds/T11466.stderr +++ b/testsuite/tests/polykinds/T11466.stderr @@ -1,4 +1,4 @@ -T11466.hs:15:10: error: +T11466.hs:15:10: error: [GHC-75863] • Illegal implicit parameter ‘?x::Int’ • In the instance declaration for ‘Eq T’ diff --git a/testsuite/tests/polykinds/T11516.stderr b/testsuite/tests/polykinds/T11516.stderr index 0bee63f2b3..b4e8598aa8 100644 --- a/testsuite/tests/polykinds/T11516.stderr +++ b/testsuite/tests/polykinds/T11516.stderr @@ -1,5 +1,5 @@ -T11516.hs:12:16: error: +T11516.hs:12:16: error: [GHC-83865] • Expected kind ‘i -> i -> *’, but ‘()’ has kind ‘*’ • In the first argument of ‘Varpi’, namely ‘()’ In the instance declaration for ‘Varpi (->) (->) (Either f)’ diff --git a/testsuite/tests/polykinds/T11520.stderr b/testsuite/tests/polykinds/T11520.stderr index 8b9ddb09a8..38d871f586 100644 --- a/testsuite/tests/polykinds/T11520.stderr +++ b/testsuite/tests/polykinds/T11520.stderr @@ -1,5 +1,5 @@ -T11520.hs:16:77: error: +T11520.hs:16:77: error: [GHC-25897] • Expected kind ‘k2 -> k1’, but ‘g’ has kind ‘k4’ ‘k4’ is a rigid type variable bound by an instance declaration diff --git a/testsuite/tests/polykinds/T11611.stderr b/testsuite/tests/polykinds/T11611.stderr index 6c723786b0..36eb3687d1 100644 --- a/testsuite/tests/polykinds/T11611.stderr +++ b/testsuite/tests/polykinds/T11611.stderr @@ -1,5 +1,5 @@ -T11611.hs:8:37: error: +T11611.hs:8:37: error: [GHC-83865] • Expected kind ‘[*]’, but ‘a’ has kind ‘*’ • In the first argument of ‘A’, namely ‘a’ In the first argument of ‘Show’, namely ‘(A a)’ diff --git a/testsuite/tests/polykinds/T11821a.stderr b/testsuite/tests/polykinds/T11821a.stderr index cc18f2c0fd..6774e6ecde 100644 --- a/testsuite/tests/polykinds/T11821a.stderr +++ b/testsuite/tests/polykinds/T11821a.stderr @@ -1,4 +1,4 @@ -T11821a.hs:4:16: error: +T11821a.hs:4:16: error: [GHC-17370] • Different names for the same type variable: ‘k1’ and ‘k2’ • In the type declaration for ‘SameKind’ diff --git a/testsuite/tests/polykinds/T12055a.stderr b/testsuite/tests/polykinds/T12055a.stderr index 505158b001..4e19219a23 100644 --- a/testsuite/tests/polykinds/T12055a.stderr +++ b/testsuite/tests/polykinds/T12055a.stderr @@ -1,5 +1,5 @@ -T12055a.hs:28:1: error: +T12055a.hs:28:1: error: [GHC-80003] • Non type-variable argument in the constraint: Category (Dom f) • In the context: (Category (Dom f), Category (Cod f)) While checking the super-classes of class ‘Functor’ diff --git a/testsuite/tests/polykinds/T12444.stderr b/testsuite/tests/polykinds/T12444.stderr index 0a75b049ec..e6403aa82b 100644 --- a/testsuite/tests/polykinds/T12444.stderr +++ b/testsuite/tests/polykinds/T12444.stderr @@ -1,5 +1,5 @@ -T12444.hs:19:11: error: +T12444.hs:19:11: error: [GHC-25897] • Couldn't match type ‘b’ with ‘'Succ (c :+: b)’ Expected: SNat ('Succ (c :+: b)) Actual: SNat b diff --git a/testsuite/tests/polykinds/T12593.stderr b/testsuite/tests/polykinds/T12593.stderr index fcf194ba50..27a4c46092 100644 --- a/testsuite/tests/polykinds/T12593.stderr +++ b/testsuite/tests/polykinds/T12593.stderr @@ -1,5 +1,5 @@ -T12593.hs:12:31: error: +T12593.hs:12:31: error: [GHC-83865] • Expecting one more argument to ‘k’ Expected a type, but ‘k’ has kind diff --git a/testsuite/tests/polykinds/T13267.stderr b/testsuite/tests/polykinds/T13267.stderr index ff6d7fd79b..b0193e9bdd 100644 --- a/testsuite/tests/polykinds/T13267.stderr +++ b/testsuite/tests/polykinds/T13267.stderr @@ -1,10 +1,10 @@ -T13267.hs:6:10: error: +T13267.hs:6:10: error: [GHC-53946] • Illegal instance for a type synonym A class instance must be for a class • In the instance declaration for ‘C1 Int’ -T13267.hs:10:10: error: +T13267.hs:10:10: error: [GHC-53946] • Illegal instance for a type synonym A class instance must be for a class • In the instance declaration for ‘C2 Int’ diff --git a/testsuite/tests/polykinds/T13393.stderr b/testsuite/tests/polykinds/T13393.stderr index 3836059249..8b56b12451 100644 --- a/testsuite/tests/polykinds/T13393.stderr +++ b/testsuite/tests/polykinds/T13393.stderr @@ -1,5 +1,5 @@ -T13393.hs:61:3: error: +T13393.hs:61:3: error: [GHC-39999] • Ambiguous type variable ‘t0’ arising from a use of ‘mapM’ prevents the constraint ‘(Traversable t0)’ from being solved. Probable fix: use a type annotation to specify what ‘t0’ should be. diff --git a/testsuite/tests/polykinds/T13625.stderr b/testsuite/tests/polykinds/T13625.stderr index 98208fcde3..4778e28ab9 100644 --- a/testsuite/tests/polykinds/T13625.stderr +++ b/testsuite/tests/polykinds/T13625.stderr @@ -1,5 +1,5 @@ -T13625.hs:5:11: error: +T13625.hs:5:11: error: [GHC-88634] • Data constructor ‘Y’ cannot be used here (it is defined and used in the same recursive group) • In the kind ‘Y’ diff --git a/testsuite/tests/polykinds/T13659.stderr b/testsuite/tests/polykinds/T13659.stderr index dad726be5f..2eab88d386 100644 --- a/testsuite/tests/polykinds/T13659.stderr +++ b/testsuite/tests/polykinds/T13659.stderr @@ -1,5 +1,5 @@ -T13659.hs:14:15: error: +T13659.hs:14:15: error: [GHC-83865] • Expected kind ‘[*]’, but ‘a’ has kind ‘*’ • In the first argument of ‘Format’, namely ‘a’ In the type ‘Format a’ diff --git a/testsuite/tests/polykinds/T13738.stderr b/testsuite/tests/polykinds/T13738.stderr index 0bcce304ba..3dc5250cca 100644 --- a/testsuite/tests/polykinds/T13738.stderr +++ b/testsuite/tests/polykinds/T13738.stderr @@ -1,4 +1,4 @@ -T13738.hs:12:31: error: Not in scope: type variable ‘k’ +T13738.hs:12:31: error: [GHC-76037] Not in scope: type variable ‘k’ -T13738.hs:13:31: error: Not in scope: type variable ‘k’ +T13738.hs:13:31: error: [GHC-76037] Not in scope: type variable ‘k’ diff --git a/testsuite/tests/polykinds/T13985.stderr b/testsuite/tests/polykinds/T13985.stderr index ba07f3cda1..16bc48bc7b 100644 --- a/testsuite/tests/polykinds/T13985.stderr +++ b/testsuite/tests/polykinds/T13985.stderr @@ -1,10 +1,10 @@ -T13985.hs:13:41: error: Not in scope: type variable ‘k’ +T13985.hs:13:41: error: [GHC-76037] Not in scope: type variable ‘k’ -T13985.hs:16:43: error: Not in scope: type variable ‘a’ +T13985.hs:16:43: error: [GHC-76037] Not in scope: type variable ‘a’ -T13985.hs:23:26: error: Not in scope: type variable ‘k’ +T13985.hs:23:26: error: [GHC-76037] Not in scope: type variable ‘k’ -T13985.hs:24:37: error: Not in scope: type variable ‘a’ +T13985.hs:24:37: error: [GHC-76037] Not in scope: type variable ‘a’ -T13985.hs:28:39: error: Not in scope: type variable ‘x’ +T13985.hs:28:39: error: [GHC-76037] Not in scope: type variable ‘x’ diff --git a/testsuite/tests/polykinds/T14172.stderr b/testsuite/tests/polykinds/T14172.stderr index b4eb6302d0..d79af1f7c0 100644 --- a/testsuite/tests/polykinds/T14172.stderr +++ b/testsuite/tests/polykinds/T14172.stderr @@ -1,5 +1,5 @@ -T14172.hs:7:46: error: +T14172.hs:7:46: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘a'’ Where: ‘a'’ is a rigid type variable bound by the inferred type of @@ -10,7 +10,7 @@ T14172.hs:7:46: error: In the first argument of ‘f’, namely ‘(h _)’ In the type ‘(a -> f b) -> g a -> f (h _)’ -T14172.hs:8:19: error: +T14172.hs:8:19: error: [GHC-25897] • Couldn't match type ‘a’ with ‘g'1 a'0’ Expected: (f'0 a -> f (f'0 b)) -> g a -> f (h a') Actual: (Unwrapped (Compose f'0 g'1 a'0) -> f (Unwrapped (h a'))) diff --git a/testsuite/tests/polykinds/T14174.stderr b/testsuite/tests/polykinds/T14174.stderr index 4aafa647fd..ed79dd08ae 100644 --- a/testsuite/tests/polykinds/T14174.stderr +++ b/testsuite/tests/polykinds/T14174.stderr @@ -1,5 +1,5 @@ -T14174.hs:6:27: error: +T14174.hs:6:27: error: [GHC-83865] • Expecting one more argument to ‘x’ Expected kind ‘x Int’, but ‘x’ has kind ‘* -> *’ • In the second argument of ‘T’, namely ‘x’ diff --git a/testsuite/tests/polykinds/T14265.stderr b/testsuite/tests/polykinds/T14265.stderr index 188430bdbb..7f782ff8fc 100644 --- a/testsuite/tests/polykinds/T14265.stderr +++ b/testsuite/tests/polykinds/T14265.stderr @@ -1,5 +1,5 @@ -T14265.hs:7:12: error: +T14265.hs:7:12: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w :: k’ Where: ‘k’, ‘w’ are rigid type variables bound by the inferred type of f :: proxy w -> () @@ -9,7 +9,7 @@ T14265.hs:7:12: error: In the type ‘proxy _ -> ()’ In the type signature: f :: proxy _ -> () -T14265.hs:10:15: error: +T14265.hs:10:15: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w1’ Where: ‘w1’ is a rigid type variable bound by the inferred type of foo :: StateT w1 w2 () @@ -19,7 +19,7 @@ T14265.hs:10:15: error: In the type ‘StateT _ _ ()’ In the type signature: foo :: StateT _ _ () -T14265.hs:10:17: error: +T14265.hs:10:17: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w2 :: * -> *’ Where: ‘w2’ is a rigid type variable bound by the inferred type of foo :: StateT w1 w2 () diff --git a/testsuite/tests/polykinds/T14520.stderr b/testsuite/tests/polykinds/T14520.stderr index 20e1b5cf33..7fa6545a07 100644 --- a/testsuite/tests/polykinds/T14520.stderr +++ b/testsuite/tests/polykinds/T14520.stderr @@ -1,7 +1,7 @@ -T14520.hs:15:24: error: +T14520.hs:15:24: error: [GHC-83865] • Expected kind ‘bat w w’, but ‘Id’ has kind ‘XXX @a0 @(*) (XXX @a0 @(a0 ~>> *) kat0 b0) b0’ - The type variables ‘kat0’, ‘b0’ are ambiguous + The type variables ‘kat0’, ‘b0’ are ambiguous • In the first argument of ‘Sing’, namely ‘(Id :: bat w w)’ In the type signature: sId :: Sing w -> Sing (Id :: bat w w) diff --git a/testsuite/tests/polykinds/T14555.stderr b/testsuite/tests/polykinds/T14555.stderr index f85c1b44cc..78efb9c0a1 100644 --- a/testsuite/tests/polykinds/T14555.stderr +++ b/testsuite/tests/polykinds/T14555.stderr @@ -1,5 +1,5 @@ -T14555.hs:12:34: error: +T14555.hs:12:34: error: [GHC-25897] • Couldn't match kind ‘rep’ with ‘GHC.Types.LiftedRep’ Expected kind ‘TYPE rep’, but ‘a -> b’ has kind ‘*’ • In the second argument of ‘Exp’, namely ‘(a -> b)’ diff --git a/testsuite/tests/polykinds/T14563.stderr b/testsuite/tests/polykinds/T14563.stderr index e2dd07a6d6..b567c0914a 100644 --- a/testsuite/tests/polykinds/T14563.stderr +++ b/testsuite/tests/polykinds/T14563.stderr @@ -1,5 +1,5 @@ -T14563.hs:9:39: error: +T14563.hs:9:39: error: [GHC-25897] • Couldn't match kind ‘rep''’ with ‘GHC.Types.LiftedRep’ Expected kind ‘TYPE rep -> TYPE rep''’, but ‘h’ has kind ‘TYPE rep -> *’ diff --git a/testsuite/tests/polykinds/T14580.stderr b/testsuite/tests/polykinds/T14580.stderr index 154e191f7e..2fe8b64636 100644 --- a/testsuite/tests/polykinds/T14580.stderr +++ b/testsuite/tests/polykinds/T14580.stderr @@ -1,5 +1,5 @@ -T14580.hs:8:32: error: +T14580.hs:8:32: error: [GHC-25897] • Couldn't match kind ‘b’ with ‘a -> *’ Expected kind ‘Cat a’, but ‘iso :: cat a b’ has kind ‘cat a b’ • In the first argument of ‘ISO’, namely ‘(iso :: cat a b)’ diff --git a/testsuite/tests/polykinds/T14846.stderr b/testsuite/tests/polykinds/T14846.stderr index 8ff308ba1d..2959f7669a 100644 --- a/testsuite/tests/polykinds/T14846.stderr +++ b/testsuite/tests/polykinds/T14846.stderr @@ -1,5 +1,5 @@ -T14846.hs:38:8: error: +T14846.hs:38:8: error: [GHC-25897] • Couldn't match type ‘ríki’ with ‘Hom riki’ Expected: ríki a a Actual: Hom riki a a @@ -22,7 +22,7 @@ T14846.hs:38:8: error: ríki a a In the instance declaration for ‘Category (Hom riki)’ -T14846.hs:39:44: error: +T14846.hs:39:44: error: [GHC-25897] • Couldn't match kind ‘k3’ with ‘Struct cls2’ Expected kind ‘Struct cls2 -> Constraint’, but ‘cls’ has kind ‘k3 -> Constraint’ diff --git a/testsuite/tests/polykinds/T15116.stderr b/testsuite/tests/polykinds/T15116.stderr index bcbf89f8dc..04dc639779 100644 --- a/testsuite/tests/polykinds/T15116.stderr +++ b/testsuite/tests/polykinds/T15116.stderr @@ -1,5 +1,5 @@ -T15116.hs:7:12: error: +T15116.hs:7:12: error: [GHC-88634] • Data constructor ‘MkA’ cannot be used here (it is defined and used in the same recursive group) • In the first argument of ‘A’, namely ‘MkA’ diff --git a/testsuite/tests/polykinds/T15116a.stderr b/testsuite/tests/polykinds/T15116a.stderr index 148432f5ca..a63cce3bc2 100644 --- a/testsuite/tests/polykinds/T15116a.stderr +++ b/testsuite/tests/polykinds/T15116a.stderr @@ -1,5 +1,5 @@ -T15116a.hs:6:21: error: +T15116a.hs:6:21: error: [GHC-88634] • Data constructor ‘MkB’ cannot be used here (it is defined and used in the same recursive group) • In the first argument of ‘Proxy’, namely ‘'MkB’ diff --git a/testsuite/tests/polykinds/T15577.stderr b/testsuite/tests/polykinds/T15577.stderr index 7f875be9fd..a241305371 100644 --- a/testsuite/tests/polykinds/T15577.stderr +++ b/testsuite/tests/polykinds/T15577.stderr @@ -1,5 +1,5 @@ -T15577.hs:21:18: error: +T15577.hs:21:18: error: [GHC-83865] • Expecting one more argument to ‘f’ Expected a type, but ‘f’ has kind ‘* -> *’ • In the type ‘f’ diff --git a/testsuite/tests/polykinds/T15787.stderr b/testsuite/tests/polykinds/T15787.stderr index c2c50af86a..831cde0235 100644 --- a/testsuite/tests/polykinds/T15787.stderr +++ b/testsuite/tests/polykinds/T15787.stderr @@ -1,5 +1,5 @@ -T15787.hs:16:14: error: +T15787.hs:16:14: error: [GHC-25897] • Expected a type, but ‘k’ has kind ‘ob1’ ‘ob1’ is a rigid type variable bound by the type signature for ‘Kl’ diff --git a/testsuite/tests/polykinds/T15789.stderr b/testsuite/tests/polykinds/T15789.stderr index dc052ceaa7..039f932c80 100644 --- a/testsuite/tests/polykinds/T15789.stderr +++ b/testsuite/tests/polykinds/T15789.stderr @@ -1,5 +1,5 @@ -T15789.hs:10:80: error: +T15789.hs:10:80: error: [GHC-83865] • Expected kind ‘k2 -> *’, but ‘cat b’ has kind ‘*’ • In the first argument of ‘Cat’, namely ‘(forall b. cat b u)’ In the kind ‘forall (cat :: forall xx. xx -> Type) a. diff --git a/testsuite/tests/polykinds/T15804.stderr b/testsuite/tests/polykinds/T15804.stderr index e89bbf8c80..98ec68dd68 100644 --- a/testsuite/tests/polykinds/T15804.stderr +++ b/testsuite/tests/polykinds/T15804.stderr @@ -1,5 +1,5 @@ -T15804.hs:5:12: error: +T15804.hs:5:12: error: [GHC-25897] • Expected a type, but ‘a :: k’ has kind ‘k’ • In the kind ‘(a :: k) -> *’ In the data type declaration for ‘T’ diff --git a/testsuite/tests/polykinds/T15881.stderr b/testsuite/tests/polykinds/T15881.stderr index 47cc5abf5c..b77751986f 100644 --- a/testsuite/tests/polykinds/T15881.stderr +++ b/testsuite/tests/polykinds/T15881.stderr @@ -1,5 +1,5 @@ -T15881.hs:8:18: error: +T15881.hs:8:18: error: [GHC-27958] • Expected kind ‘k0’, but ‘n’ has kind ‘k0 -> *’ • In the first argument of ‘n’, namely ‘n’ In the kind ‘n n’ diff --git a/testsuite/tests/polykinds/T15881a.stderr b/testsuite/tests/polykinds/T15881a.stderr index 23f207dff3..e5509dc052 100644 --- a/testsuite/tests/polykinds/T15881a.stderr +++ b/testsuite/tests/polykinds/T15881a.stderr @@ -1,5 +1,5 @@ -T15881a.hs:8:22: error: +T15881a.hs:8:22: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘n’ • In the kind ‘a -> Type’ In the data type declaration for ‘A’ diff --git a/testsuite/tests/polykinds/T16221a.stderr b/testsuite/tests/polykinds/T16221a.stderr index 06fb5e0af1..e86bcb33ea 100644 --- a/testsuite/tests/polykinds/T16221a.stderr +++ b/testsuite/tests/polykinds/T16221a.stderr @@ -1,5 +1,5 @@ -T16221a.hs:6:49: error: +T16221a.hs:6:49: error: [GHC-25897] • Expected kind ‘k’, but ‘b’ has kind ‘k1’ ‘k1’ is a rigid type variable bound by an explicit forall k (b :: k) diff --git a/testsuite/tests/polykinds/T16244.stderr b/testsuite/tests/polykinds/T16244.stderr index 3e9c229233..1d9a456096 100644 --- a/testsuite/tests/polykinds/T16244.stderr +++ b/testsuite/tests/polykinds/T16244.stderr @@ -1,5 +1,5 @@ -T16244.hs:12:18: error: +T16244.hs:12:18: error: [GHC-25897] • Expected kind ‘k1’, but ‘b’ has kind ‘k2’ ‘k2’ is a rigid type variable bound by the class declaration for ‘C’ diff --git a/testsuite/tests/polykinds/T16245.stderr b/testsuite/tests/polykinds/T16245.stderr index 09cb055f3b..41c7d0d8ab 100644 --- a/testsuite/tests/polykinds/T16245.stderr +++ b/testsuite/tests/polykinds/T16245.stderr @@ -1,5 +1,5 @@ -T16245.hs:12:36: error: +T16245.hs:12:36: error: [GHC-25897] • Expected kind ‘k1’, but ‘b’ has kind ‘k2’ ‘k2’ is a rigid type variable bound by the class declaration for ‘C’ diff --git a/testsuite/tests/polykinds/T16245a.stderr b/testsuite/tests/polykinds/T16245a.stderr index a7df4f2fbc..2d99b7f415 100644 --- a/testsuite/tests/polykinds/T16245a.stderr +++ b/testsuite/tests/polykinds/T16245a.stderr @@ -1,5 +1,5 @@ -T16245a.hs:12:66: error: +T16245a.hs:12:66: error: [GHC-25897] • Expected kind ‘k1’, but ‘b’ has kind ‘k2’ ‘k2’ is a rigid type variable bound by the newtype declaration for ‘T’ diff --git a/testsuite/tests/polykinds/T16247.stderr b/testsuite/tests/polykinds/T16247.stderr index 5c78312f29..a16e4959cb 100644 --- a/testsuite/tests/polykinds/T16247.stderr +++ b/testsuite/tests/polykinds/T16247.stderr @@ -1,5 +1,5 @@ -T16247.hs:10:20: error: +T16247.hs:10:20: error: [GHC-97739] • These kind and type variables: a k (b :: k) are out of dependency order. Perhaps try this ordering: k (a :: k) (b :: k) diff --git a/testsuite/tests/polykinds/T16247a.stderr b/testsuite/tests/polykinds/T16247a.stderr index 8bcd75ac9b..6ce35c277a 100644 --- a/testsuite/tests/polykinds/T16247a.stderr +++ b/testsuite/tests/polykinds/T16247a.stderr @@ -1,5 +1,5 @@ -T16247a.hs:22:28: error: +T16247a.hs:22:28: error: [GHC-97739] • These kind and type variables: p k are out of dependency order. Perhaps try this ordering: k (p :: k) diff --git a/testsuite/tests/polykinds/T16263.stderr b/testsuite/tests/polykinds/T16263.stderr index 9696f2238d..29031dc09e 100644 --- a/testsuite/tests/polykinds/T16263.stderr +++ b/testsuite/tests/polykinds/T16263.stderr @@ -1,4 +1,4 @@ -T16263.hs:7:1: error: +T16263.hs:7:1: error: [GHC-01259] • Illegal constraint in a kind: Eq a => * • In the data type declaration for ‘Q’ diff --git a/testsuite/tests/polykinds/T16762.stderr b/testsuite/tests/polykinds/T16762.stderr index 6793e5220e..21ef106718 100644 --- a/testsuite/tests/polykinds/T16762.stderr +++ b/testsuite/tests/polykinds/T16762.stderr @@ -1,5 +1,5 @@ -T16762.hs:11:17: error: +T16762.hs:11:17: error: [GHC-97739] • These kind and type variables: a kx (b :: kx) are out of dependency order. Perhaps try this ordering: kx (a :: kx) (b :: kx) diff --git a/testsuite/tests/polykinds/T16762a.stderr b/testsuite/tests/polykinds/T16762a.stderr index 0a96f77d82..51bd3f77d1 100644 --- a/testsuite/tests/polykinds/T16762a.stderr +++ b/testsuite/tests/polykinds/T16762a.stderr @@ -1,5 +1,5 @@ -T16762a.hs:12:22: error: +T16762a.hs:12:22: error: [GHC-97739] • These kind and type variables: a k (b :: k) are out of dependency order. Perhaps try this ordering: k (a :: k) (b :: k) diff --git a/testsuite/tests/polykinds/T16762c.stderr b/testsuite/tests/polykinds/T16762c.stderr index aa813f345b..db259692a4 100644 --- a/testsuite/tests/polykinds/T16762c.stderr +++ b/testsuite/tests/polykinds/T16762c.stderr @@ -1,5 +1,5 @@ -T16762c.hs:10:17: error: +T16762c.hs:10:17: error: [GHC-97739] • These kind and type variables: a k (b :: k) are out of dependency order. Perhaps try this ordering: k (a :: k) (b :: k) diff --git a/testsuite/tests/polykinds/T16902.stderr b/testsuite/tests/polykinds/T16902.stderr index 2472fdcb34..a918f90b95 100644 --- a/testsuite/tests/polykinds/T16902.stderr +++ b/testsuite/tests/polykinds/T16902.stderr @@ -1,5 +1,5 @@ -T16902.hs:12:10: error: +T16902.hs:12:10: error: [GHC-25897] • Expected a type, but found something with kind ‘a’ ‘a’ is a rigid type variable bound by the type signature for ‘MkF’ diff --git a/testsuite/tests/polykinds/T17841.stderr b/testsuite/tests/polykinds/T17841.stderr index 878f30ae7a..5c95fb8d06 100644 --- a/testsuite/tests/polykinds/T17841.stderr +++ b/testsuite/tests/polykinds/T17841.stderr @@ -1,5 +1,5 @@ -T17841.hs:8:45: error: +T17841.hs:8:45: error: [GHC-25897] • Expected a type, but ‘t’ has kind ‘k’ ‘k’ is a rigid type variable bound by the class declaration for ‘Foo’ diff --git a/testsuite/tests/polykinds/T17963.stderr b/testsuite/tests/polykinds/T17963.stderr index 94f730cb30..e6a6035b87 100644 --- a/testsuite/tests/polykinds/T17963.stderr +++ b/testsuite/tests/polykinds/T17963.stderr @@ -1,5 +1,5 @@ -T17963.hs:15:23: error: +T17963.hs:15:23: error: [GHC-25897] • Couldn't match kind ‘rep’ with ‘GHC.Types.LiftedRep’ When matching kinds k0 :: * diff --git a/testsuite/tests/polykinds/T18300.stderr b/testsuite/tests/polykinds/T18300.stderr index 3ddd175d55..1d12d219a4 100644 --- a/testsuite/tests/polykinds/T18300.stderr +++ b/testsuite/tests/polykinds/T18300.stderr @@ -1,2 +1,3 @@ -T18300.hs:9:23: error: Not in scope: data constructor ‘LiftedRep’ +T18300.hs:9:23: error: [GHC-76037] + Not in scope: data constructor ‘LiftedRep’ diff --git a/testsuite/tests/polykinds/T18451.stderr b/testsuite/tests/polykinds/T18451.stderr index 0626e69b79..8747b7f51d 100644 --- a/testsuite/tests/polykinds/T18451.stderr +++ b/testsuite/tests/polykinds/T18451.stderr @@ -1,5 +1,5 @@ -T18451.hs:11:58: error: +T18451.hs:11:58: error: [GHC-27958] • Expected kind ‘k0’, but ‘b’ has kind ‘k’ Type variable kinds: a :: k0 diff --git a/testsuite/tests/polykinds/T18451a.stderr b/testsuite/tests/polykinds/T18451a.stderr index 7a53c03d22..a64a34de74 100644 --- a/testsuite/tests/polykinds/T18451a.stderr +++ b/testsuite/tests/polykinds/T18451a.stderr @@ -1,5 +1,5 @@ -T18451a.hs:11:15: error: +T18451a.hs:11:15: error: [GHC-97739] • These kind and type variables: a b (c :: Const Type b) are out of dependency order. Perhaps try this ordering: (b :: k) (a :: Const (*) b) (c :: Const (*) b) diff --git a/testsuite/tests/polykinds/T18451b.stderr b/testsuite/tests/polykinds/T18451b.stderr index f426c73fa0..9389400d6d 100644 --- a/testsuite/tests/polykinds/T18451b.stderr +++ b/testsuite/tests/polykinds/T18451b.stderr @@ -1,5 +1,5 @@ -T18451b.hs:11:15: error: +T18451b.hs:11:15: error: [GHC-97739] • These kind and type variables: a b (c :: Const Type b) are out of dependency order. Perhaps try this ordering: (b :: k) (a :: Const (*) b) (c :: Const (*) b) diff --git a/testsuite/tests/polykinds/T5716.stderr b/testsuite/tests/polykinds/T5716.stderr index 41bf517339..0ae323c25f 100644 --- a/testsuite/tests/polykinds/T5716.stderr +++ b/testsuite/tests/polykinds/T5716.stderr @@ -1,5 +1,5 @@ -T5716.hs:14:39: error: +T5716.hs:14:39: error: [GHC-88634] • Data constructor ‘DFInt’ cannot be used here (it comes from a data family instance) • In the first argument of ‘U1’, namely ‘DFInt’ diff --git a/testsuite/tests/polykinds/T5716a.stderr b/testsuite/tests/polykinds/T5716a.stderr index acec5e146d..e6d861c71a 100644 --- a/testsuite/tests/polykinds/T5716a.stderr +++ b/testsuite/tests/polykinds/T5716a.stderr @@ -1,7 +1,7 @@ -T5716a.hs:10:27: - Data constructor ‘Bar’ cannot be used here - (it comes from a data family instance) - In the type ‘(Bar a)’ - In the definition of data constructor ‘Bar’ - In the data instance declaration for ‘DF’ +T5716a.hs:10:27: error: [GHC-88634] + • Data constructor ‘Bar’ cannot be used here + (it comes from a data family instance) + • In the type ‘(Bar a)’ + In the definition of data constructor ‘Bar’ + In the data instance declaration for ‘DF’ diff --git a/testsuite/tests/polykinds/T6054.stderr b/testsuite/tests/polykinds/T6054.stderr index 3c967a12be..c215c26424 100644 --- a/testsuite/tests/polykinds/T6054.stderr +++ b/testsuite/tests/polykinds/T6054.stderr @@ -1,5 +1,5 @@ -T6054.hs:7:14: error: +T6054.hs:7:14: error: [GHC-39999] • No instance for ‘Bar '() a0’ arising from an expression type signature • In the first argument of ‘print’, namely diff --git a/testsuite/tests/polykinds/T6129.stderr b/testsuite/tests/polykinds/T6129.stderr index 451d851c5d..7056cc3318 100644 --- a/testsuite/tests/polykinds/T6129.stderr +++ b/testsuite/tests/polykinds/T6129.stderr @@ -1,7 +1,7 @@ -T6129.hs:12:11: - Data constructor ‘DInt’ cannot be used here - (it comes from a data family instance) - In the first argument of ‘X’, namely ‘DInt’ - In the type ‘X DInt’ - In the definition of data constructor ‘X1’ +T6129.hs:12:11: error: [GHC-88634] + • Data constructor ‘DInt’ cannot be used here + (it comes from a data family instance) + • In the first argument of ‘X’, namely ‘DInt’ + In the type ‘X DInt’ + In the definition of data constructor ‘X1’ diff --git a/testsuite/tests/polykinds/T7224.stderr b/testsuite/tests/polykinds/T7224.stderr index 8a6be86ce0..9ef09aed7b 100644 --- a/testsuite/tests/polykinds/T7224.stderr +++ b/testsuite/tests/polykinds/T7224.stderr @@ -1,5 +1,5 @@ -T7224.hs:7:19: error: +T7224.hs:7:19: error: [GHC-25897] • Expected kind ‘i’, but ‘i’ has kind ‘*’ ‘i’ is a rigid type variable bound by the class declaration for ‘PMonad'’ @@ -8,7 +8,7 @@ T7224.hs:7:19: error: In the type signature: ret' :: a -> m i i a In the class declaration for ‘PMonad'’ -T7224.hs:8:14: error: +T7224.hs:8:14: error: [GHC-25897] • Expected kind ‘i’, but ‘i’ has kind ‘*’ ‘i’ is a rigid type variable bound by the class declaration for ‘PMonad'’ diff --git a/testsuite/tests/polykinds/T7230.stderr b/testsuite/tests/polykinds/T7230.stderr index 679a96bddd..696a4f0d1c 100644 --- a/testsuite/tests/polykinds/T7230.stderr +++ b/testsuite/tests/polykinds/T7230.stderr @@ -1,5 +1,5 @@ -T7230.hs:48:32: error: +T7230.hs:48:32: error: [GHC-05617] • Could not deduce ‘(x :<<= x1) ~ 'True’ from the context: Increasing xs ~ 'True bound by the type signature for: diff --git a/testsuite/tests/polykinds/T7278.stderr b/testsuite/tests/polykinds/T7278.stderr index 93b0e9aa3d..52ff5ad287 100644 --- a/testsuite/tests/polykinds/T7278.stderr +++ b/testsuite/tests/polykinds/T7278.stderr @@ -1,5 +1,5 @@ -T7278.hs:9:43: error: +T7278.hs:9:43: error: [GHC-25897] • Expected kind ‘* -> * -> *’, but ‘t’ has kind ‘k1’ ‘k1’ is a rigid type variable bound by the type signature for ‘f’ diff --git a/testsuite/tests/polykinds/T7328.stderr b/testsuite/tests/polykinds/T7328.stderr index d1ba591512..285ded5763 100644 --- a/testsuite/tests/polykinds/T7328.stderr +++ b/testsuite/tests/polykinds/T7328.stderr @@ -1,5 +1,5 @@ -T7328.hs:8:34: error: +T7328.hs:8:34: error: [GHC-27958] • Expected kind ‘k1’, but ‘f’ has kind ‘k0 -> k1’ • In the first argument of ‘Foo’, namely ‘f’ In the first argument of ‘Proxy’, namely ‘(Foo f)’ diff --git a/testsuite/tests/polykinds/T7341.stderr b/testsuite/tests/polykinds/T7341.stderr index 925c68e52d..c565a79f35 100644 --- a/testsuite/tests/polykinds/T7341.stderr +++ b/testsuite/tests/polykinds/T7341.stderr @@ -1,6 +1,6 @@ -T7341.hs:11:12: - Expecting one more argument to ‘[]’ - Expected a type, but ‘[]’ has kind ‘* -> *’ - In the first argument of ‘C’, namely ‘[]’ - In the instance declaration for ‘C []’ +T7341.hs:11:12: error: [GHC-83865] + • Expecting one more argument to ‘[]’ + Expected a type, but ‘[]’ has kind ‘* -> *’ + • In the first argument of ‘C’, namely ‘[]’ + In the instance declaration for ‘C []’ diff --git a/testsuite/tests/polykinds/T7433.stderr b/testsuite/tests/polykinds/T7433.stderr index 317a9a4595..82ebdfc76d 100644 --- a/testsuite/tests/polykinds/T7433.stderr +++ b/testsuite/tests/polykinds/T7433.stderr @@ -1,5 +1,5 @@ -T7433.hs:2:10: error: +T7433.hs:2:10: error: [GHC-88634] • Data constructor ‘Z’ cannot be used here (perhaps you intended to use DataKinds) • In the type ‘'Z’ diff --git a/testsuite/tests/polykinds/T7438.stderr b/testsuite/tests/polykinds/T7438.stderr index e6b99ea452..e6a94deef1 100644 --- a/testsuite/tests/polykinds/T7438.stderr +++ b/testsuite/tests/polykinds/T7438.stderr @@ -1,5 +1,5 @@ -T7438.hs:6:14: error: +T7438.hs:6:14: error: [GHC-25897] • Could not deduce ‘p1 ~ p2’ from the context: b ~ a bound by a pattern with constructor: diff --git a/testsuite/tests/polykinds/T7524.stderr b/testsuite/tests/polykinds/T7524.stderr index a158f58007..566f671c42 100644 --- a/testsuite/tests/polykinds/T7524.stderr +++ b/testsuite/tests/polykinds/T7524.stderr @@ -1,5 +1,5 @@ -T7524.hs:5:15: error: +T7524.hs:5:15: error: [GHC-34447] Conflicting family instance declarations: forall {k2} {a :: k2}. F a a = Int -- Defined at T7524.hs:5:15 forall {k1} {k2} {a :: k1} {b :: k2}. diff --git a/testsuite/tests/polykinds/T7594.stderr b/testsuite/tests/polykinds/T7594.stderr index 39ebac66d5..ecc2a56a41 100644 --- a/testsuite/tests/polykinds/T7594.stderr +++ b/testsuite/tests/polykinds/T7594.stderr @@ -1,5 +1,5 @@ -T7594.hs:37:12: error: +T7594.hs:37:12: error: [GHC-25897] • Could not deduce ‘b ~ IO ()’ from the context: (:&:) c0 Real a bound by a type expected by the context: diff --git a/testsuite/tests/polykinds/T7805.stderr b/testsuite/tests/polykinds/T7805.stderr index cb87c5af6e..94158fa893 100644 --- a/testsuite/tests/polykinds/T7805.stderr +++ b/testsuite/tests/polykinds/T7805.stderr @@ -1,5 +1,5 @@ -T7805.hs:8:21: error: +T7805.hs:8:21: error: [GHC-83865] • Expected kind ‘forall a. a -> a’, but ‘x’ has kind ‘*’ • In the first argument of ‘HR’, namely ‘x’ In the first argument of ‘F’, namely ‘(HR x)’ diff --git a/testsuite/tests/polykinds/T7939a.stderr b/testsuite/tests/polykinds/T7939a.stderr index 4b24b3dc72..39a4b6e146 100644 --- a/testsuite/tests/polykinds/T7939a.stderr +++ b/testsuite/tests/polykinds/T7939a.stderr @@ -1,6 +1,6 @@ -T7939a.hs:7:5: - Expecting one more argument to ‘Maybe’ - Expected a type, but ‘Maybe’ has kind ‘* -> *’ - In the first argument of ‘F’, namely ‘Maybe’ - In the type family declaration for ‘F’ +T7939a.hs:7:5: error: [GHC-83865] + • Expecting one more argument to ‘Maybe’ + Expected a type, but ‘Maybe’ has kind ‘* -> *’ + • In the first argument of ‘F’, namely ‘Maybe’ + In the type family declaration for ‘F’ diff --git a/testsuite/tests/polykinds/T8132.stderr b/testsuite/tests/polykinds/T8132.stderr index da25e7718a..e0f8faa57f 100644 --- a/testsuite/tests/polykinds/T8132.stderr +++ b/testsuite/tests/polykinds/T8132.stderr @@ -1,4 +1,4 @@ -T8132.hs:7:10: error: +T8132.hs:7:10: error: [GHC-97044] • Class ‘Typeable’ does not support user-specified instances. • In the instance declaration for ‘Typeable K’ diff --git a/testsuite/tests/polykinds/T8566.stderr b/testsuite/tests/polykinds/T8566.stderr index 20d56fc63c..a5df878b27 100644 --- a/testsuite/tests/polykinds/T8566.stderr +++ b/testsuite/tests/polykinds/T8566.stderr @@ -1,5 +1,5 @@ -T8566.hs:35:9: error: +T8566.hs:35:9: error: [GHC-39999] • Could not deduce ‘C ('AA (t (I a ps)) as) ps fs0’ arising from a use of ‘c’ from the context: C ('AA (t (I a ps)) as) ps fs diff --git a/testsuite/tests/polykinds/T8616.stderr b/testsuite/tests/polykinds/T8616.stderr index 71c2f00584..df37ff239d 100644 --- a/testsuite/tests/polykinds/T8616.stderr +++ b/testsuite/tests/polykinds/T8616.stderr @@ -1,5 +1,5 @@ -T8616.hs:8:30: error: +T8616.hs:8:30: error: [GHC-25897] • Expected a type, but ‘Any :: k’ has kind ‘k’ ‘k’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/polykinds/T9017.stderr b/testsuite/tests/polykinds/T9017.stderr index ca6a4b564d..3ee1032c0a 100644 --- a/testsuite/tests/polykinds/T9017.stderr +++ b/testsuite/tests/polykinds/T9017.stderr @@ -1,5 +1,5 @@ -T9017.hs:8:7: error: +T9017.hs:8:7: error: [GHC-25897] • Couldn't match kind ‘k2’ with ‘*’ When matching types a0 :: * -> * -> * diff --git a/testsuite/tests/polykinds/T9144.stderr b/testsuite/tests/polykinds/T9144.stderr index 6d5c3c0b44..a00f8dcd46 100644 --- a/testsuite/tests/polykinds/T9144.stderr +++ b/testsuite/tests/polykinds/T9144.stderr @@ -1,5 +1,5 @@ -T9144.hs:34:26: error: +T9144.hs:34:26: error: [GHC-83865] • Couldn't match type ‘Integer’ with ‘FooTerm’ Expected: DemoteRep @Nat ('KProxy @Nat) Actual: DemoteRep @Foo ('KProxy @Foo) diff --git a/testsuite/tests/polykinds/T9200b.stderr b/testsuite/tests/polykinds/T9200b.stderr index 7c3cb65bd0..51a5d1692c 100644 --- a/testsuite/tests/polykinds/T9200b.stderr +++ b/testsuite/tests/polykinds/T9200b.stderr @@ -1,5 +1,5 @@ -T9200b.hs:8:5: error: +T9200b.hs:8:5: error: [GHC-25897] • Expected kind ‘k’, but ‘True’ has kind ‘Bool’ • In the first argument of ‘F’, namely ‘True’ In the type family declaration for ‘F’ diff --git a/testsuite/tests/polykinds/TyVarTvKinds3.stderr b/testsuite/tests/polykinds/TyVarTvKinds3.stderr index a267c3dc82..cda6b50e5e 100644 --- a/testsuite/tests/polykinds/TyVarTvKinds3.stderr +++ b/testsuite/tests/polykinds/TyVarTvKinds3.stderr @@ -1,5 +1,5 @@ -TyVarTvKinds3.hs:9:62: error: +TyVarTvKinds3.hs:9:62: error: [GHC-25897] • Expected kind ‘k1’, but ‘b’ has kind ‘k2’ ‘k2’ is a rigid type variable bound by the type signature for ‘MkBad’ diff --git a/testsuite/tests/printer/T14343.stderr b/testsuite/tests/printer/T14343.stderr index 02b50eb640..16d67dd9eb 100644 --- a/testsuite/tests/printer/T14343.stderr +++ b/testsuite/tests/printer/T14343.stderr @@ -1,5 +1,5 @@ -T14343.hs:10:9: error: +T14343.hs:10:9: error: [GHC-88464] • Found hole: _ :: Proxy '[ 'True] • In the expression: _ :: Proxy '[ 'True] In an equation for ‘test1’: test1 = _ :: Proxy '[ 'True] @@ -11,7 +11,7 @@ T14343.hs:10:9: error: with Proxy @'[ 'True] (defined at T14343.hs:8:16) -T14343.hs:11:9: error: +T14343.hs:11:9: error: [GHC-88464] • Found hole: _ :: Proxy '[ '[1]] • In the expression: _ :: Proxy '[ '[1]] In an equation for ‘test2’: test2 = _ :: Proxy '[ '[1]] @@ -23,7 +23,7 @@ T14343.hs:11:9: error: with Proxy @'[ '[1]] (defined at T14343.hs:8:16) -T14343.hs:12:9: error: +T14343.hs:12:9: error: [GHC-88464] • Found hole: _ :: Proxy '[ '("Symbol", 1)] • In the expression: _ :: Proxy '[ '("Symbol", 1)] In an equation for ‘test3’: test3 = _ :: Proxy '[ '("Symbol", 1)] diff --git a/testsuite/tests/printer/T14343b.stderr b/testsuite/tests/printer/T14343b.stderr index cc2307984c..c19039ec7e 100644 --- a/testsuite/tests/printer/T14343b.stderr +++ b/testsuite/tests/printer/T14343b.stderr @@ -1,5 +1,5 @@ -T14343b.hs:10:9: error: +T14343b.hs:10:9: error: [GHC-88464] • Found hole: _ :: Proxy '( 'True, 'False) • In the expression: _ :: Proxy '( 'True, 'False) In an equation for ‘test1’: test1 = _ :: Proxy '( 'True, 'False) @@ -11,7 +11,7 @@ T14343b.hs:10:9: error: with Proxy @'( 'True, 'False) (defined at T14343b.hs:8:16) -T14343b.hs:11:9: error: +T14343b.hs:11:9: error: [GHC-88464] • Found hole: _ :: Proxy '( '( 'True, 'False), 'False) • In the expression: _ :: Proxy '( '( 'True, 'False), 'False) In an equation for ‘test2’: @@ -26,7 +26,7 @@ T14343b.hs:11:9: error: with Proxy @'( '( 'True, 'False), 'False) (defined at T14343b.hs:8:16) -T14343b.hs:12:9: error: +T14343b.hs:12:9: error: [GHC-88464] • Found hole: _ :: Proxy '( '[1], 'False) • In the expression: _ :: Proxy '( '[1], 'False) In an equation for ‘test3’: test3 = _ :: Proxy '( '[1], 'False) diff --git a/testsuite/tests/printer/T15761.stderr b/testsuite/tests/printer/T15761.stderr index 10425b43e6..83a6451b51 100644 --- a/testsuite/tests/printer/T15761.stderr +++ b/testsuite/tests/printer/T15761.stderr @@ -1,5 +1,5 @@ -T15761.hs:5:1: error: +T15761.hs:5:1: error: [GHC-83865] • Expecting one more argument to ‘(Int + Bool) Double’ Expected a type, but ‘(Int + Bool) Double’ has kind ‘* -> *’ • In the data instance declaration for ‘+’ diff --git a/testsuite/tests/printer/T17697.stderr b/testsuite/tests/printer/T17697.stderr index cdd9e7fc29..f7b63dae40 100644 --- a/testsuite/tests/printer/T17697.stderr +++ b/testsuite/tests/printer/T17697.stderr @@ -1,7 +1,7 @@ -T17697.hs:6:5: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T17697.hs:6:5: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: threadDelay :: t0 -> IO a0 -T17697.hs:6:5: warning: [-Wunused-do-bind (in -Wall)] +T17697.hs:6:5: warning: [GHC-81995] [-Wunused-do-bind (in -Wall)] A do-notation statement discarded a result of type ‘GHC.Types.Any’ Suggested fix: Suppress this warning by saying ‘_ <- threadDelay 1’ diff --git a/testsuite/tests/printer/Test20315.stderr b/testsuite/tests/printer/Test20315.stderr index 061459f23b..258abc1fda 100644 --- a/testsuite/tests/printer/Test20315.stderr +++ b/testsuite/tests/printer/Test20315.stderr @@ -1,5 +1,5 @@ -Test20315.hs:3:5: error: +Test20315.hs:3:5: error: [GHC-83865] • Couldn't match type ‘'Many’ with ‘m1 n1’ Expected: a1 %(m1 n1) -> a1 Actual: a1 -> a1 diff --git a/testsuite/tests/profiling/should_fail/T17916.stderr b/testsuite/tests/profiling/should_fail/T17916.stderr index d7072126fe..b523188975 100644 --- a/testsuite/tests/profiling/should_fail/T17916.stderr +++ b/testsuite/tests/profiling/should_fail/T17916.stderr @@ -1,2 +1,3 @@ -T17916.hs:6:13: error: parse error on input ‘CapitalCase’ +T17916.hs:6:13: error: [GHC-58481] + parse error on input ‘CapitalCase’ diff --git a/testsuite/tests/profiling/should_fail/proffail001.stderr b/testsuite/tests/profiling/should_fail/proffail001.stderr index 5dec3b9e54..d6eadc8867 100644 --- a/testsuite/tests/profiling/should_fail/proffail001.stderr +++ b/testsuite/tests/profiling/should_fail/proffail001.stderr @@ -1,2 +1,3 @@ -proffail001.hs:5:18: Spaces are not allowed in SCCs +proffail001.hs:5:18: error: [GHC-76176] + Spaces are not allowed in SCCs 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. diff --git a/testsuite/tests/quantified-constraints/T15290a.stderr b/testsuite/tests/quantified-constraints/T15290a.stderr index 7513fa4f9b..0153a1a937 100644 --- a/testsuite/tests/quantified-constraints/T15290a.stderr +++ b/testsuite/tests/quantified-constraints/T15290a.stderr @@ -1,5 +1,5 @@ -T15290a.hs:25:12: error: +T15290a.hs:25:12: error: [GHC-18872] • Couldn't match representation of type: m (Int, IntStateT m a1) with that of: m (Int, StateT Int m a1) arising from a use of ‘coerce’ diff --git a/testsuite/tests/quantified-constraints/T15290b.stderr b/testsuite/tests/quantified-constraints/T15290b.stderr index 1c96359d96..e2a426b70a 100644 --- a/testsuite/tests/quantified-constraints/T15290b.stderr +++ b/testsuite/tests/quantified-constraints/T15290b.stderr @@ -1,5 +1,5 @@ -T15290b.hs:28:49: error: +T15290b.hs:28:49: error: [GHC-18872] • Couldn't match representation of type: f (m b) with that of: f (T1 m b) arising from the coercion of the method ‘traverse'’ diff --git a/testsuite/tests/quantified-constraints/T15334.stderr b/testsuite/tests/quantified-constraints/T15334.stderr index 902d7a71e5..60476208aa 100644 --- a/testsuite/tests/quantified-constraints/T15334.stderr +++ b/testsuite/tests/quantified-constraints/T15334.stderr @@ -1,5 +1,5 @@ -T15334.hs:8:6: error: +T15334.hs:8:6: error: [GHC-69012] • You can't specify an instance for a tuple constraint • In the quantified constraint ‘forall a. Eq a => (C m a, D m a)’ In the type signature: diff --git a/testsuite/tests/quantified-constraints/T15918.stderr b/testsuite/tests/quantified-constraints/T15918.stderr index 4ee54563c5..0f4d7e5e07 100644 --- a/testsuite/tests/quantified-constraints/T15918.stderr +++ b/testsuite/tests/quantified-constraints/T15918.stderr @@ -1,5 +1,5 @@ -T15918.hs:19:19: error: +T15918.hs:19:19: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘k0 -> *’ Expected kind ‘(k0 -> *) -> Constraint’, but ‘[]’ has kind ‘* -> *’ • In the first argument of ‘Build’, namely ‘[]’ diff --git a/testsuite/tests/quantified-constraints/T16474.stderr b/testsuite/tests/quantified-constraints/T16474.stderr index b9e7f2d981..787d0c732d 100644 --- a/testsuite/tests/quantified-constraints/T16474.stderr +++ b/testsuite/tests/quantified-constraints/T16474.stderr @@ -1,8 +1,8 @@ -T16474.hs:6:1: - Quantified predicate must have a class or type variable head: - forall a. A t a => A t [a] - In the quantified constraint ‘forall a. A t a => A t [a]’ - In the context: forall a. A t a => A t [a] - While checking the super-classes of class ‘B’ - In the class declaration for ‘B’ +T16474.hs:6:1: error: [GHC-02550] + • Quantified predicate must have a class or type variable head: + forall a. A t a => A t [a] + • In the quantified constraint ‘forall a. A t a => A t [a]’ + In the context: forall a. A t a => A t [a] + While checking the super-classes of class ‘B’ + In the class declaration for ‘B’ diff --git a/testsuite/tests/quantified-constraints/T19921.stderr b/testsuite/tests/quantified-constraints/T19921.stderr index bf33abe256..4ebc2d227f 100644 --- a/testsuite/tests/quantified-constraints/T19921.stderr +++ b/testsuite/tests/quantified-constraints/T19921.stderr @@ -1,5 +1,5 @@ -T19921.hs:29:8: error: +T19921.hs:29:8: error: [GHC-05617] • Could not deduce ‘r’ arising from a use of ‘Dict’ from the context: (x \/ y) \/ z bound by a quantified context at T19921.hs:29:8-11 diff --git a/testsuite/tests/quantified-constraints/T21006.stderr b/testsuite/tests/quantified-constraints/T21006.stderr index cd8ee705bb..1abacf8eb5 100644 --- a/testsuite/tests/quantified-constraints/T21006.stderr +++ b/testsuite/tests/quantified-constraints/T21006.stderr @@ -1,5 +1,5 @@ -T21006.hs:14:10: error: +T21006.hs:14:10: error: [GHC-05617] • Could not deduce ‘c’ arising from the superclasses of an instance declaration from the context: (Determines b, Determines c) diff --git a/testsuite/tests/quasiquotation/T3953.stderr b/testsuite/tests/quasiquotation/T3953.stderr index 99c63b1c97..65006369c7 100644 --- a/testsuite/tests/quasiquotation/T3953.stderr +++ b/testsuite/tests/quasiquotation/T3953.stderr @@ -1,4 +1,4 @@ -T3953.hs:5:7: - Not in scope: ‘notDefinedHere’ - In the quasi-quotation: [notDefinedHere| |] +T3953.hs:5:7: error: [GHC-76037] + • Not in scope: ‘notDefinedHere’ + • In the quasi-quotation: [notDefinedHere| |] diff --git a/testsuite/tests/quasiquotation/T5204.stderr b/testsuite/tests/quasiquotation/T5204.stderr index 8f19d65cb2..22461f8bfe 100644 --- a/testsuite/tests/quasiquotation/T5204.stderr +++ b/testsuite/tests/quasiquotation/T5204.stderr @@ -1,2 +1,3 @@ -T5204.hs:17:7: unterminated quasiquotation at end of input +T5204.hs:17:7: error: [GHC-21231] + unterminated quasiquotation at end of input diff --git a/testsuite/tests/quotes/T10384.stderr b/testsuite/tests/quotes/T10384.stderr index f2360fd5ba..7bd14d6b6f 100644 --- a/testsuite/tests/quotes/T10384.stderr +++ b/testsuite/tests/quotes/T10384.stderr @@ -1,6 +1,6 @@ -T10384.hs:3:37: error: - Can't splice the polymorphic local variable ‘y’ - In the Template Haskell quotation [|| y ||] - In the expression: [|| y ||] - In the expression: \ (y :: forall a. a -> a) -> [|| y ||] +T10384.hs:3:37: error: [GHC-06568] + • Can't splice the polymorphic local variable ‘y’ + • In the Template Haskell quotation [|| y ||] + In the expression: [|| y ||] + In the expression: \ (y :: forall a. a -> a) -> [|| y ||] diff --git a/testsuite/tests/quotes/TH_abstractFamily.stderr b/testsuite/tests/quotes/TH_abstractFamily.stderr index c0aa8d274b..27684e9424 100644 --- a/testsuite/tests/quotes/TH_abstractFamily.stderr +++ b/testsuite/tests/quotes/TH_abstractFamily.stderr @@ -1,5 +1,5 @@ -TH_abstractFamily.hs:11:7: +TH_abstractFamily.hs:11:7: error: [GHC-65904] abstract closed type family not (yet) handled by Template Haskell type family G a where .. diff --git a/testsuite/tests/quotes/TH_localname.stderr b/testsuite/tests/quotes/TH_localname.stderr index 09cfae4b6e..07ad3c4084 100644 --- a/testsuite/tests/quotes/TH_localname.stderr +++ b/testsuite/tests/quotes/TH_localname.stderr @@ -1,5 +1,5 @@ -TH_localname.hs:3:11: error: +TH_localname.hs:3:11: error: [GHC-39999] • Ambiguous type variable ‘t0’ arising from a use of ‘Language.Haskell.TH.Syntax.lift’ prevents the constraint ‘(Language.Haskell.TH.Syntax.Lift t0)’ from being solved. @@ -17,7 +17,7 @@ TH_localname.hs:3:11: error: Language.Haskell.TH.Syntax.Lift (Maybe a) -- Defined in ‘Language.Haskell.TH.Syntax’ ...plus 15 others - ...plus 12 instances involving out-of-scope types + ...plus 13 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: Language.Haskell.TH.Syntax.lift y In the expression: diff --git a/testsuite/tests/rebindable/DoParamM.stderr b/testsuite/tests/rebindable/DoParamM.stderr index 41b56ecb07..012dad9035 100644 --- a/testsuite/tests/rebindable/DoParamM.stderr +++ b/testsuite/tests/rebindable/DoParamM.stderr @@ -1,11 +1,11 @@ -DoParamM.hs:146:25: error: +DoParamM.hs:146:25: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the second argument of ‘(==)’, namely ‘v'’ In the first argument of ‘return’, namely ‘(v == v')’ In a stmt of a 'do' block: return (v == v') -DoParamM.hs:286:28: error: +DoParamM.hs:286:28: error: [GHC-83865] • Couldn't match type ‘Unlocked’ with ‘Locked’ Expected: LIO Locked Locked () Actual: LIO Unlocked Locked () @@ -18,7 +18,7 @@ DoParamM.hs:286:28: error: = do tlock2_do tlock2_do -DoParamM.hs:302:37: error: +DoParamM.hs:302:37: error: [GHC-83865] • Couldn't match type ‘Locked’ with ‘Unlocked’ Expected: LIO Unlocked Unlocked () Actual: LIO Locked Unlocked () diff --git a/testsuite/tests/rebindable/T20126.stderr b/testsuite/tests/rebindable/T20126.stderr index c23bab54e5..62789da490 100644 --- a/testsuite/tests/rebindable/T20126.stderr +++ b/testsuite/tests/rebindable/T20126.stderr @@ -1,5 +1,5 @@ -T20126.hs:13:7: error: +T20126.hs:13:7: error: [GHC-39999] • No instance for ‘Wombat ()’ arising from an if-then-else expression • In the expression: if True then () else () diff --git a/testsuite/tests/rebindable/rebindable11.stderr b/testsuite/tests/rebindable/rebindable11.stderr index 5a8acefd9f..07ff6692ab 100644 --- a/testsuite/tests/rebindable/rebindable11.stderr +++ b/testsuite/tests/rebindable/rebindable11.stderr @@ -1,48 +1,48 @@ -rebindable11.hs:10:19: error: +rebindable11.hs:10:19: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the expression: if 'a' then () else () In an equation for ‘foo’: foo = if 'a' then () else () -rebindable11.hs:11:10: error: +rebindable11.hs:11:10: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the first argument of ‘(*)’, namely ‘(if 'a' then () else ())’ In the first argument of ‘(+)’, namely ‘(if 'a' then () else ()) * 2’ -rebindable11.hs:12:9: error: +rebindable11.hs:12:9: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the expression: if 'a' then () else () In an equation for ‘a3’: a3 = if 'a' then () else () -rebindable11.hs:13:13: error: +rebindable11.hs:13:13: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the first argument of ‘(==)’, namely ‘(if 'a' then () else ())’ In the expression: (if 'a' then () else ()) == 10 -rebindable11.hs:14:17: error: +rebindable11.hs:14:17: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the body of a static form: (if 'a' then () else ()) In the expression: static (if 'a' then () else ()) -rebindable11.hs:15:10: error: +rebindable11.hs:15:10: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the expression: (if 'a' then () else ()) :: Int In an equation for ‘a6’: a6 = (if 'a' then () else ()) :: Int -rebindable11.hs:18:21: error: +rebindable11.hs:18:21: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the ‘field’ field of a record In the expression: A {field = if 'a' then () else ()} -rebindable11.hs:19:53: error: +rebindable11.hs:19:53: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the second argument of ‘(==)’, namely ‘'a'’ In the expression: True == 'a' diff --git a/testsuite/tests/rebindable/rebindable12.stderr b/testsuite/tests/rebindable/rebindable12.stderr index e6c97e95f6..5a914418e8 100644 --- a/testsuite/tests/rebindable/rebindable12.stderr +++ b/testsuite/tests/rebindable/rebindable12.stderr @@ -1,5 +1,5 @@ -rebindable12.hs:10:5: - Couldn't match expected type ‘()’ with actual type ‘() -> ()’ - In the expression: if 'a' then () else () +rebindable12.hs:10:5: error: [GHC-83865] + • Couldn't match expected type ‘()’ with actual type ‘() -> ()’ + • In the expression: if 'a' then () else () In an equation for ‘y’: y = if 'a' then () else () diff --git a/testsuite/tests/rebindable/rebindable6.stderr b/testsuite/tests/rebindable/rebindable6.stderr index 1c9c3ee1e1..61cb0d9775 100644 --- a/testsuite/tests/rebindable/rebindable6.stderr +++ b/testsuite/tests/rebindable/rebindable6.stderr @@ -1,5 +1,5 @@ -rebindable6.hs:110:17: error: +rebindable6.hs:110:17: error: [GHC-39999] • Ambiguous type variable ‘t0’ arising from a do statement prevents the constraint ‘(HasSeq (IO a -> t0 -> IO b))’ from being solved. @@ -24,7 +24,7 @@ rebindable6.hs:110:17: error: Just (b :: b) <- g return b -rebindable6.hs:111:17: error: +rebindable6.hs:111:17: error: [GHC-39999] • Ambiguous type variables ‘p0’, ‘t0’ arising from a do statement prevents the constraint ‘(HasBind (IO (Maybe b) -> (Maybe b -> p0) -> t0))’ from being solved. @@ -49,7 +49,7 @@ rebindable6.hs:111:17: error: Just (b :: b) <- g return b -rebindable6.hs:112:17: error: +rebindable6.hs:112:17: error: [GHC-39999] • Ambiguous type variable ‘p0’ arising from a use of ‘return’ prevents the constraint ‘(HasReturn (b -> p0))’ from being solved. (maybe you haven't applied a function to enough arguments?) diff --git a/testsuite/tests/rename/prog002/rename.prog002.stderr b/testsuite/tests/rename/prog002/rename.prog002.stderr index 9fe478288f..ed70237ce5 100644 --- a/testsuite/tests/rename/prog002/rename.prog002.stderr +++ b/testsuite/tests/rename/prog002/rename.prog002.stderr @@ -1,5 +1,5 @@ -rnfail037.hs:8:7: error: +rnfail037.hs:8:7: error: [GHC-76037] Not in scope: data constructor ‘Rn037Help.C’ Suggested fix: Perhaps you want to remove ‘C’ from the explicit hiding list diff --git a/testsuite/tests/rename/prog003/rename.prog003.stderr b/testsuite/tests/rename/prog003/rename.prog003.stderr index b8f84781a6..cba2bbcc8f 100644 --- a/testsuite/tests/rename/prog003/rename.prog003.stderr +++ b/testsuite/tests/rename/prog003/rename.prog003.stderr @@ -1,2 +1,3 @@ -B.hs:4:6: error: Not in scope: type constructor or class ‘Class’ +B.hs:4:6: error: [GHC-76037] + Not in scope: type constructor or class ‘Class’ diff --git a/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr b/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr index 7ac9b08cb2..d74f06b452 100644 --- a/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr +++ b/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr @@ -1,5 +1,5 @@ -ExplicitForAllRules1.hs:45:31: warning: [-Wforall-identifier (in -Wdefault)] +ExplicitForAllRules1.hs:45:31: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T12597.stderr b/testsuite/tests/rename/should_compile/T12597.stderr index e3df440372..667e27e47f 100644 --- a/testsuite/tests/rename/should_compile/T12597.stderr +++ b/testsuite/tests/rename/should_compile/T12597.stderr @@ -1,3 +1,3 @@ -T12597.hs:5:1: warning: [-Wmissing-signatures (in -Wall)] +T12597.hs:5:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: f :: p -> p diff --git a/testsuite/tests/rename/should_compile/T13646.stderr b/testsuite/tests/rename/should_compile/T13646.stderr index ad23c444c9..8e491aff9b 100644 --- a/testsuite/tests/rename/should_compile/T13646.stderr +++ b/testsuite/tests/rename/should_compile/T13646.stderr @@ -1,3 +1,3 @@ -T13646.hs:12:14: warning: [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] +T13646.hs:12:14: warning: [GHC-61367] [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] This pattern-binding binds no variables: () = assert False () diff --git a/testsuite/tests/rename/should_compile/T1789.stderr b/testsuite/tests/rename/should_compile/T1789.stderr index dc7f00360a..d15f0044a2 100644 --- a/testsuite/tests/rename/should_compile/T1789.stderr +++ b/testsuite/tests/rename/should_compile/T1789.stderr @@ -5,7 +5,7 @@ T1789.hs:6:1: warning: [-Wmissing-import-lists] T1789.hs:7:1: warning: [-Wmissing-import-lists] The module ‘Data.Map’ does not have an explicit import list -T1789.hs:9:1: warning: [-Wmissing-import-lists] +T1789.hs:9:1: warning: [GHC-77037] [-Wmissing-import-lists] The import item ‘Maybe(..)’ does not have an explicit import list T1789.hs:10:1: warning: [-Wmissing-import-lists] diff --git a/testsuite/tests/rename/should_compile/T17c.stderr b/testsuite/tests/rename/should_compile/T17c.stderr index 194e598099..5bd67c14f4 100644 --- a/testsuite/tests/rename/should_compile/T17c.stderr +++ b/testsuite/tests/rename/should_compile/T17c.stderr @@ -1,3 +1,3 @@ -T17c.hs:11:11: warning: [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] +T17c.hs:11:11: warning: [GHC-61367] [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] This pattern-binding binds no variables: True = True diff --git a/testsuite/tests/rename/should_compile/T17e.stderr b/testsuite/tests/rename/should_compile/T17e.stderr index 2d0e0bdc87..3e691426ea 100644 --- a/testsuite/tests/rename/should_compile/T17e.stderr +++ b/testsuite/tests/rename/should_compile/T17e.stderr @@ -2,7 +2,7 @@ T17e.hs:8:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)] Defined but not used: ‘top’ -T17e.hs:11:11: warning: [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] +T17e.hs:11:11: warning: [GHC-61367] [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] This pattern-binding binds no variables: True = True T17e.hs:17:12: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)] diff --git a/testsuite/tests/rename/should_compile/T1972.stderr b/testsuite/tests/rename/should_compile/T1972.stderr index 3311f0aded..d3d92a213a 100644 --- a/testsuite/tests/rename/should_compile/T1972.stderr +++ b/testsuite/tests/rename/should_compile/T1972.stderr @@ -1,9 +1,9 @@ -T1972.hs:13:3: warning: [-Wname-shadowing (in -Wall)] +T1972.hs:13:3: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘name’ shadows the existing binding defined at T1972.hs:10:19 -T1972.hs:15:3: warning: [-Wname-shadowing (in -Wall)] +T1972.hs:15:3: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘mapAccumL’ shadows the existing bindings imported from ‘Data.List’ at T1972.hs:8:19-27 (and originally defined in ‘Data.Traversable’) diff --git a/testsuite/tests/rename/should_compile/T19984.stderr b/testsuite/tests/rename/should_compile/T19984.stderr index 1f814797be..3bf2c42e92 100644 --- a/testsuite/tests/rename/should_compile/T19984.stderr +++ b/testsuite/tests/rename/should_compile/T19984.stderr @@ -1,20 +1,20 @@ -T19984.hs:10:15: warning: [-Wunticked-promoted-constructors] +T19984.hs:10:15: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: : Suggested fix: Use ': instead of : -T19984.hs:11:11: warning: [-Wunticked-promoted-constructors] +T19984.hs:11:11: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted list. Suggested fix: Add a promotion tick, e.g. '[x,y,z]. -T19984.hs:12:11: warning: [-Wunticked-promoted-constructors] +T19984.hs:12:11: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: (:). Suggested fix: Use '(:) instead of (:). -T19984.hs:13:15: warning: [-Wunticked-promoted-constructors] +T19984.hs:13:15: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: :- Suggested fix: Use ':- instead of :- -T19984.hs:14:11: warning: [-Wunticked-promoted-constructors] +T19984.hs:14:11: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: (:-). Suggested fix: Use '(:-) instead of (:-). diff --git a/testsuite/tests/rename/should_compile/T20472.stderr b/testsuite/tests/rename/should_compile/T20472.stderr index 0b26c5b480..c1b18c4951 100644 --- a/testsuite/tests/rename/should_compile/T20472.stderr +++ b/testsuite/tests/rename/should_compile/T20472.stderr @@ -1,9 +1,9 @@ -T20472.hs:5:5: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T20472.hs:5:5: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: nonexistent -T20472.hs:6:5: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T20472.hs:6:5: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: nonexistent -T20472.hs:8:5: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T20472.hs:8:5: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: x diff --git a/testsuite/tests/rename/should_compile/T20609.stderr b/testsuite/tests/rename/should_compile/T20609.stderr index a9958e2b85..9354676c45 100644 --- a/testsuite/tests/rename/should_compile/T20609.stderr +++ b/testsuite/tests/rename/should_compile/T20609.stderr @@ -1,47 +1,47 @@ -T20609.hs:6:1: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:6:1: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:8:1: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:8:1: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘∀’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:10:8: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:10:8: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:12:11: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:12:11: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:14:16: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:14:16: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:16:25: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:16:25: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:18:40: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:18:40: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T20609a.stderr b/testsuite/tests/rename/should_compile/T20609a.stderr index d828a1b269..a0f2e3a323 100644 --- a/testsuite/tests/rename/should_compile/T20609a.stderr +++ b/testsuite/tests/rename/should_compile/T20609a.stderr @@ -1,5 +1,5 @@ -T20609a.hs:6:23: warning: [-Wforall-identifier (in -Wdefault)] +T20609a.hs:6:23: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T20609b.stderr b/testsuite/tests/rename/should_compile/T20609b.stderr index c356dde8b0..dcaabbdaef 100644 --- a/testsuite/tests/rename/should_compile/T20609b.stderr +++ b/testsuite/tests/rename/should_compile/T20609b.stderr @@ -1,5 +1,5 @@ -T20609b.hs:7:3: warning: [-Wforall-identifier (in -Wdefault)] +T20609b.hs:7:3: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T20609c.stderr b/testsuite/tests/rename/should_compile/T20609c.stderr index c22ead3d0b..4f24da7960 100644 --- a/testsuite/tests/rename/should_compile/T20609c.stderr +++ b/testsuite/tests/rename/should_compile/T20609c.stderr @@ -1,12 +1,12 @@ -T20609c.hs:5:22: warning: [-Wforall-identifier (in -Wdefault)] +T20609c.hs:5:22: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609c.hs:7:27: warning: [-Wforall-identifier (in -Wdefault)] +T20609c.hs:7:27: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T20609d.stderr b/testsuite/tests/rename/should_compile/T20609d.stderr index 8060b3298f..e4829f2d2d 100644 --- a/testsuite/tests/rename/should_compile/T20609d.stderr +++ b/testsuite/tests/rename/should_compile/T20609d.stderr @@ -1,5 +1,5 @@ -T20609d.hs:6:3: warning: [-Wforall-identifier (in -Wdefault)] +T20609d.hs:6:3: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T2600.stderr b/testsuite/tests/rename/should_compile/T2600.stderr index 64ef6e9e82..78cc8a6513 100644 --- a/testsuite/tests/rename/should_compile/T2600.stderr +++ b/testsuite/tests/rename/should_compile/T2600.stderr @@ -1,13 +1,10 @@ -T2600.hs:16:1: warning: [-Winline-rule-shadowing (in -Wdefault)] +T2600.hs:16:1: warning: [GHC-87502] [-Winline-rule-shadowing (in -Wdefault)] Rule "myrule" may never fire because rule "Class op to" for ‘to’ might fire first - Suggested fix: - Add phase [n] or [~n] to the competing rule + Suggested fix: Add phase [n] or [~n] to the competing rule -T2600.hs:16:1: warning: [-Winline-rule-shadowing (in -Wdefault)] +T2600.hs:16:1: warning: [GHC-87502] [-Winline-rule-shadowing (in -Wdefault)] Rule "myrule" may never fire because rule "Class op tmap" for ‘tmap’ might fire first - Suggested fix: - Add phase [n] or [~n] to the competing rule - + Suggested fix: Add phase [n] or [~n] to the competing rule diff --git a/testsuite/tests/rename/should_compile/T3262.stderr b/testsuite/tests/rename/should_compile/T3262.stderr index 69500176b8..03ad00f42f 100644 --- a/testsuite/tests/rename/should_compile/T3262.stderr +++ b/testsuite/tests/rename/should_compile/T3262.stderr @@ -1,8 +1,8 @@ -T3262.hs:12:11: warning: [-Wname-shadowing (in -Wall)] +T3262.hs:12:11: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘not_ignored’ shadows the existing binding bound at T3262.hs:11:11 -T3262.hs:20:15: warning: [-Wname-shadowing (in -Wall)] +T3262.hs:20:15: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘not_ignored’ shadows the existing binding bound at T3262.hs:19:15 diff --git a/testsuite/tests/rename/should_compile/T3823.stderr b/testsuite/tests/rename/should_compile/T3823.stderr index 6287a3529f..de96feee44 100644 --- a/testsuite/tests/rename/should_compile/T3823.stderr +++ b/testsuite/tests/rename/should_compile/T3823.stderr @@ -1,6 +1,6 @@ -T3823B.hs:8:7: error: - Couldn't match expected type ‘A’ with actual type ‘Bool’ - In the first argument of ‘y’, namely ‘a’ - In the expression: y a - In an equation for ‘b’: b = y a +T3823B.hs:8:7: error: [GHC-83865] + • Couldn't match expected type ‘A’ with actual type ‘Bool’ + • In the first argument of ‘y’, namely ‘a’ + In the expression: y a + In an equation for ‘b’: b = y a diff --git a/testsuite/tests/rename/should_compile/T4426.stderr b/testsuite/tests/rename/should_compile/T4426.stderr index 0d0b70628c..720786d998 100644 --- a/testsuite/tests/rename/should_compile/T4426.stderr +++ b/testsuite/tests/rename/should_compile/T4426.stderr @@ -1,18 +1,18 @@ -T4426.hs:10:18: error: Not in scope: type variable ‘m’ +T4426.hs:10:18: error: [GHC-76037] Not in scope: type variable ‘m’ -T4426.hs:10:28: error: Not in scope: type variable ‘m’ +T4426.hs:10:28: error: [GHC-76037] Not in scope: type variable ‘m’ -T4426.hs:12:18: error: Not in scope: type variable ‘b’ +T4426.hs:12:18: error: [GHC-76037] Not in scope: type variable ‘b’ -T4426.hs:12:28: error: Not in scope: type variable ‘b’ +T4426.hs:12:28: error: [GHC-76037] Not in scope: type variable ‘b’ -T4426.hs:14:24: error: Not in scope: type variable ‘b’ +T4426.hs:14:24: error: [GHC-76037] Not in scope: type variable ‘b’ -T4426.hs:14:34: error: Not in scope: type variable ‘b’ +T4426.hs:14:34: error: [GHC-76037] Not in scope: type variable ‘b’ -T4426.hs:14:39: error: Not in scope: type variable ‘c’ +T4426.hs:14:39: error: [GHC-76037] Not in scope: type variable ‘c’ -T4426.hs:16:23: error: Not in scope: type variable ‘m’ +T4426.hs:16:23: error: [GHC-76037] Not in scope: type variable ‘m’ -T4426.hs:16:28: error: Not in scope: type variable ‘m’ +T4426.hs:16:28: error: [GHC-76037] Not in scope: type variable ‘m’ diff --git a/testsuite/tests/rename/should_compile/T4489.stderr b/testsuite/tests/rename/should_compile/T4489.stderr index abb6438745..7e1bfbac38 100644 --- a/testsuite/tests/rename/should_compile/T4489.stderr +++ b/testsuite/tests/rename/should_compile/T4489.stderr @@ -2,5 +2,5 @@ T4489.hs:4:1: warning: [-Wmissing-import-lists] The module ‘Data.Maybe’ does not have an explicit import list -T4489.hs:5:1: warning: [-Wmissing-import-lists] +T4489.hs:5:1: warning: [GHC-77037] [-Wmissing-import-lists] The import item ‘Maybe(..)’ does not have an explicit import list diff --git a/testsuite/tests/rename/should_compile/T5334.stderr b/testsuite/tests/rename/should_compile/T5334.stderr index ef22a01608..e366873d23 100644 --- a/testsuite/tests/rename/should_compile/T5334.stderr +++ b/testsuite/tests/rename/should_compile/T5334.stderr @@ -1,5 +1,5 @@ -T5334.hs:7:5: warning: [-Wmissing-fields (in -Wdefault)] +T5334.hs:7:5: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘T’ not initialised: b :: Int • In the expression: T {..} @@ -8,7 +8,7 @@ T5334.hs:7:5: warning: [-Wmissing-fields (in -Wdefault)] where a = 1 -T5334.hs:14:5: warning: [-Wmissing-fields (in -Wdefault)] +T5334.hs:14:5: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘S’ not initialised: y :: Int • In the expression: S {x = 1} diff --git a/testsuite/tests/rename/should_compile/T5867.stderr b/testsuite/tests/rename/should_compile/T5867.stderr index 34724ad487..9bef44b1d0 100644 --- a/testsuite/tests/rename/should_compile/T5867.stderr +++ b/testsuite/tests/rename/should_compile/T5867.stderr @@ -1,8 +1,8 @@ -T5867.hs:4:7: warning: [-Wdeprecations (in -Wdefault)] +T5867.hs:4:7: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘f’ (imported from T5867a): Deprecated: "Don't use f!" -T5867.hs:5:7: warning: [-Wdeprecations (in -Wdefault)] +T5867.hs:5:7: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘f’ (imported from T5867a): Deprecated: "Don't use f!" diff --git a/testsuite/tests/rename/should_compile/T7085.stderr b/testsuite/tests/rename/should_compile/T7085.stderr index 6b60f62f48..564a542037 100644 --- a/testsuite/tests/rename/should_compile/T7085.stderr +++ b/testsuite/tests/rename/should_compile/T7085.stderr @@ -1,7 +1,7 @@ -T7085.hs:8:6: warning: [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] +T7085.hs:8:6: warning: [GHC-61367] [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] This pattern-binding binds no variables: Nothing = Just n -T7085.hs:8:6: warning: [-Woverlapping-patterns (in -Wdefault)] +T7085.hs:8:6: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding: Nothing = ... diff --git a/testsuite/tests/rename/should_compile/T9778.stderr b/testsuite/tests/rename/should_compile/T9778.stderr index 24a9c3c958..8c5f09200d 100644 --- a/testsuite/tests/rename/should_compile/T9778.stderr +++ b/testsuite/tests/rename/should_compile/T9778.stderr @@ -1,8 +1,8 @@ -T9778.hs:12:10: warning: [-Wunticked-promoted-constructors] +T9778.hs:12:10: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: A. Suggested fix: Use 'A instead of A. -T9778.hs:16:14: warning: [-Wunticked-promoted-constructors] +T9778.hs:16:14: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: `MkD`. Suggested fix: Use '`MkD` instead of `MkD`. diff --git a/testsuite/tests/rename/should_compile/rn039.stderr b/testsuite/tests/rename/should_compile/rn039.stderr index b662775e53..8d9dc1ec0a 100644 --- a/testsuite/tests/rename/should_compile/rn039.stderr +++ b/testsuite/tests/rename/should_compile/rn039.stderr @@ -1,5 +1,5 @@ -rn039.hs:6:16: warning: [-Wname-shadowing (in -Wall)] +rn039.hs:6:16: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘-’ shadows the existing binding imported from ‘Prelude’ at rn039.hs:2:8-20 (and originally defined in ‘GHC.Num’) diff --git a/testsuite/tests/rename/should_compile/rn050.stderr b/testsuite/tests/rename/should_compile/rn050.stderr index 93df1a93ea..7eb3badaa3 100644 --- a/testsuite/tests/rename/should_compile/rn050.stderr +++ b/testsuite/tests/rename/should_compile/rn050.stderr @@ -1,8 +1,8 @@ -rn050.hs:13:7: warning: [-Wdeprecations (in -Wdefault)] +rn050.hs:13:7: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘op’ (imported from Rn050_A): Deprecated: "Use bop instead" -rn050.hs:13:10: warning: [-Wdeprecations (in -Wdefault)] +rn050.hs:13:10: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of data constructor ‘C’ (imported from Rn050_A): Deprecated: "Use D instead" diff --git a/testsuite/tests/rename/should_compile/rn064.stderr b/testsuite/tests/rename/should_compile/rn064.stderr index cac51b1a39..034ed9415d 100644 --- a/testsuite/tests/rename/should_compile/rn064.stderr +++ b/testsuite/tests/rename/should_compile/rn064.stderr @@ -1,4 +1,4 @@ -rn064.hs:13:12: warning: [-Wname-shadowing (in -Wall)] +rn064.hs:13:12: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘r’ shadows the existing binding bound at rn064.hs:15:9 diff --git a/testsuite/tests/rename/should_compile/rn066.stderr b/testsuite/tests/rename/should_compile/rn066.stderr index 660129f07a..ff29113bd8 100644 --- a/testsuite/tests/rename/should_compile/rn066.stderr +++ b/testsuite/tests/rename/should_compile/rn066.stderr @@ -1,8 +1,8 @@ -rn066.hs:13:7: warning: [-Wdeprecations (in -Wdefault)] +rn066.hs:13:7: warning: [GHC-63394] [-Wdeprecations (in -Wdefault)] In the use of ‘op’ (imported from Rn066_A): "Is that really a good idea?" -rn066.hs:13:10: warning: [-Wdeprecations (in -Wdefault)] +rn066.hs:13:10: warning: [GHC-63394] [-Wdeprecations (in -Wdefault)] In the use of data constructor ‘C’ (imported from Rn066_A): "Are you sure you want to do that?" diff --git a/testsuite/tests/rename/should_fail/ExplicitForAllRules2.stderr b/testsuite/tests/rename/should_fail/ExplicitForAllRules2.stderr index 909cc0ae20..8930d4d1fd 100644 --- a/testsuite/tests/rename/should_fail/ExplicitForAllRules2.stderr +++ b/testsuite/tests/rename/should_fail/ExplicitForAllRules2.stderr @@ -1,10 +1,10 @@ -ExplicitForAllRules2.hs:6:41: error: +ExplicitForAllRules2.hs:6:41: error: [GHC-76037] Not in scope: type variable ‘b’ ExplicitForAllRules2.hs:7:11: error: Rule "new5": Forall'd variable ‘x’ does not appear on left hand side -ExplicitForAllRules2.hs:8:49: error: +ExplicitForAllRules2.hs:8:49: error: [GHC-76037] Not in scope: type variable ‘c’ diff --git a/testsuite/tests/rename/should_fail/RnStaticPointersFail01.stderr b/testsuite/tests/rename/should_fail/RnStaticPointersFail01.stderr index 52adc5b55b..ce9052593e 100644 --- a/testsuite/tests/rename/should_fail/RnStaticPointersFail01.stderr +++ b/testsuite/tests/rename/should_fail/RnStaticPointersFail01.stderr @@ -1,6 +1,6 @@ -RnStaticPointersFail01.hs:5:7: - ‘x’ is used in a static form but it is not closed because it - is not let-bound. - In the expression: static x - In an equation for ‘f’: f x = static x +RnStaticPointersFail01.hs:5:7: error: [GHC-88431] + • ‘x’ is used in a static form but it is not closed because it + is not let-bound. + • In the expression: static x + In an equation for ‘f’: f x = static x diff --git a/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr b/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr index 6367162c68..07405667df 100644 --- a/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr +++ b/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr @@ -1,5 +1,5 @@ -RnStaticPointersFail02.hs:5:12: error: +RnStaticPointersFail02.hs:5:12: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘T’ • defined at RnStaticPointersFail02.hs:7:1 • In the body of a static form: T diff --git a/testsuite/tests/rename/should_fail/RnStaticPointersFail03.stderr b/testsuite/tests/rename/should_fail/RnStaticPointersFail03.stderr index 3ba18c6869..6ccee354a9 100644 --- a/testsuite/tests/rename/should_fail/RnStaticPointersFail03.stderr +++ b/testsuite/tests/rename/should_fail/RnStaticPointersFail03.stderr @@ -1,29 +1,29 @@ -RnStaticPointersFail03.hs:8:7: - ‘x’ is used in a static form but it is not closed because it - is not let-bound. - In the expression: static (x . id) - In an equation for ‘f’: f x = static (x . id) +RnStaticPointersFail03.hs:8:7: error: [GHC-88431] + • ‘x’ is used in a static form but it is not closed because it + is not let-bound. + • In the expression: static (x . id) + In an equation for ‘f’: f x = static (x . id) -RnStaticPointersFail03.hs:10:8: - ‘k’ is used in a static form but it is not closed because it - uses ‘x’ which is not let-bound. - In the expression: static (k . id) - In an equation for ‘f0’: - f0 x - = static (k . id) - where - k = const (const () x) +RnStaticPointersFail03.hs:10:8: error: [GHC-88431] + • ‘k’ is used in a static form but it is not closed because it + uses ‘x’ which is not let-bound. + • In the expression: static (k . id) + In an equation for ‘f0’: + f0 x + = static (k . id) + where + k = const (const () x) -RnStaticPointersFail03.hs:19:15: - ‘g’ is used in a static form but it is not closed because it - uses ‘h’ which has a non-closed type because it contains the - type variables: ‘a’ - In the first argument of ‘const’, namely ‘(static (g undefined))’ - In the expression: const (static (g undefined)) (h x) - In an equation for ‘f2’: - f2 x - = const (static (g undefined)) (h x) - where - g = h - h = typeOf +RnStaticPointersFail03.hs:19:15: error: [GHC-88431] + • ‘g’ is used in a static form but it is not closed because it + uses ‘h’ which has a non-closed type because it contains the + type variables: ‘a’ + • In the first argument of ‘const’, namely ‘(static (g undefined))’ + In the expression: const (static (g undefined)) (h x) + In an equation for ‘f2’: + f2 x + = const (static (g undefined)) (h x) + where + g = h + h = typeOf diff --git a/testsuite/tests/rename/should_fail/T10618.stderr b/testsuite/tests/rename/should_fail/T10618.stderr index 629e93727b..f67456009e 100644 --- a/testsuite/tests/rename/should_fail/T10618.stderr +++ b/testsuite/tests/rename/should_fail/T10618.stderr @@ -1,5 +1,5 @@ -T10618.hs:3:22: error: +T10618.hs:3:22: error: [GHC-88464] Variable not in scope: (<|>) :: Maybe (Maybe a0) -> Maybe a1 -> t Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/rename/should_fail/T10781.stderr b/testsuite/tests/rename/should_fail/T10781.stderr index 3a5ccde99f..7a7f017442 100644 --- a/testsuite/tests/rename/should_fail/T10781.stderr +++ b/testsuite/tests/rename/should_fail/T10781.stderr @@ -1,4 +1,4 @@ -T10781.hs:12:5: error: +T10781.hs:12:5: error: [GHC-76037] Not in scope: ‘Foo._name’ NB: no module named ‘Foo’ is imported. diff --git a/testsuite/tests/rename/should_fail/T11071.stderr b/testsuite/tests/rename/should_fail/T11071.stderr index 4faad680ec..ceb215ddb6 100644 --- a/testsuite/tests/rename/should_fail/T11071.stderr +++ b/testsuite/tests/rename/should_fail/T11071.stderr @@ -1,42 +1,42 @@ -T11071.hs:19:12: error: +T11071.hs:19:12: error: [GHC-76037] Not in scope: ‘NoSuchModule.foo’ NB: no module named ‘NoSuchModule’ is imported. -T11071.hs:20:12: error: +T11071.hs:20:12: error: [GHC-76037] Not in scope: ‘Data.List.foobar’ NB: the module ‘Data.List’ does not export ‘foobar’. -T11071.hs:21:12: error: +T11071.hs:21:12: error: [GHC-76037] Not in scope: ‘M.foobar’ NB: neither ‘Data.IntMap’ nor ‘Data.Map’ export ‘foobar’. -T11071.hs:22:12: error: +T11071.hs:22:12: error: [GHC-76037] Not in scope: ‘M'.foobar’ NB: neither ‘System.IO’, ‘Data.IntMap’ nor ‘Data.Map’ export ‘foobar’. -T11071.hs:23:12: error: +T11071.hs:23:12: error: [GHC-76037] Not in scope: ‘Data.List.sort’ Suggested fix: Perhaps you want to add ‘sort’ to the import list in the import of ‘Data.List’ (T11071.hs:3:1-24). -T11071.hs:24:12: error: +T11071.hs:24:12: error: [GHC-76037] Not in scope: ‘Data.List.unlines’ Suggested fixes: • Perhaps use ‘Data.List.lines’ (imported from Data.List) • Perhaps you want to add ‘unlines’ to the import list in the import of ‘Data.List’ (T11071.hs:3:1-24). -T11071.hs:25:12: error: +T11071.hs:25:12: error: [GHC-76037] Not in scope: ‘M.size’ Suggested fix: Perhaps you want to add ‘size’ to one of these import lists: ‘Data.IntMap’ (T11071.hs:5:1-36) ‘Data.Map’ (T11071.hs:4:1-33) -T11071.hs:26:12: error: +T11071.hs:26:12: error: [GHC-76037] Not in scope: ‘M.valid’ Suggested fixes: • Perhaps use one of these: @@ -45,13 +45,13 @@ T11071.hs:26:12: error: • Perhaps you want to add ‘valid’ to the import list in the import of ‘Data.Map’ (T11071.hs:4:1-33). -T11071.hs:27:12: error: +T11071.hs:27:12: error: [GHC-76037] Not in scope: data constructor ‘Ord.Down’ Suggested fix: Perhaps you want to remove ‘Down’ from the explicit hiding list in the import of ‘Data.Ord’ (T11071.hs:8:1-46). -T11071.hs:28:12: error: +T11071.hs:28:12: error: [GHC-76037] Not in scope: ‘M'.size’ Suggested fix: Perhaps you want to remove ‘size’ from the hiding clauses diff --git a/testsuite/tests/rename/should_fail/T11071a.stderr b/testsuite/tests/rename/should_fail/T11071a.stderr index 5a2a9e92fa..6ab683b74b 100644 --- a/testsuite/tests/rename/should_fail/T11071a.stderr +++ b/testsuite/tests/rename/should_fail/T11071a.stderr @@ -1,11 +1,11 @@ -T11071a.hs:12:12: error: +T11071a.hs:12:12: error: [GHC-88464] Variable not in scope: intersperse Suggested fix: Perhaps you want to add ‘intersperse’ to the import list in the import of ‘Data.List’ (T11071a.hs:3:1-24). -T11071a.hs:13:12: error: +T11071a.hs:13:12: error: [GHC-88464] Variable not in scope: foldl' Suggested fixes: • Perhaps use one of these: @@ -15,16 +15,16 @@ T11071a.hs:13:12: error: ‘Data.List’ (T11071a.hs:3:1-24) ‘Data.IntMap’ (T11071a.hs:4:1-21) -T11071a.hs:14:12: error: +T11071a.hs:14:12: error: [GHC-88464] Data constructor not in scope: Down Suggested fix: Perhaps you want to remove ‘Down’ from the explicit hiding list in the import of ‘Data.Ord’ (T11071a.hs:5:1-29). -T11071a.hs:15:12: error: +T11071a.hs:15:12: error: [GHC-88464] Data constructor not in scope: True Suggested fix: Perhaps you want to remove ‘True’ from the explicit hiding list in the import of ‘Prelude’ (T11071a.hs:6:1-28). -T11071a.hs:16:12: error: Variable not in scope: foobar +T11071a.hs:16:12: error: [GHC-88464] Variable not in scope: foobar diff --git a/testsuite/tests/rename/should_fail/T11592.stderr b/testsuite/tests/rename/should_fail/T11592.stderr index 9adac1549b..362e662fcb 100644 --- a/testsuite/tests/rename/should_fail/T11592.stderr +++ b/testsuite/tests/rename/should_fail/T11592.stderr @@ -1,8 +1,8 @@ -T11592.hs:5:14: error: Not in scope: type variable ‘a’ +T11592.hs:5:14: error: [GHC-76037] Not in scope: type variable ‘a’ -T11592.hs:7:16: error: Not in scope: type variable ‘a’ +T11592.hs:7:16: error: [GHC-76037] Not in scope: type variable ‘a’ -T11592.hs:8:18: error: Not in scope: type variable ‘a’ +T11592.hs:8:18: error: [GHC-76037] Not in scope: type variable ‘a’ -T11592.hs:10:20: error: Not in scope: type variable ‘a’ +T11592.hs:10:20: error: [GHC-76037] Not in scope: type variable ‘a’ diff --git a/testsuite/tests/rename/should_fail/T12229.stderr b/testsuite/tests/rename/should_fail/T12229.stderr index 6eb4de53e2..e2758fe420 100644 --- a/testsuite/tests/rename/should_fail/T12229.stderr +++ b/testsuite/tests/rename/should_fail/T12229.stderr @@ -1,5 +1,5 @@ -T12229.hs:7:7: warning: [-Wmissing-fields (in -Wdefault)] +T12229.hs:7:7: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘MkT’ not initialised: pi :: Float • In the expression: MkT {..} diff --git a/testsuite/tests/rename/should_fail/T12681.stderr b/testsuite/tests/rename/should_fail/T12681.stderr index 9f57265bcd..3a48d80c17 100644 --- a/testsuite/tests/rename/should_fail/T12681.stderr +++ b/testsuite/tests/rename/should_fail/T12681.stderr @@ -1,4 +1,4 @@ -T12681.hs:4:17: error: +T12681.hs:4:17: error: [GHC-76037] Not in scope: ‘a’ Suggested fix: Perhaps use ‘T12681a.a’ (imported from T12681a) diff --git a/testsuite/tests/rename/should_fail/T12686.stderr b/testsuite/tests/rename/should_fail/T12686.stderr index 682a3bd8f4..63f511dca7 100644 --- a/testsuite/tests/rename/should_fail/T12686.stderr +++ b/testsuite/tests/rename/should_fail/T12686.stderr @@ -1,8 +1,8 @@ -T12686.hs:7:16: +T12686.hs:7:16: error: [GHC-88634] Term variable ‘x’ cannot be used here (term variables cannot be promoted) -T12686.hs:12:19: +T12686.hs:12:19: error: [GHC-88634] Term variable ‘a’ cannot be used here (term variables cannot be promoted) diff --git a/testsuite/tests/rename/should_fail/T12879.stderr b/testsuite/tests/rename/should_fail/T12879.stderr index 0c6b7f36f5..4f41da75b9 100644 --- a/testsuite/tests/rename/should_fail/T12879.stderr +++ b/testsuite/tests/rename/should_fail/T12879.stderr @@ -1,4 +1,4 @@ -T12879.hs:4:7: error: +T12879.hs:4:7: error: [GHC-84077] @-pattern in expression context: x@x Type application syntax requires a space before '@' diff --git a/testsuite/tests/rename/should_fail/T13568.stderr b/testsuite/tests/rename/should_fail/T13568.stderr index b0fce190e0..7682b8836f 100644 --- a/testsuite/tests/rename/should_fail/T13568.stderr +++ b/testsuite/tests/rename/should_fail/T13568.stderr @@ -1,5 +1,5 @@ -T13568.hs:7:8: error: +T13568.hs:7:8: error: [GHC-76037] Not in scope: type constructor or class ‘A’ Suggested fix: Perhaps you intended to use DataKinds diff --git a/testsuite/tests/rename/should_fail/T13947.stderr b/testsuite/tests/rename/should_fail/T13947.stderr index 8533f9f743..a24d2e1fa5 100644 --- a/testsuite/tests/rename/should_fail/T13947.stderr +++ b/testsuite/tests/rename/should_fail/T13947.stderr @@ -1,3 +1,3 @@ -T13947.hs:4:16: error: +T13947.hs:4:16: error: [GHC-76037] Not in scope: type constructor or class ‘:~:’ diff --git a/testsuite/tests/rename/should_fail/T14225.stderr b/testsuite/tests/rename/should_fail/T14225.stderr index c3ea46a789..2f760e0dd4 100644 --- a/testsuite/tests/rename/should_fail/T14225.stderr +++ b/testsuite/tests/rename/should_fail/T14225.stderr @@ -1,4 +1,4 @@ -<interactive>:2:1: error: +<interactive>:2:1: error: [GHC-76037] Not in scope: ‘M.fromJusr’ Suggested fix: Perhaps use ‘M.fromJust’ (imported from Data.Maybe) diff --git a/testsuite/tests/rename/should_fail/T14307.stderr b/testsuite/tests/rename/should_fail/T14307.stderr index 1470a406d4..0ef380104c 100644 --- a/testsuite/tests/rename/should_fail/T14307.stderr +++ b/testsuite/tests/rename/should_fail/T14307.stderr @@ -1,2 +1,3 @@ -T14307.hs:10:4: error: Not in scope: data constructor ‘C’ +T14307.hs:10:4: error: [GHC-76037] + Not in scope: data constructor ‘C’ diff --git a/testsuite/tests/rename/should_fail/T14548.stderr b/testsuite/tests/rename/should_fail/T14548.stderr index 3527ac4d63..62828a99de 100644 --- a/testsuite/tests/rename/should_fail/T14548.stderr +++ b/testsuite/tests/rename/should_fail/T14548.stderr @@ -1,10 +1,10 @@ -T14548.hs:8:27: error: Not in scope: type variable ‘k’ +T14548.hs:8:27: error: [GHC-76037] Not in scope: type variable ‘k’ -T14548.hs:9:13: error: Not in scope: type variable ‘k’ +T14548.hs:9:13: error: [GHC-76037] Not in scope: type variable ‘k’ -T14548.hs:12:19: error: Not in scope: type variable ‘k’ +T14548.hs:12:19: error: [GHC-76037] Not in scope: type variable ‘k’ -T14548.hs:12:34: error: Not in scope: type variable ‘k’ +T14548.hs:12:34: error: [GHC-76037] Not in scope: type variable ‘k’ -T14548.hs:13:13: error: Not in scope: type variable ‘k’ +T14548.hs:13:13: error: [GHC-76037] Not in scope: type variable ‘k’ diff --git a/testsuite/tests/rename/should_fail/T14591.stderr b/testsuite/tests/rename/should_fail/T14591.stderr index 47e4df0d55..88e6a4852c 100644 --- a/testsuite/tests/rename/should_fail/T14591.stderr +++ b/testsuite/tests/rename/should_fail/T14591.stderr @@ -1,2 +1,2 @@ -T14591.hs:11:23: error: Variable not in scope: x +T14591.hs:11:23: error: [GHC-88464] Variable not in scope: x diff --git a/testsuite/tests/rename/should_fail/T14907a.stderr b/testsuite/tests/rename/should_fail/T14907a.stderr index 26ce914c3d..28c9b01f9c 100644 --- a/testsuite/tests/rename/should_fail/T14907a.stderr +++ b/testsuite/tests/rename/should_fail/T14907a.stderr @@ -1,5 +1,5 @@ -T14907a.hs:3:8: error: +T14907a.hs:3:8: error: [GHC-77878] Unexpected type ‘Bool’ In the class declaration for ‘(,,)’ A class declaration should have form diff --git a/testsuite/tests/rename/should_fail/T14907b.stderr b/testsuite/tests/rename/should_fail/T14907b.stderr index b76cc11e2a..c113238389 100644 --- a/testsuite/tests/rename/should_fail/T14907b.stderr +++ b/testsuite/tests/rename/should_fail/T14907b.stderr @@ -1,6 +1,9 @@ -T14907b.hs:5:1: error: Illegal binding of built-in syntax: () +T14907b.hs:5:1: error: [GHC-69639] + Illegal binding of built-in syntax: () -T14907b.hs:6:1: error: Illegal binding of built-in syntax: (,) +T14907b.hs:6:1: error: [GHC-69639] + Illegal binding of built-in syntax: (,) -T14907b.hs:7:1: error: Illegal binding of built-in syntax: (,,) +T14907b.hs:7:1: error: [GHC-69639] + Illegal binding of built-in syntax: (,,) diff --git a/testsuite/tests/rename/should_fail/T15539.stderr b/testsuite/tests/rename/should_fail/T15539.stderr index c3c1653b51..2658ee3265 100644 --- a/testsuite/tests/rename/should_fail/T15539.stderr +++ b/testsuite/tests/rename/should_fail/T15539.stderr @@ -1,5 +1,5 @@ -T15539.hs:6:13: error: +T15539.hs:6:13: error: [GHC-88464] Variable not in scope: baz Suggested fix: Perhaps use one of these: ‘bam’ (line 17), ‘bar’ (line 15) diff --git a/testsuite/tests/rename/should_fail/T15607.stderr b/testsuite/tests/rename/should_fail/T15607.stderr index 2a534d2a5a..b6bfed5e29 100644 --- a/testsuite/tests/rename/should_fail/T15607.stderr +++ b/testsuite/tests/rename/should_fail/T15607.stderr @@ -1,5 +1,5 @@ -T15607.hs:6:10: error: +T15607.hs:6:10: error: [GHC-88464] Variable not in scope: pure :: t0 -> t Suggested fix: Perhaps you want to remove ‘pure’ from the explicit hiding list diff --git a/testsuite/tests/rename/should_fail/T15611a.stderr b/testsuite/tests/rename/should_fail/T15611a.stderr index ebeb83b5f2..97cbb50bf8 100644 --- a/testsuite/tests/rename/should_fail/T15611a.stderr +++ b/testsuite/tests/rename/should_fail/T15611a.stderr @@ -1 +1,2 @@ -T15611a.hs:2:8: Not in scope: ‘Main.foo’ + +T15611a.hs:2:8: error: [GHC-76037] Not in scope: ‘Main.foo’ diff --git a/testsuite/tests/rename/should_fail/T15611b.stderr b/testsuite/tests/rename/should_fail/T15611b.stderr index 609ab4c041..339f295f44 100644 --- a/testsuite/tests/rename/should_fail/T15611b.stderr +++ b/testsuite/tests/rename/should_fail/T15611b.stderr @@ -1 +1,2 @@ -<interactive>:2:1: Not in scope: ‘T15611b.foo’ + +<interactive>:2:1: error: [GHC-76037] Not in scope: ‘T15611b.foo’ diff --git a/testsuite/tests/rename/should_fail/T15957_Fail.stderr b/testsuite/tests/rename/should_fail/T15957_Fail.stderr index 54d77c189b..4032c32814 100644 --- a/testsuite/tests/rename/should_fail/T15957_Fail.stderr +++ b/testsuite/tests/rename/should_fail/T15957_Fail.stderr @@ -1,36 +1,36 @@ -T15957_Fail.hs:7:6: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:7:6: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ -T15957_Fail.hs:8:9: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:8:9: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ -T15957_Fail.hs:9:12: error: [-Wredundant-record-wildcards (in -Wall), -Werror=redundant-record-wildcards] +T15957_Fail.hs:9:12: error: [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards] Record wildcard does not bind any new variables Possible fix: omit the ‘..’ -T15957_Fail.hs:11:11: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:11:11: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ -T15957_Fail.hs:12:16: error: [-Wredundant-record-wildcards (in -Wall), -Werror=redundant-record-wildcards] +T15957_Fail.hs:12:16: error: [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards] Record wildcard does not bind any new variables Possible fix: omit the ‘..’ -T15957_Fail.hs:13:15: error: [-Wredundant-record-wildcards (in -Wall), -Werror=redundant-record-wildcards] +T15957_Fail.hs:13:15: error: [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards] Record wildcard does not bind any new variables Possible fix: omit the ‘..’ -T15957_Fail.hs:20:9: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:20:9: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ -T15957_Fail.hs:25:9: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:25:9: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ -T15957_Fail.hs:31:18: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:31:18: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ diff --git a/testsuite/tests/rename/should_fail/T1595a.stderr b/testsuite/tests/rename/should_fail/T1595a.stderr index bcd601a377..1b23d215b2 100644 --- a/testsuite/tests/rename/should_fail/T1595a.stderr +++ b/testsuite/tests/rename/should_fail/T1595a.stderr @@ -1,3 +1,3 @@ -T1595a.hs:3:20: error: +T1595a.hs:3:20: error: [GHC-76037] Not in scope: type constructor or class ‘Tpyo’ diff --git a/testsuite/tests/rename/should_fail/T16116b.stderr b/testsuite/tests/rename/should_fail/T16116b.stderr index ff6b5e13a4..5825633d37 100644 --- a/testsuite/tests/rename/should_fail/T16116b.stderr +++ b/testsuite/tests/rename/should_fail/T16116b.stderr @@ -1,2 +1,2 @@ -T16116b.hs:7:16: error: Not in scope: type variable ‘b’ +T16116b.hs:7:16: error: [GHC-76037] Not in scope: type variable ‘b’ diff --git a/testsuite/tests/rename/should_fail/T16385.stderr b/testsuite/tests/rename/should_fail/T16385.stderr index b80275643c..2f0376ba70 100644 --- a/testsuite/tests/rename/should_fail/T16385.stderr +++ b/testsuite/tests/rename/should_fail/T16385.stderr @@ -1,8 +1,8 @@ -T16385.hs:4:10: error: +T16385.hs:4:10: error: [GHC-56538] • Instance head is not headed by a class: c • In the instance declaration for ‘c’ -T16385.hs:5:10: error: +T16385.hs:5:10: error: [GHC-56538] • Instance head is not headed by a class: c • In the instance declaration for ‘c’ diff --git a/testsuite/tests/rename/should_fail/T16504.stderr b/testsuite/tests/rename/should_fail/T16504.stderr index 798404afc3..4d33569a1a 100644 --- a/testsuite/tests/rename/should_fail/T16504.stderr +++ b/testsuite/tests/rename/should_fail/T16504.stderr @@ -1,5 +1,5 @@ -T16504.hs:5:1: error: +T16504.hs:5:1: error: [GHC-44432] The type signature for ‘simpleFuntcion’ lacks an accompanying binding Suggested fix: @@ -7,12 +7,12 @@ T16504.hs:5:1: error: ‘simpleFunction’ (Defined at T16504.hs:6:1), ‘simpleFunction2’ (Defined at T16504.hs:7:1) -T16504.hs:11:9: error: +T16504.hs:11:9: error: [GHC-44432] The type signature for ‘anotherFunction’ lacks an accompanying binding Suggested fix: Perhaps use ‘anotherFuntcion’ (Defined at T16504.hs:12:9) -T16504.hs:15:1: error: +T16504.hs:15:1: error: [GHC-44432] The type signature for ‘nonexistentFuntcion’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/T16610.stderr b/testsuite/tests/rename/should_fail/T16610.stderr index 9f1a671b53..e15a5fb51f 100644 --- a/testsuite/tests/rename/should_fail/T16610.stderr +++ b/testsuite/tests/rename/should_fail/T16610.stderr @@ -1,3 +1,3 @@ -T16610.hs:6:3: error: +T16610.hs:6:3: error: [GHC-54721] ‘wrong’ is not a (visible) method of class ‘Eq’ diff --git a/testsuite/tests/rename/should_fail/T17593.stderr b/testsuite/tests/rename/should_fail/T17593.stderr index 005f6c9fd4..2fde25b1f0 100644 --- a/testsuite/tests/rename/should_fail/T17593.stderr +++ b/testsuite/tests/rename/should_fail/T17593.stderr @@ -1,7 +1,7 @@ -T17593.hs:5:1: error: +T17593.hs:5:1: error: [GHC-44432] The type signature for ‘<+>’ lacks an accompanying binding -T17593.hs:8:6: error: +T17593.hs:8:6: error: [GHC-44432] The standalone kind signature for ‘MkT’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/T18145.stderr b/testsuite/tests/rename/should_fail/T18145.stderr index 606ad0f695..ac1fb7b807 100644 --- a/testsuite/tests/rename/should_fail/T18145.stderr +++ b/testsuite/tests/rename/should_fail/T18145.stderr @@ -1,6 +1,6 @@ -T18145.hs:10:44: error: Not in scope: type variable ‘a’ +T18145.hs:10:44: error: [GHC-76037] Not in scope: type variable ‘a’ -T18145.hs:14:41: error: Not in scope: type variable ‘a’ +T18145.hs:14:41: error: [GHC-76037] Not in scope: type variable ‘a’ -T18145.hs:17:41: error: Not in scope: type variable ‘a’ +T18145.hs:17:41: error: [GHC-76037] Not in scope: type variable ‘a’ diff --git a/testsuite/tests/rename/should_fail/T18240a.stderr b/testsuite/tests/rename/should_fail/T18240a.stderr index 641bee5003..50b419add4 100644 --- a/testsuite/tests/rename/should_fail/T18240a.stderr +++ b/testsuite/tests/rename/should_fail/T18240a.stderr @@ -3,7 +3,8 @@ T18240a.hs:11:11: error: Instance head cannot contain nested ‘forall’s or contexts In an instance declaration -T18240a.hs:12:15: error: Not in scope: type variable ‘a’ +T18240a.hs:12:15: error: [GHC-76037] + Not in scope: type variable ‘a’ T18240a.hs:14:11: error: Instance head cannot contain nested ‘forall’s or contexts @@ -13,13 +14,15 @@ T18240a.hs:17:11: error: Instance head cannot contain nested ‘forall’s or contexts In an instance declaration -T18240a.hs:18:22: error: Not in scope: type variable ‘a’ +T18240a.hs:18:22: error: [GHC-76037] + Not in scope: type variable ‘a’ T18240a.hs:20:21: error: Instance head cannot contain nested ‘forall’s or contexts In an instance declaration -T18240a.hs:21:24: error: Not in scope: type variable ‘b’ +T18240a.hs:21:24: error: [GHC-76037] + Not in scope: type variable ‘b’ T18240a.hs:23:19: error: Instance head cannot contain nested ‘forall’s or contexts diff --git a/testsuite/tests/rename/should_fail/T18740a.stderr b/testsuite/tests/rename/should_fail/T18740a.stderr index c814f2bf36..5b36171a38 100644 --- a/testsuite/tests/rename/should_fail/T18740a.stderr +++ b/testsuite/tests/rename/should_fail/T18740a.stderr @@ -1,5 +1,5 @@ -T18740a.hs:3:5: error: +T18740a.hs:3:5: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘Int’ • imported from ‘Prelude’ at T18740a.hs:1:8-14 (and originally defined in ‘GHC.Types’) diff --git a/testsuite/tests/rename/should_fail/T18740b.stderr b/testsuite/tests/rename/should_fail/T18740b.stderr index 86c6c74961..1e13c3a974 100644 --- a/testsuite/tests/rename/should_fail/T18740b.stderr +++ b/testsuite/tests/rename/should_fail/T18740b.stderr @@ -1,6 +1,6 @@ -T18740b.hs:6:24: error: +T18740b.hs:6:24: error: [GHC-31891] • Illegal term-level use of the type variable ‘a’ - bound at T18740b.hs:6:4 + • bound at T18740b.hs:6:4 • In the expression: a In an equation for ‘f’: f (Proxy :: Proxy a) = a diff --git a/testsuite/tests/rename/should_fail/T19843a.stderr b/testsuite/tests/rename/should_fail/T19843a.stderr index 8f96612743..02ce2c6711 100644 --- a/testsuite/tests/rename/should_fail/T19843a.stderr +++ b/testsuite/tests/rename/should_fail/T19843a.stderr @@ -1,3 +1,3 @@ -T19843a.hs:5:6: +T19843a.hs:5:6: error: [GHC-76037] Not in scope: data constructor ‘Map’ diff --git a/testsuite/tests/rename/should_fail/T19843b.stderr b/testsuite/tests/rename/should_fail/T19843b.stderr index 6a92e26a4d..e587843907 100644 --- a/testsuite/tests/rename/should_fail/T19843b.stderr +++ b/testsuite/tests/rename/should_fail/T19843b.stderr @@ -1,4 +1,4 @@ -T19843b.hs:7:6: error: +T19843b.hs:7:6: error: [GHC-88464] Data constructor not in scope: Map :: (a0 -> Bool) -> t -> t0 Suggested fix: Perhaps use variable ‘map’ (imported from Prelude) diff --git a/testsuite/tests/rename/should_fail/T19843c.stderr b/testsuite/tests/rename/should_fail/T19843c.stderr index d15ac772b4..28f58cd6f1 100644 --- a/testsuite/tests/rename/should_fail/T19843c.stderr +++ b/testsuite/tests/rename/should_fail/T19843c.stderr @@ -1,4 +1,4 @@ -T19843c.hs:6:6: error: +T19843c.hs:6:6: error: [GHC-76037] Not in scope: data constructor ‘Map.Map’ NB: the module ‘Data.Map’ does not export ‘Map’. diff --git a/testsuite/tests/rename/should_fail/T19843d.stderr b/testsuite/tests/rename/should_fail/T19843d.stderr index 34a5de28f0..f976076794 100644 --- a/testsuite/tests/rename/should_fail/T19843d.stderr +++ b/testsuite/tests/rename/should_fail/T19843d.stderr @@ -1,4 +1,4 @@ -T19843d.hs:7:6: error: +T19843d.hs:7:6: error: [GHC-76037] Not in scope: data constructor ‘Map’ Suggested fix: Perhaps use ‘Mup’ (line 5) diff --git a/testsuite/tests/rename/should_fail/T19843e.stderr b/testsuite/tests/rename/should_fail/T19843e.stderr index f5870a356e..69188c6b05 100644 --- a/testsuite/tests/rename/should_fail/T19843e.stderr +++ b/testsuite/tests/rename/should_fail/T19843e.stderr @@ -1,4 +1,4 @@ -T19843e.hs:9:6: error: +T19843e.hs:9:6: error: [GHC-76037] Not in scope: data constructor ‘Map’ Suggested fix: Perhaps use ‘Mup’ (line 7) diff --git a/testsuite/tests/rename/should_fail/T19843f.stderr b/testsuite/tests/rename/should_fail/T19843f.stderr index 3b73444439..c7c4d5dc58 100644 --- a/testsuite/tests/rename/should_fail/T19843f.stderr +++ b/testsuite/tests/rename/should_fail/T19843f.stderr @@ -1,8 +1,8 @@ -T19843f.hs:8:12: error: +T19843f.hs:8:12: error: [GHC-76037] Not in scope: ‘mup’ Suggested fix: Perhaps use ‘mop’ (line 5) -T19843f.hs:10:10: error: +T19843f.hs:10:10: error: [GHC-76037] Not in scope: ‘mup’ Suggested fix: Perhaps use ‘mop’ (line 5) diff --git a/testsuite/tests/rename/should_fail/T19843g.stderr b/testsuite/tests/rename/should_fail/T19843g.stderr index f635b6c2d2..78ee13eadf 100644 --- a/testsuite/tests/rename/should_fail/T19843g.stderr +++ b/testsuite/tests/rename/should_fail/T19843g.stderr @@ -1,4 +1,4 @@ -T19843g.hs:10:12: error: +T19843g.hs:10:12: error: [GHC-76037] Not in scope: ‘mup’ Suggested fix: Perhaps use ‘mop’ (line 7) diff --git a/testsuite/tests/rename/should_fail/T19843h.stderr b/testsuite/tests/rename/should_fail/T19843h.stderr index 963740ca35..43cf59befd 100644 --- a/testsuite/tests/rename/should_fail/T19843h.stderr +++ b/testsuite/tests/rename/should_fail/T19843h.stderr @@ -1,30 +1,30 @@ -T19843h.hs:14:7: error: +T19843h.hs:14:7: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "mup" r4 a4’ arising from selecting the field ‘mup’ Perhaps use ‘mop’ (line 11) • In the expression: undefined.mup In an equation for ‘foo’: foo = undefined.mup -T19843h.hs:16:7: error: +T19843h.hs:16:7: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "traverse" r3 a3’ arising from selecting the field ‘traverse’ • In the expression: undefined.traverse In an equation for ‘bar’: bar = undefined.traverse -T19843h.hs:18:7: error: +T19843h.hs:18:7: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "getSum" r2 a2’ arising from selecting the field ‘getSum’ • In the expression: undefined.getSum In an equation for ‘baz’: baz = undefined.getSum -T19843h.hs:20:8: error: +T19843h.hs:20:8: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "getAlt" r1 a1’ arising from selecting the field ‘getAlt’ • In the expression: undefined.getAlt In an equation for ‘quux’: quux = undefined.getAlt -T19843h.hs:24:8: error: +T19843h.hs:24:8: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "getAll" r0 a0’ arising from selecting the field ‘getAll’ Perhaps use ‘getAlt’ (imported from Data.Monoid) diff --git a/testsuite/tests/rename/should_fail/T19843i.stderr b/testsuite/tests/rename/should_fail/T19843i.stderr index f5de15281b..d55bb16d66 100644 --- a/testsuite/tests/rename/should_fail/T19843i.stderr +++ b/testsuite/tests/rename/should_fail/T19843i.stderr @@ -1,5 +1,5 @@ -T19843i.hs:5:5: error: +T19843i.hs:5:5: error: [GHC-76037] Not in scope: ‘M.getSum’ Suggested fix: Perhaps you want to add ‘getSum’ to the import list diff --git a/testsuite/tests/rename/should_fail/T19843j.stderr b/testsuite/tests/rename/should_fail/T19843j.stderr index a0423eeb76..c7aa7058b9 100644 --- a/testsuite/tests/rename/should_fail/T19843j.stderr +++ b/testsuite/tests/rename/should_fail/T19843j.stderr @@ -1,5 +1,5 @@ -T19843j.hs:5:5: error: +T19843j.hs:5:5: error: [GHC-88464] Variable not in scope: guard Suggested fix: Perhaps you want to add ‘guard’ to the import list in the import of diff --git a/testsuite/tests/rename/should_fail/T19843k.stderr b/testsuite/tests/rename/should_fail/T19843k.stderr index 7872fdb784..266b45e245 100644 --- a/testsuite/tests/rename/should_fail/T19843k.stderr +++ b/testsuite/tests/rename/should_fail/T19843k.stderr @@ -1,4 +1,4 @@ -T19843k.hs:5:8: error: +T19843k.hs:5:8: error: [GHC-76037] Not in scope: ‘M.doesn'tExist’ NB: the module ‘Data.Monoid’ does not export ‘doesn'tExist’. diff --git a/testsuite/tests/rename/should_fail/T19843l.stderr b/testsuite/tests/rename/should_fail/T19843l.stderr index 094a0b43a2..8b56ad570a 100644 --- a/testsuite/tests/rename/should_fail/T19843l.stderr +++ b/testsuite/tests/rename/should_fail/T19843l.stderr @@ -1,4 +1,4 @@ -T19843l.hs:7:12: error: +T19843l.hs:7:12: error: [GHC-76037] Not in scope: type constructor or class ‘WrongName’ Suggested fix: Perhaps use ‘FongName’ (line 4) diff --git a/testsuite/tests/rename/should_fail/T19843m.stderr b/testsuite/tests/rename/should_fail/T19843m.stderr index 1ec2b31925..44cd5cc78c 100644 --- a/testsuite/tests/rename/should_fail/T19843m.stderr +++ b/testsuite/tests/rename/should_fail/T19843m.stderr @@ -1,5 +1,5 @@ -T19843m.hs:9:12: error: +T19843m.hs:9:12: error: [GHC-76037] Not in scope: type constructor or class ‘WrongName’ Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/rename/should_fail/T2723.stderr b/testsuite/tests/rename/should_fail/T2723.stderr index 682479ac98..10712ebf8c 100644 --- a/testsuite/tests/rename/should_fail/T2723.stderr +++ b/testsuite/tests/rename/should_fail/T2723.stderr @@ -1,4 +1,4 @@ -T2723.hs:15:5: warning: [-Wname-shadowing (in -Wall)] +T2723.hs:15:5: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘field3’ shadows the existing binding defined at T2723.hs:7:1 diff --git a/testsuite/tests/rename/should_fail/T2901.stderr b/testsuite/tests/rename/should_fail/T2901.stderr index eab94f2acf..ba1bbcebc8 100644 --- a/testsuite/tests/rename/should_fail/T2901.stderr +++ b/testsuite/tests/rename/should_fail/T2901.stderr @@ -1,4 +1,4 @@ -T2901.hs:6:5: error: +T2901.hs:6:5: error: [GHC-76037] Not in scope: data constructor ‘F.Foo’ NB: no module named ‘F’ is imported. diff --git a/testsuite/tests/rename/should_fail/T2993.stderr b/testsuite/tests/rename/should_fail/T2993.stderr index d993c398ca..e6818de4a7 100644 --- a/testsuite/tests/rename/should_fail/T2993.stderr +++ b/testsuite/tests/rename/should_fail/T2993.stderr @@ -1,4 +1,4 @@ -T2993.hs:7:13: error: +T2993.hs:7:13: error: [GHC-88464] Variable not in scope: (<**>) :: t1 -> (a -> a) -> t2 Suggested fix: Perhaps use ‘<*>’ (imported from Prelude) diff --git a/testsuite/tests/rename/should_fail/T3265.stderr b/testsuite/tests/rename/should_fail/T3265.stderr index 8ef1acdf39..dfe09aa986 100644 --- a/testsuite/tests/rename/should_fail/T3265.stderr +++ b/testsuite/tests/rename/should_fail/T3265.stderr @@ -1,8 +1,8 @@ -T3265.hs:8:8: error: +T3265.hs:8:8: error: [GHC-50649] Illegal declaration of a type or class operator ‘:+:’ Suggested fix: Perhaps you intended to use TypeOperators -T3265.hs:10:9: error: +T3265.hs:10:9: error: [GHC-50649] Illegal declaration of a type or class operator ‘:*:’ Suggested fix: Perhaps you intended to use TypeOperators diff --git a/testsuite/tests/rename/should_fail/T495.stderr b/testsuite/tests/rename/should_fail/T495.stderr index cc637c4681..d9ffb92edd 100644 --- a/testsuite/tests/rename/should_fail/T495.stderr +++ b/testsuite/tests/rename/should_fail/T495.stderr @@ -1,8 +1,8 @@ -T495.hs:4:12: error: +T495.hs:4:12: error: [GHC-44432] The INLINE pragma for ‘blarg’ lacks an accompanying binding -T495.hs:7:12: error: +T495.hs:7:12: error: [GHC-44432] The INLINE pragma for ‘lookup’ lacks an accompanying binding Suggested fix: Move the INLINE pragma to the declaration site of ‘lookup’. diff --git a/testsuite/tests/rename/should_fail/T5001b.stderr b/testsuite/tests/rename/should_fail/T5001b.stderr index 2544aa4dc2..09caa51d07 100644 --- a/testsuite/tests/rename/should_fail/T5001b.stderr +++ b/testsuite/tests/rename/should_fail/T5001b.stderr @@ -1,5 +1,5 @@ -T5001b.hs:10:17: error: +T5001b.hs:10:17: error: [GHC-44432] The INLINE pragma for ‘genum’ lacks an accompanying binding Suggested fix: Move the INLINE pragma to the declaration site of ‘genum’. diff --git a/testsuite/tests/rename/should_fail/T5281.stderr b/testsuite/tests/rename/should_fail/T5281.stderr index 26d7b8da77..a5c5fd2520 100644 --- a/testsuite/tests/rename/should_fail/T5281.stderr +++ b/testsuite/tests/rename/should_fail/T5281.stderr @@ -1,4 +1,4 @@ -T5281.hs:6:5: warning: [-Wdeprecations (in -Wdefault)] +T5281.hs:6:5: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘deprec’ (imported from T5281A): Deprecated: "This is deprecated" diff --git a/testsuite/tests/rename/should_fail/T5372.stderr b/testsuite/tests/rename/should_fail/T5372.stderr index 3642362660..8e45e8f043 100644 --- a/testsuite/tests/rename/should_fail/T5372.stderr +++ b/testsuite/tests/rename/should_fail/T5372.stderr @@ -1,4 +1,4 @@ -T5372.hs:4:11: error: +T5372.hs:4:11: error: [GHC-76037] Not in scope: data constructor ‘MkS’ Suggested fix: Perhaps use ‘T5372a.MkS’ (imported from T5372a) diff --git a/testsuite/tests/rename/should_fail/T5513.stderr b/testsuite/tests/rename/should_fail/T5513.stderr index 4ce02ace8b..22e869cfb4 100644 --- a/testsuite/tests/rename/should_fail/T5513.stderr +++ b/testsuite/tests/rename/should_fail/T5513.stderr @@ -1,4 +1,4 @@ -T5513.hs:4:19: error: +T5513.hs:4:19: error: [GHC-56538] • Instance head is not headed by a class: lowercase_name a • In the stand-alone deriving instance for ‘lowercase_name a’ diff --git a/testsuite/tests/rename/should_fail/T5533.stderr b/testsuite/tests/rename/should_fail/T5533.stderr index 67dbf3a93e..0275756c44 100644 --- a/testsuite/tests/rename/should_fail/T5533.stderr +++ b/testsuite/tests/rename/should_fail/T5533.stderr @@ -1,5 +1,5 @@ -T5533.hs:4:1: error: +T5533.hs:4:1: error: [GHC-44432] The type signature for ‘f2’ lacks an accompanying binding Suggested fix: Move the type signature to the declaration site of ‘f2’. diff --git a/testsuite/tests/rename/should_fail/T5657.stderr b/testsuite/tests/rename/should_fail/T5657.stderr index 28c3ba7d6c..042f7af35b 100644 --- a/testsuite/tests/rename/should_fail/T5657.stderr +++ b/testsuite/tests/rename/should_fail/T5657.stderr @@ -1,5 +1,5 @@ -T5657.hs:3:8: error: +T5657.hs:3:8: error: [GHC-76037] Not in scope: ‘LT..’ NB: no module named ‘LT’ is imported. diff --git a/testsuite/tests/rename/should_fail/T5745.stderr b/testsuite/tests/rename/should_fail/T5745.stderr index dc590bba33..47fd21e17c 100644 --- a/testsuite/tests/rename/should_fail/T5745.stderr +++ b/testsuite/tests/rename/should_fail/T5745.stderr @@ -1,2 +1,3 @@ -T5745.hs:5:6: error: Not in scope: type constructor or class ‘T’ +T5745.hs:5:6: error: [GHC-76037] + Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/rename/should_fail/T5892a.stderr b/testsuite/tests/rename/should_fail/T5892a.stderr index 436409ed24..79cb98ab4d 100644 --- a/testsuite/tests/rename/should_fail/T5892a.stderr +++ b/testsuite/tests/rename/should_fail/T5892a.stderr @@ -1,5 +1,5 @@ -T5892a.hs:12:8: error: [-Wmissing-fields (in -Wdefault), -Werror=missing-fields] +T5892a.hs:12:8: error: [GHC-20125] [-Wmissing-fields (in -Wdefault), Werror=missing-fields] • Fields of ‘Node’ not initialised: subForest :: [Tree [Int]] • In the expression: Node {..} diff --git a/testsuite/tests/rename/should_fail/T5892b.stderr b/testsuite/tests/rename/should_fail/T5892b.stderr index d55d0cb8e1..ee7bd4820e 100644 --- a/testsuite/tests/rename/should_fail/T5892b.stderr +++ b/testsuite/tests/rename/should_fail/T5892b.stderr @@ -1,2 +1,2 @@ -T5892b.hs:11:7: error: Not in scope: ‘T5892b.subForest’ +T5892b.hs:11:7: error: [GHC-76037] Not in scope: ‘T5892b.subForest’ diff --git a/testsuite/tests/rename/should_fail/T6018rnfail.stderr b/testsuite/tests/rename/should_fail/T6018rnfail.stderr index 2628024b83..8833ad8fbd 100644 --- a/testsuite/tests/rename/should_fail/T6018rnfail.stderr +++ b/testsuite/tests/rename/should_fail/T6018rnfail.stderr @@ -1,71 +1,81 @@ -T6018rnfail.hs:8:23: +T6018rnfail.hs:8:23: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -T6018rnfail.hs:9:24: +T6018rnfail.hs:9:24: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -T6018rnfail.hs:12:19: +T6018rnfail.hs:12:19: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -T6018rnfail.hs:15:19: +T6018rnfail.hs:15:19: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:16:20: +T6018rnfail.hs:16:20: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:20:20: +T6018rnfail.hs:20:20: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:20:24: +T6018rnfail.hs:20:24: error: Unknown type variable on the RHS of injectivity condition: a -T6018rnfail.hs:21:21: +T6018rnfail.hs:21:21: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:21:25: +T6018rnfail.hs:21:25: error: Unknown type variable on the RHS of injectivity condition: a -T6018rnfail.hs:24:16: +T6018rnfail.hs:24:16: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:24:20: +T6018rnfail.hs:24:20: error: Unknown type variable on the RHS of injectivity condition: a -T6018rnfail.hs:27:1: Not in scope: type variable ‘c’ +T6018rnfail.hs:27:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:28:1: Not in scope: type variable ‘c’ +T6018rnfail.hs:28:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:31:3: Not in scope: type variable ‘c’ +T6018rnfail.hs:31:3: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:34:1: Not in scope: type variable ‘c’ +T6018rnfail.hs:34:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:35:1: Not in scope: type variable ‘c’ +T6018rnfail.hs:35:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:38:3: Not in scope: type variable ‘c’ +T6018rnfail.hs:38:3: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:42:15: +T6018rnfail.hs:42:15: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:46:19: +T6018rnfail.hs:46:19: error: Unknown type variable on the RHS of injectivity condition: b -T6018rnfail.hs:49:21: Not in scope: type variable ‘r’ +T6018rnfail.hs:49:21: error: [GHC-76037] + Not in scope: type variable ‘r’ -T6018rnfail.hs:50:21: Not in scope: type variable ‘r’ +T6018rnfail.hs:50:21: error: [GHC-76037] + Not in scope: type variable ‘r’ -T6018rnfail.hs:52:26: Not in scope: type variable ‘r’ +T6018rnfail.hs:52:26: error: [GHC-76037] + Not in scope: type variable ‘r’ -T6018rnfail.hs:53:26: Not in scope: type variable ‘r’ +T6018rnfail.hs:53:26: error: [GHC-76037] + Not in scope: type variable ‘r’ diff --git a/testsuite/tests/rename/should_fail/T7906.stderr b/testsuite/tests/rename/should_fail/T7906.stderr index 5a8c7cb77d..38576165e1 100644 --- a/testsuite/tests/rename/should_fail/T7906.stderr +++ b/testsuite/tests/rename/should_fail/T7906.stderr @@ -1,5 +1,5 @@ -T7906.hs:5:15: error: +T7906.hs:5:15: error: [GHC-44432] The INLINABLE pragma for ‘foo’ lacks an accompanying binding Suggested fix: Move the INLINABLE pragma to the declaration site of ‘foo’. diff --git a/testsuite/tests/rename/should_fail/T7937.stderr b/testsuite/tests/rename/should_fail/T7937.stderr index 11a2bed876..267c273bc4 100644 --- a/testsuite/tests/rename/should_fail/T7937.stderr +++ b/testsuite/tests/rename/should_fail/T7937.stderr @@ -1,4 +1,4 @@ -T7937.hs:8:13: error: +T7937.hs:8:13: error: [GHC-88464] Variable not in scope: (***) :: Bool -> Bool -> t Suggested fix: Perhaps use ‘**’ (imported from Prelude) diff --git a/testsuite/tests/rename/should_fail/T7943.stderr b/testsuite/tests/rename/should_fail/T7943.stderr index c6bf7ae9b5..3100928e51 100644 --- a/testsuite/tests/rename/should_fail/T7943.stderr +++ b/testsuite/tests/rename/should_fail/T7943.stderr @@ -1,6 +1,6 @@ -T7943.hs:4:22: - Record syntax is illegal here: {bar :: String} - In the type ‘{bar :: String}’ +T7943.hs:4:22: error: [GHC-89246] + • Record syntax is illegal here: {bar :: String} + • In the type ‘{bar :: String}’ In the definition of data constructor ‘B’ - In the data declaration for ‘Foo’
\ No newline at end of file + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/rename/should_fail/T9177.stderr b/testsuite/tests/rename/should_fail/T9177.stderr index 215a144f06..adc0c7e953 100644 --- a/testsuite/tests/rename/should_fail/T9177.stderr +++ b/testsuite/tests/rename/should_fail/T9177.stderr @@ -1,12 +1,13 @@ -T9177.hs:4:13: error: +T9177.hs:4:13: error: [GHC-76037] Not in scope: type variable ‘int’ Suggested fix: Perhaps use type constructor or class ‘Int’ (imported from Prelude) -T9177.hs:7:14: error: +T9177.hs:7:14: error: [GHC-76037] Not in scope: type variable ‘integerr’ Suggested fix: Perhaps use type constructor or class ‘Integer’ (imported from Prelude) -T9177.hs:17:6: error: Not in scope: data constructor ‘Fun’ +T9177.hs:17:6: error: [GHC-76037] + Not in scope: data constructor ‘Fun’ diff --git a/testsuite/tests/rename/should_fail/T9177a.stderr b/testsuite/tests/rename/should_fail/T9177a.stderr index 0fd65a0726..0ee99840f4 100644 --- a/testsuite/tests/rename/should_fail/T9177a.stderr +++ b/testsuite/tests/rename/should_fail/T9177a.stderr @@ -1,4 +1,5 @@ -T9177a.hs:3:8: error: Variable not in scope: bar +T9177a.hs:3:8: error: [GHC-88464] Variable not in scope: bar -T9177a.hs:4:8: error: Data constructor not in scope: Fun +T9177a.hs:4:8: error: [GHC-88464] + Data constructor not in scope: Fun diff --git a/testsuite/tests/rename/should_fail/T9436.stderr b/testsuite/tests/rename/should_fail/T9436.stderr index 30a7c5f6b4..65555ca427 100644 --- a/testsuite/tests/rename/should_fail/T9436.stderr +++ b/testsuite/tests/rename/should_fail/T9436.stderr @@ -1,4 +1,4 @@ -T9436.hs:8:4: error: +T9436.hs:8:4: error: [GHC-76037] Not in scope: data constructor ‘T'’ Suggested fix: Perhaps use ‘T’ (line 5) diff --git a/testsuite/tests/rename/should_fail/T9437.stderr b/testsuite/tests/rename/should_fail/T9437.stderr index 2b8ec84502..e9ad533b5f 100644 --- a/testsuite/tests/rename/should_fail/T9437.stderr +++ b/testsuite/tests/rename/should_fail/T9437.stderr @@ -1,2 +1,3 @@ -T9437.hs:8:18: You cannot use `..' in a record update +T9437.hs:8:18: error: [GHC-70712] + You cannot use `..' in a record update diff --git a/testsuite/tests/rename/should_fail/T9815.stderr b/testsuite/tests/rename/should_fail/T9815.stderr index 99f16b624d..77b02eff6f 100644 --- a/testsuite/tests/rename/should_fail/T9815.stderr +++ b/testsuite/tests/rename/should_fail/T9815.stderr @@ -1,4 +1,4 @@ -T9815.hs:6:13: +T9815.hs:6:13: error: [GHC-47217] Illegal `..' notation for constructor ‘N’ The constructor has no labelled fields diff --git a/testsuite/tests/rename/should_fail/mc13.stderr b/testsuite/tests/rename/should_fail/mc13.stderr index e55f179a46..746e5b355c 100644 --- a/testsuite/tests/rename/should_fail/mc13.stderr +++ b/testsuite/tests/rename/should_fail/mc13.stderr @@ -1,2 +1,3 @@ -mc13.hs:12:37: error: Variable not in scope: f :: [a] -> m a +mc13.hs:12:37: error: [GHC-88464] + Variable not in scope: f :: [a] -> m a diff --git a/testsuite/tests/rename/should_fail/mc14.stderr b/testsuite/tests/rename/should_fail/mc14.stderr index 402006af2a..24e34e6e31 100644 --- a/testsuite/tests/rename/should_fail/mc14.stderr +++ b/testsuite/tests/rename/should_fail/mc14.stderr @@ -1,2 +1,3 @@ -mc14.hs:14:49: error: Variable not in scope: f :: [a] -> m (t0 a) +mc14.hs:14:49: error: [GHC-88464] + Variable not in scope: f :: [a] -> m (t0 a) diff --git a/testsuite/tests/rename/should_fail/rnfail008.stderr b/testsuite/tests/rename/should_fail/rnfail008.stderr index bf4b0e4d08..1b10749908 100644 --- a/testsuite/tests/rename/should_fail/rnfail008.stderr +++ b/testsuite/tests/rename/should_fail/rnfail008.stderr @@ -1,2 +1,3 @@ -rnfail008.hs:18:9: ‘op3’ is not a (visible) method of class ‘K’ +rnfail008.hs:18:9: error: [GHC-54721] + ‘op3’ is not a (visible) method of class ‘K’ diff --git a/testsuite/tests/rename/should_fail/rnfail016.stderr b/testsuite/tests/rename/should_fail/rnfail016.stderr index 6ed450ce0b..cb49527a8e 100644 --- a/testsuite/tests/rename/should_fail/rnfail016.stderr +++ b/testsuite/tests/rename/should_fail/rnfail016.stderr @@ -1,4 +1,4 @@ -rnfail016.hs:6:7: error: +rnfail016.hs:6:7: error: [GHC-84077] @-pattern in expression context: x@x Type application syntax requires a space before '@' diff --git a/testsuite/tests/rename/should_fail/rnfail016a.stderr b/testsuite/tests/rename/should_fail/rnfail016a.stderr index 544cf58cac..70fa2c20db 100644 --- a/testsuite/tests/rename/should_fail/rnfail016a.stderr +++ b/testsuite/tests/rename/should_fail/rnfail016a.stderr @@ -1,2 +1,2 @@ -rnfail016a.hs:6:7: error: parse error on input ‘~’ +rnfail016a.hs:6:7: error: [GHC-58481] parse error on input ‘~’ diff --git a/testsuite/tests/rename/should_fail/rnfail018.stderr b/testsuite/tests/rename/should_fail/rnfail018.stderr index 847cfe211e..af8100efdd 100644 --- a/testsuite/tests/rename/should_fail/rnfail018.stderr +++ b/testsuite/tests/rename/should_fail/rnfail018.stderr @@ -1,8 +1,12 @@ -rnfail018.hs:12:37: Not in scope: type variable ‘a’ +rnfail018.hs:12:37: error: [GHC-76037] + Not in scope: type variable ‘a’ -rnfail018.hs:12:42: Not in scope: type variable ‘m’ +rnfail018.hs:12:42: error: [GHC-76037] + Not in scope: type variable ‘m’ -rnfail018.hs:12:47: Not in scope: type variable ‘m’ +rnfail018.hs:12:47: error: [GHC-76037] + Not in scope: type variable ‘m’ -rnfail018.hs:12:49: Not in scope: type variable ‘a’ +rnfail018.hs:12:49: error: [GHC-76037] + Not in scope: type variable ‘a’ diff --git a/testsuite/tests/rename/should_fail/rnfail022.stderr b/testsuite/tests/rename/should_fail/rnfail022.stderr index 87a1adef3f..b916186408 100644 --- a/testsuite/tests/rename/should_fail/rnfail022.stderr +++ b/testsuite/tests/rename/should_fail/rnfail022.stderr @@ -1,5 +1,5 @@ -rnfail022.hs:8:5: error: +rnfail022.hs:8:5: error: [GHC-88464] Variable not in scope: intersperse Suggested fix: Perhaps use ‘L.intersperse’ (imported from Data.List) diff --git a/testsuite/tests/rename/should_fail/rnfail023.stderr b/testsuite/tests/rename/should_fail/rnfail023.stderr index d10427ae7e..8c0796aa23 100644 --- a/testsuite/tests/rename/should_fail/rnfail023.stderr +++ b/testsuite/tests/rename/should_fail/rnfail023.stderr @@ -1,9 +1,9 @@ -rnfail023.hs:7:1: +rnfail023.hs:7:1: error: [GHC-44432] The type signature for ‘f’ lacks an accompanying binding -rnfail023.hs:8:12: +rnfail023.hs:8:12: error: [GHC-44432] The INLINE pragma for ‘f’ lacks an accompanying binding -rnfail023.hs:14:7: +rnfail023.hs:14:7: error: [GHC-44432] The type signature for ‘g’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail024.stderr b/testsuite/tests/rename/should_fail/rnfail024.stderr index 6be278d76e..21cc45f770 100644 --- a/testsuite/tests/rename/should_fail/rnfail024.stderr +++ b/testsuite/tests/rename/should_fail/rnfail024.stderr @@ -1,4 +1,4 @@ -rnfail024.hs:3:1: error: +rnfail024.hs:3:1: error: [GHC-44432] The type signature for ‘sig_without_a_defn’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail025.stderr b/testsuite/tests/rename/should_fail/rnfail025.stderr index 2f57250f33..a5684a29f1 100644 --- a/testsuite/tests/rename/should_fail/rnfail025.stderr +++ b/testsuite/tests/rename/should_fail/rnfail025.stderr @@ -1,4 +1,4 @@ -rnfail025.hs:3:1: +rnfail025.hs:3:1: error: [GHC-44432] The type signature for ‘sig_without_a_defn’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail026.stderr b/testsuite/tests/rename/should_fail/rnfail026.stderr index c7ce103ecc..ebbfb66279 100644 --- a/testsuite/tests/rename/should_fail/rnfail026.stderr +++ b/testsuite/tests/rename/should_fail/rnfail026.stderr @@ -1,5 +1,5 @@ -rnfail026.hs:16:27: error: +rnfail026.hs:16:27: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Set a’ has kind ‘*’ • In the first argument of ‘Monad’, namely ‘(forall a. Eq a => Set a)’ diff --git a/testsuite/tests/rename/should_fail/rnfail027.stderr b/testsuite/tests/rename/should_fail/rnfail027.stderr index c58a74f758..1827dc62a2 100644 --- a/testsuite/tests/rename/should_fail/rnfail027.stderr +++ b/testsuite/tests/rename/should_fail/rnfail027.stderr @@ -1,3 +1,3 @@ -rnfail027.hs:5:10: +rnfail027.hs:5:10: error: [GHC-44432] The fixity signature for ‘wibble’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail028.stderr b/testsuite/tests/rename/should_fail/rnfail028.stderr index 848e39e920..33eb4def4b 100644 --- a/testsuite/tests/rename/should_fail/rnfail028.stderr +++ b/testsuite/tests/rename/should_fail/rnfail028.stderr @@ -1,3 +1,3 @@ -rnfail028.hs:2:21: error: +rnfail028.hs:2:21: error: [GHC-90973] The export item ‘module List’ is not imported diff --git a/testsuite/tests/rename/should_fail/rnfail029.stderr b/testsuite/tests/rename/should_fail/rnfail029.stderr index c1d97b3acf..6dc1305ffd 100644 --- a/testsuite/tests/rename/should_fail/rnfail029.stderr +++ b/testsuite/tests/rename/should_fail/rnfail029.stderr @@ -1,5 +1,5 @@ -rnfail029.hs:2:36: +rnfail029.hs:2:36: error: [GHC-69158] Conflicting exports for ‘map’: ‘Data.List.map’ exports ‘Data.List.map’ imported qualified from ‘Data.List’ at rnfail029.hs:3:1-26 diff --git a/testsuite/tests/rename/should_fail/rnfail030.stderr b/testsuite/tests/rename/should_fail/rnfail030.stderr index 6343062325..705ea7fba2 100644 --- a/testsuite/tests/rename/should_fail/rnfail030.stderr +++ b/testsuite/tests/rename/should_fail/rnfail030.stderr @@ -1,5 +1,5 @@ -rnfail030.hs:2:21: error: +rnfail030.hs:2:21: error: [GHC-76037] Not in scope: ‘Data.List.map’ Suggested fix: Perhaps you want to add ‘map’ to the import list in the import of diff --git a/testsuite/tests/rename/should_fail/rnfail031.stderr b/testsuite/tests/rename/should_fail/rnfail031.stderr index 1036d52bcb..1f6d57d7a8 100644 --- a/testsuite/tests/rename/should_fail/rnfail031.stderr +++ b/testsuite/tests/rename/should_fail/rnfail031.stderr @@ -1,5 +1,5 @@ -rnfail031.hs:2:21: error: +rnfail031.hs:2:21: error: [GHC-76037] Not in scope: ‘Data.List.map’ Suggested fix: Perhaps you want to add ‘map’ to the import list in the import of diff --git a/testsuite/tests/rename/should_fail/rnfail032.stderr b/testsuite/tests/rename/should_fail/rnfail032.stderr index febd380442..f05e4bc623 100644 --- a/testsuite/tests/rename/should_fail/rnfail032.stderr +++ b/testsuite/tests/rename/should_fail/rnfail032.stderr @@ -1,5 +1,5 @@ -rnfail032.hs:2:21: error: +rnfail032.hs:2:21: error: [GHC-76037] Not in scope: ‘Data.List.map’ Suggested fixes: • Perhaps use one of these: diff --git a/testsuite/tests/rename/should_fail/rnfail033.stderr b/testsuite/tests/rename/should_fail/rnfail033.stderr index d9fbc22a1c..f16eb4ca2b 100644 --- a/testsuite/tests/rename/should_fail/rnfail033.stderr +++ b/testsuite/tests/rename/should_fail/rnfail033.stderr @@ -1,5 +1,5 @@ -rnfail033.hs:2:21: error: +rnfail033.hs:2:21: error: [GHC-76037] Not in scope: ‘Data.List.map’ Suggested fixes: • Perhaps use one of these: diff --git a/testsuite/tests/rename/should_fail/rnfail034.stderr b/testsuite/tests/rename/should_fail/rnfail034.stderr index be73da47a4..f385539f79 100644 --- a/testsuite/tests/rename/should_fail/rnfail034.stderr +++ b/testsuite/tests/rename/should_fail/rnfail034.stderr @@ -1,6 +1,6 @@ rnfail034.hs:4:11: error: Qualified name in binding position: M.y -rnfail034.hs:4:26: error: +rnfail034.hs:4:26: error: [GHC-76037] Not in scope: ‘M.y’ Suggested fix: Perhaps use ‘M.g’ (line 4) diff --git a/testsuite/tests/rename/should_fail/rnfail035.stderr b/testsuite/tests/rename/should_fail/rnfail035.stderr index b5de0c0700..2088e25d7b 100644 --- a/testsuite/tests/rename/should_fail/rnfail035.stderr +++ b/testsuite/tests/rename/should_fail/rnfail035.stderr @@ -1,2 +1,3 @@ -rnfail035.hs:2:21: Not in scope: type constructor or class ‘C’ +rnfail035.hs:2:21: error: [GHC-76037] + Not in scope: type constructor or class ‘C’ diff --git a/testsuite/tests/rename/should_fail/rnfail040.stderr b/testsuite/tests/rename/should_fail/rnfail040.stderr index 33f2f8cba9..19f36e9a05 100644 --- a/testsuite/tests/rename/should_fail/rnfail040.stderr +++ b/testsuite/tests/rename/should_fail/rnfail040.stderr @@ -1,9 +1,9 @@ -rnfail040.hs:7:12: error: +rnfail040.hs:7:12: error: [GHC-69158] Conflicting exports for ‘nub’: ‘module M’ exports ‘M.nub’ imported from ‘Data.List’ at rnfail040.hs:10:2-22 - (and originally defined in ‘base-4.13.0.0:Data.OldList’) + (and originally defined in ‘base-4.17.0.0:Data.OldList’) ‘module M’ exports ‘T.nub’ imported from ‘Rnfail040_A’ at rnfail040.hs:11:2-24 (and originally defined at Rnfail040_A.hs:2:3-5) diff --git a/testsuite/tests/rename/should_fail/rnfail041.stderr b/testsuite/tests/rename/should_fail/rnfail041.stderr index c5532569d1..423bc50927 100644 --- a/testsuite/tests/rename/should_fail/rnfail041.stderr +++ b/testsuite/tests/rename/should_fail/rnfail041.stderr @@ -1,6 +1,6 @@ -rnfail041.hs:4:1: +rnfail041.hs:4:1: error: [GHC-44432] The type signature for ‘h’ lacks an accompanying binding -rnfail041.hs:5:1: +rnfail041.hs:5:1: error: [GHC-44432] The type signature for ‘j’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail042.stderr b/testsuite/tests/rename/should_fail/rnfail042.stderr index 03b7c54471..3ba1f9566f 100644 --- a/testsuite/tests/rename/should_fail/rnfail042.stderr +++ b/testsuite/tests/rename/should_fail/rnfail042.stderr @@ -1,8 +1,12 @@ -rnfail042.hs:5:11: Illegal binding of built-in syntax: () +rnfail042.hs:5:11: error: [GHC-69639] + Illegal binding of built-in syntax: () -rnfail042.hs:6:10: Illegal binding of built-in syntax: (,,,) +rnfail042.hs:6:10: error: [GHC-69639] + Illegal binding of built-in syntax: (,,,) -rnfail042.hs:7:12: Illegal binding of built-in syntax: [] +rnfail042.hs:7:12: error: [GHC-69639] + Illegal binding of built-in syntax: [] -rnfail042.hs:8:13: Illegal binding of built-in syntax: : +rnfail042.hs:8:13: error: [GHC-69639] + Illegal binding of built-in syntax: : diff --git a/testsuite/tests/rename/should_fail/rnfail045.stderr b/testsuite/tests/rename/should_fail/rnfail045.stderr index 52069f567c..b8cf59ba0f 100644 --- a/testsuite/tests/rename/should_fail/rnfail045.stderr +++ b/testsuite/tests/rename/should_fail/rnfail045.stderr @@ -1,10 +1,10 @@ -rnfail045.hs:5:1: +rnfail045.hs:5:1: error: [GHC-91938] Equations for ‘op1’ have different numbers of arguments rnfail045.hs:5:1-16 rnfail045.hs:6:1-13 -rnfail045.hs:8:1: +rnfail045.hs:8:1: error: [GHC-91938] Equations for ‘op2’ have different numbers of arguments rnfail045.hs:8:1-13 rnfail045.hs:9:1-16 diff --git a/testsuite/tests/rename/should_fail/rnfail049.stderr b/testsuite/tests/rename/should_fail/rnfail049.stderr index a374902114..8a065ff42b 100644 --- a/testsuite/tests/rename/should_fail/rnfail049.stderr +++ b/testsuite/tests/rename/should_fail/rnfail049.stderr @@ -1,2 +1,3 @@ -rnfail049.hs:12:49: error: Variable not in scope: f :: [a] -> [[a]] +rnfail049.hs:12:49: error: [GHC-88464] + Variable not in scope: f :: [a] -> [[a]] diff --git a/testsuite/tests/rename/should_fail/rnfail050.stderr b/testsuite/tests/rename/should_fail/rnfail050.stderr index 6ce61321f9..a559e0ccdf 100644 --- a/testsuite/tests/rename/should_fail/rnfail050.stderr +++ b/testsuite/tests/rename/should_fail/rnfail050.stderr @@ -1,2 +1,3 @@ -rnfail050.hs:10:37: error: Variable not in scope: f :: [a] -> [a] +rnfail050.hs:10:37: error: [GHC-88464] + Variable not in scope: f :: [a] -> [a] diff --git a/testsuite/tests/rename/should_fail/rnfail051.stderr b/testsuite/tests/rename/should_fail/rnfail051.stderr index c1f4f43a2f..75a37142ca 100644 --- a/testsuite/tests/rename/should_fail/rnfail051.stderr +++ b/testsuite/tests/rename/should_fail/rnfail051.stderr @@ -1,3 +1,3 @@ -rnfail051.hs:7:17: error: +rnfail051.hs:7:17: error: [GHC-66228] View pattern in expression context: _ -> putStrLn "_" diff --git a/testsuite/tests/rename/should_fail/rnfail052.stderr b/testsuite/tests/rename/should_fail/rnfail052.stderr index 242fb70fd6..db9aaeb923 100644 --- a/testsuite/tests/rename/should_fail/rnfail052.stderr +++ b/testsuite/tests/rename/should_fail/rnfail052.stderr @@ -1,17 +1,17 @@ -rnfail052.hs:7:6: error: +rnfail052.hs:7: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> -rnfail052.hs:10:14: error: +rnfail052.hs:10:14: 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> -rnfail052.hs:13:15: error: +rnfail052.hs:13:15: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/rename/should_fail/rnfail054.stderr b/testsuite/tests/rename/should_fail/rnfail054.stderr index edfac8a1c8..04fff51118 100644 --- a/testsuite/tests/rename/should_fail/rnfail054.stderr +++ b/testsuite/tests/rename/should_fail/rnfail054.stderr @@ -1,5 +1,5 @@ -rnfail054.hs:6:13: - ‘foo’ is not a record selector - In the expression: x {foo = 1} - In an equation for ‘foo’: foo x = x {foo = 1} +rnfail054.hs:6:13: error: [GHC-47535] + • ‘foo’ is not a record selector + • In the expression: x {foo = 1} + In an equation for ‘foo’: foo x = x {foo = 1} diff --git a/testsuite/tests/rename/should_fail/rnfail057.stderr b/testsuite/tests/rename/should_fail/rnfail057.stderr index aaeb29dc4f..67ef804dc3 100644 --- a/testsuite/tests/rename/should_fail/rnfail057.stderr +++ b/testsuite/tests/rename/should_fail/rnfail057.stderr @@ -1,3 +1,3 @@ -rnfail057.hs:5:16: +rnfail057.hs:5:16: error: [GHC-76037] Not in scope: type constructor or class ‘DontExistKind’ diff --git a/testsuite/tests/rep-poly/EtaExpandStupid2.stderr b/testsuite/tests/rep-poly/EtaExpandStupid2.stderr index 8477952cb4..0cc3766dbd 100644 --- a/testsuite/tests/rep-poly/EtaExpandStupid2.stderr +++ b/testsuite/tests/rep-poly/EtaExpandStupid2.stderr @@ -1,5 +1,5 @@ -EtaExpandStupid2.hs:16:8: error: +EtaExpandStupid2.hs:16:8: error: [GHC-39999] • No instance for ‘Num c’ arising from a use of ‘MkD4’ Possible fix: add (Num c) to the context of diff --git a/testsuite/tests/rep-poly/LevPolyLet.stderr b/testsuite/tests/rep-poly/LevPolyLet.stderr index ed47733081..95e606cf7e 100644 --- a/testsuite/tests/rep-poly/LevPolyLet.stderr +++ b/testsuite/tests/rep-poly/LevPolyLet.stderr @@ -1,5 +1,5 @@ -LevPolyLet.hs:17:7: error: +LevPolyLet.hs:17:7: error: [GHC-55287] • The binder ‘x’ does not have a fixed runtime representation. Its type is: a :: TYPE ('BoxedRep v) diff --git a/testsuite/tests/rep-poly/RepPolyApp.stderr b/testsuite/tests/rep-poly/RepPolyApp.stderr index 77dd0a30cf..8cdfb40406 100644 --- a/testsuite/tests/rep-poly/RepPolyApp.stderr +++ b/testsuite/tests/rep-poly/RepPolyApp.stderr @@ -1,5 +1,5 @@ -RepPolyApp.hs:11:9: error: +RepPolyApp.hs:11:9: error: [GHC-55287] • The argument ‘(undefined :: a)’ of ‘f’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyArgument.stderr b/testsuite/tests/rep-poly/RepPolyArgument.stderr index b5050fc6a5..c6aaded15b 100644 --- a/testsuite/tests/rep-poly/RepPolyArgument.stderr +++ b/testsuite/tests/rep-poly/RepPolyArgument.stderr @@ -1,5 +1,5 @@ -RepPolyArgument.hs:10:18: error: +RepPolyArgument.hs:10:18: error: [GHC-55287] • The argument ‘(undefined @(R @RuntimeRep))’ of ‘undefined’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyArrowCmd.stderr b/testsuite/tests/rep-poly/RepPolyArrowCmd.stderr index 26a96f349a..b36b11e7a2 100644 --- a/testsuite/tests/rep-poly/RepPolyArrowCmd.stderr +++ b/testsuite/tests/rep-poly/RepPolyArrowCmd.stderr @@ -1,5 +1,5 @@ -RepPolyArrowCmd.hs:26:17: error: +RepPolyArrowCmd.hs:26:17: error: [GHC-55287] • The arrow command ‘returnA -< x’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyArrowFun.stderr b/testsuite/tests/rep-poly/RepPolyArrowFun.stderr index a79570822a..6f2f6e3387 100644 --- a/testsuite/tests/rep-poly/RepPolyArrowFun.stderr +++ b/testsuite/tests/rep-poly/RepPolyArrowFun.stderr @@ -1,5 +1,5 @@ -RepPolyArrowFun.hs:29:19: error: +RepPolyArrowFun.hs:29:19: error: [GHC-55287] • • The function in the first order arrow application of ‘undefined’ to diff --git a/testsuite/tests/rep-poly/RepPolyBackpack1.stderr b/testsuite/tests/rep-poly/RepPolyBackpack1.stderr index e4a128ea4d..cfdf4cf2bd 100644 --- a/testsuite/tests/rep-poly/RepPolyBackpack1.stderr +++ b/testsuite/tests/rep-poly/RepPolyBackpack1.stderr @@ -2,7 +2,7 @@ [1 of 2] Compiling NumberUnknown[sig] ( number-unknown\NumberUnknown.hsig, nothing ) [2 of 2] Compiling NumberStuff ( number-unknown\NumberStuff.hs, nothing ) -RepPolyBackpack1.bkp:17:5: error: +RepPolyBackpack1.bkp:17:5: error: [GHC-55287] The second pattern in the equation for ‘funcA’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyBinder.stderr b/testsuite/tests/rep-poly/RepPolyBinder.stderr index 177a4865e6..39c2306a6e 100644 --- a/testsuite/tests/rep-poly/RepPolyBinder.stderr +++ b/testsuite/tests/rep-poly/RepPolyBinder.stderr @@ -1,5 +1,5 @@ -RepPolyBinder.hs:11:1: error: +RepPolyBinder.hs:11:1: error: [GHC-55287] • The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyCase1.stderr b/testsuite/tests/rep-poly/RepPolyCase1.stderr index 4804a67f8a..c2938bebf8 100644 --- a/testsuite/tests/rep-poly/RepPolyCase1.stderr +++ b/testsuite/tests/rep-poly/RepPolyCase1.stderr @@ -1,5 +1,5 @@ -RepPolyCase1.hs:14:7: error: +RepPolyCase1.hs:14:7: error: [GHC-55287] • The scrutinee of the case statement does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyCase2.stderr b/testsuite/tests/rep-poly/RepPolyCase2.stderr index e84b8db2ed..1418da126c 100644 --- a/testsuite/tests/rep-poly/RepPolyCase2.stderr +++ b/testsuite/tests/rep-poly/RepPolyCase2.stderr @@ -1,5 +1,5 @@ -RepPolyCase2.hs:33:7: error: +RepPolyCase2.hs:33:7: error: [GHC-55287] • The scrutinee of the case statement does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyClassMethod.stderr b/testsuite/tests/rep-poly/RepPolyClassMethod.stderr index 2731c542c1..f4999c7b5c 100644 --- a/testsuite/tests/rep-poly/RepPolyClassMethod.stderr +++ b/testsuite/tests/rep-poly/RepPolyClassMethod.stderr @@ -1,5 +1,5 @@ -RepPolyClassMethod.hs:10:12: error: +RepPolyClassMethod.hs:10:12: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘TYPE rep’ ‘rep’ is a rigid type variable bound by the class declaration for ‘C’ diff --git a/testsuite/tests/rep-poly/RepPolyDeferred.stderr b/testsuite/tests/rep-poly/RepPolyDeferred.stderr index 4cb5449fa8..cef43d4ec0 100644 --- a/testsuite/tests/rep-poly/RepPolyDeferred.stderr +++ b/testsuite/tests/rep-poly/RepPolyDeferred.stderr @@ -1,5 +1,5 @@ -RepPolyDeferred.hs:8:1: error: +RepPolyDeferred.hs:8:1: error: [GHC-55287] The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyDoBind.stderr b/testsuite/tests/rep-poly/RepPolyDoBind.stderr index bc3bd34465..920499675a 100644 --- a/testsuite/tests/rep-poly/RepPolyDoBind.stderr +++ b/testsuite/tests/rep-poly/RepPolyDoBind.stderr @@ -1,5 +1,5 @@ -RepPolyDoBind.hs:26:3: error: +RepPolyDoBind.hs:26:3: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘(>>=)’ arising from a do statement does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyDoBody1.stderr b/testsuite/tests/rep-poly/RepPolyDoBody1.stderr index e31d97891e..a1126fd637 100644 --- a/testsuite/tests/rep-poly/RepPolyDoBody1.stderr +++ b/testsuite/tests/rep-poly/RepPolyDoBody1.stderr @@ -1,5 +1,5 @@ -RepPolyDoBody1.hs:24:3: error: +RepPolyDoBody1.hs:24:3: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘(>>)’ arising from a do statement does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyDoBody2.stderr b/testsuite/tests/rep-poly/RepPolyDoBody2.stderr index 40a033a33d..2678d90f33 100644 --- a/testsuite/tests/rep-poly/RepPolyDoBody2.stderr +++ b/testsuite/tests/rep-poly/RepPolyDoBody2.stderr @@ -1,5 +1,5 @@ -RepPolyDoBody2.hs:23:3: error: +RepPolyDoBody2.hs:23:3: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘(>>)’ arising from a do statement does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyInferPatBind.stderr b/testsuite/tests/rep-poly/RepPolyInferPatBind.stderr index 8e9f7fb032..486de932bd 100644 --- a/testsuite/tests/rep-poly/RepPolyInferPatBind.stderr +++ b/testsuite/tests/rep-poly/RepPolyInferPatBind.stderr @@ -1,10 +1,10 @@ -RepPolyInferPatBind.hs:21:1: error: +RepPolyInferPatBind.hs:21:1: error: [GHC-55287] The binder ‘x’ does not have a fixed runtime representation. Its type is: T :: TYPE R -RepPolyInferPatBind.hs:21:2: error: +RepPolyInferPatBind.hs:21:2: error: [GHC-55287] • The pattern binding does not have a fixed runtime representation. Its type is: T :: TYPE R diff --git a/testsuite/tests/rep-poly/RepPolyInferPatSyn.stderr b/testsuite/tests/rep-poly/RepPolyInferPatSyn.stderr index 7e07ea88ca..7f5c4f1ca7 100644 --- a/testsuite/tests/rep-poly/RepPolyInferPatSyn.stderr +++ b/testsuite/tests/rep-poly/RepPolyInferPatSyn.stderr @@ -1,5 +1,5 @@ -RepPolyInferPatSyn.hs:22:16: error: +RepPolyInferPatSyn.hs:22:16: error: [GHC-55287] • The pattern synonym argument pattern does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyLambda.stderr b/testsuite/tests/rep-poly/RepPolyLambda.stderr index d655354548..6a8bcfde53 100644 --- a/testsuite/tests/rep-poly/RepPolyLambda.stderr +++ b/testsuite/tests/rep-poly/RepPolyLambda.stderr @@ -1,5 +1,5 @@ -RepPolyLambda.hs:11:5: error: +RepPolyLambda.hs:11:5: error: [GHC-55287] • The binder of the lambda expression does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyLeftSection2.stderr b/testsuite/tests/rep-poly/RepPolyLeftSection2.stderr index b273475650..9597abade3 100644 --- a/testsuite/tests/rep-poly/RepPolyLeftSection2.stderr +++ b/testsuite/tests/rep-poly/RepPolyLeftSection2.stderr @@ -1,5 +1,5 @@ -RepPolyLeftSection2.hs:14:11: error: +RepPolyLeftSection2.hs:14:11: error: [GHC-55287] • The argument ‘undefined’ of ‘f’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyMagic.stderr b/testsuite/tests/rep-poly/RepPolyMagic.stderr index 47e7ba81d3..d0e5a36e5b 100644 --- a/testsuite/tests/rep-poly/RepPolyMagic.stderr +++ b/testsuite/tests/rep-poly/RepPolyMagic.stderr @@ -1,5 +1,5 @@ -RepPolyMagic.hs:12:7: error: +RepPolyMagic.hs:12:7: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The second argument of ‘seq’ does not have a fixed runtime representation. @@ -8,7 +8,7 @@ RepPolyMagic.hs:12:7: error: • In the expression: seq In an equation for ‘foo’: foo = seq -RepPolyMagic.hs:15:7: error: +RepPolyMagic.hs:15:7: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The second argument of ‘oneShot’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyMatch.stderr b/testsuite/tests/rep-poly/RepPolyMatch.stderr index d845426032..0067d79acc 100644 --- a/testsuite/tests/rep-poly/RepPolyMatch.stderr +++ b/testsuite/tests/rep-poly/RepPolyMatch.stderr @@ -1,5 +1,5 @@ -RepPolyMatch.hs:11:9: error: +RepPolyMatch.hs:11:9: error: [GHC-55287] • The binder of the \case expression does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyMcBind.stderr b/testsuite/tests/rep-poly/RepPolyMcBind.stderr index 676bb543ac..d08ef575a4 100644 --- a/testsuite/tests/rep-poly/RepPolyMcBind.stderr +++ b/testsuite/tests/rep-poly/RepPolyMcBind.stderr @@ -1,5 +1,5 @@ -RepPolyMcBind.hs:26:16: error: +RepPolyMcBind.hs:26:16: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘(>>=)’ arising from a statement in a monad comprehension does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyMcBody.stderr b/testsuite/tests/rep-poly/RepPolyMcBody.stderr index 93aca381ce..4c52bb4729 100644 --- a/testsuite/tests/rep-poly/RepPolyMcBody.stderr +++ b/testsuite/tests/rep-poly/RepPolyMcBody.stderr @@ -1,5 +1,5 @@ -RepPolyMcBody.hs:30:16: error: +RepPolyMcBody.hs:30:16: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘(>>)’ arising from a statement in a monad comprehension does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyMcGuard.stderr b/testsuite/tests/rep-poly/RepPolyMcGuard.stderr index a545b53c6c..69d4bf2bf5 100644 --- a/testsuite/tests/rep-poly/RepPolyMcGuard.stderr +++ b/testsuite/tests/rep-poly/RepPolyMcGuard.stderr @@ -1,5 +1,5 @@ -RepPolyMcGuard.hs:30:16: error: +RepPolyMcGuard.hs:30:16: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘guard’ arising from a statement in a monad comprehension does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyNPlusK.stderr b/testsuite/tests/rep-poly/RepPolyNPlusK.stderr index 80672387db..a227f454f6 100644 --- a/testsuite/tests/rep-poly/RepPolyNPlusK.stderr +++ b/testsuite/tests/rep-poly/RepPolyNPlusK.stderr @@ -1,5 +1,5 @@ -RepPolyNPlusK.hs:22:1: error: +RepPolyNPlusK.hs:22:1: error: [GHC-55287] The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyNewtypePat1.stderr b/testsuite/tests/rep-poly/RepPolyNewtypePat1.stderr index b49bd58f2a..507d4aba6e 100644 --- a/testsuite/tests/rep-poly/RepPolyNewtypePat1.stderr +++ b/testsuite/tests/rep-poly/RepPolyNewtypePat1.stderr @@ -1,11 +1,11 @@ -RepPolyNewtypePat1.hs:16:1: error: +RepPolyNewtypePat1.hs:16:1: error: [GHC-55287] The first pattern in the equation for ‘bar’ does not have a fixed runtime representation. Its type is: X a :: TYPE rep -RepPolyNewtypePat1.hs:16:6: error: +RepPolyNewtypePat1.hs:16:6: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyPatBind.stderr b/testsuite/tests/rep-poly/RepPolyPatBind.stderr index 976e84e81e..40637215fe 100644 --- a/testsuite/tests/rep-poly/RepPolyPatBind.stderr +++ b/testsuite/tests/rep-poly/RepPolyPatBind.stderr @@ -1,5 +1,5 @@ -RepPolyPatBind.hs:18:5: error: +RepPolyPatBind.hs:18:5: error: [GHC-55287] • • The binder ‘y’ does not have a fixed runtime representation. Its type is: a :: TYPE rep diff --git a/testsuite/tests/rep-poly/RepPolyPatSynArg.stderr b/testsuite/tests/rep-poly/RepPolyPatSynArg.stderr index 6b9b7f5473..addf1c72b9 100644 --- a/testsuite/tests/rep-poly/RepPolyPatSynArg.stderr +++ b/testsuite/tests/rep-poly/RepPolyPatSynArg.stderr @@ -1,4 +1,4 @@ -RepPolyPatSynArg.hs:17:1: error: +RepPolyPatSynArg.hs:17:1: error: [GHC-18478] The pattern synonym argument does not have a fixed runtime representation: • a :: TYPE rep diff --git a/testsuite/tests/rep-poly/RepPolyPatSynRes.stderr b/testsuite/tests/rep-poly/RepPolyPatSynRes.stderr index d857ba135d..dfd547dc75 100644 --- a/testsuite/tests/rep-poly/RepPolyPatSynRes.stderr +++ b/testsuite/tests/rep-poly/RepPolyPatSynRes.stderr @@ -1,4 +1,4 @@ -RepPolyPatSynRes.hs:13:1: error: +RepPolyPatSynRes.hs:13:1: error: [GHC-18478] The pattern synonym scrutinee does not have a fixed runtime representation: • a :: TYPE rep diff --git a/testsuite/tests/rep-poly/RepPolyPatSynUnliftedNewtype.stderr b/testsuite/tests/rep-poly/RepPolyPatSynUnliftedNewtype.stderr index 0f1923944b..8a47752f27 100644 --- a/testsuite/tests/rep-poly/RepPolyPatSynUnliftedNewtype.stderr +++ b/testsuite/tests/rep-poly/RepPolyPatSynUnliftedNewtype.stderr @@ -1,8 +1,8 @@ -RepPolyPatSynUnliftedNewtype.hs:16:1: error: +RepPolyPatSynUnliftedNewtype.hs:16:1: error: [GHC-18478] The pattern synonym scrutinee does not have a fixed runtime representation: • X a :: TYPE rep -RepPolyPatSynUnliftedNewtype.hs:16:1: error: +RepPolyPatSynUnliftedNewtype.hs:16:1: error: [GHC-18478] The pattern synonym argument does not have a fixed runtime representation: • a :: TYPE rep diff --git a/testsuite/tests/rep-poly/RepPolyRecordPattern.stderr b/testsuite/tests/rep-poly/RepPolyRecordPattern.stderr index 11602f0285..8bd88fe102 100644 --- a/testsuite/tests/rep-poly/RepPolyRecordPattern.stderr +++ b/testsuite/tests/rep-poly/RepPolyRecordPattern.stderr @@ -1,5 +1,5 @@ -RepPolyRecordPattern.hs:7:35: error: +RepPolyRecordPattern.hs:7:35: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: @@ -7,19 +7,19 @@ RepPolyRecordPattern.hs:7:35: error: • In the pattern: MkX {fld = fld} In an equation for ‘fld’: fld MkX {fld = fld} = fld -RepPolyRecordPattern.hs:7:35: error: +RepPolyRecordPattern.hs:7:35: error: [GHC-55287] The first pattern in the equation for ‘fld’ does not have a fixed runtime representation. Its type is: X a :: TYPE rep -RepPolyRecordPattern.hs:13:1: error: +RepPolyRecordPattern.hs:13:1: error: [GHC-55287] The first pattern in the equation for ‘upd’ does not have a fixed runtime representation. Its type is: X a :: TYPE rep -RepPolyRecordPattern.hs:13:7: error: +RepPolyRecordPattern.hs:13:7: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyRecordUpdate.stderr b/testsuite/tests/rep-poly/RepPolyRecordUpdate.stderr index 4e5fa9653b..f7a47b4a4f 100644 --- a/testsuite/tests/rep-poly/RepPolyRecordUpdate.stderr +++ b/testsuite/tests/rep-poly/RepPolyRecordUpdate.stderr @@ -1,5 +1,5 @@ -RepPolyRecordUpdate.hs:7:35: error: +RepPolyRecordUpdate.hs:7:35: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: @@ -7,13 +7,13 @@ RepPolyRecordUpdate.hs:7:35: error: • In the pattern: MkX {fld = fld} In an equation for ‘fld’: fld MkX {fld = fld} = fld -RepPolyRecordUpdate.hs:7:35: error: +RepPolyRecordUpdate.hs:7:35: error: [GHC-55287] The first pattern in the equation for ‘fld’ does not have a fixed runtime representation. Its type is: X a :: TYPE rep -RepPolyRecordUpdate.hs:13:9: error: +RepPolyRecordUpdate.hs:13:9: error: [GHC-55287] • The record update at field ‘fld’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyRightSection.stderr b/testsuite/tests/rep-poly/RepPolyRightSection.stderr index 62c0bdcd8d..e3d13c34fb 100644 --- a/testsuite/tests/rep-poly/RepPolyRightSection.stderr +++ b/testsuite/tests/rep-poly/RepPolyRightSection.stderr @@ -1,5 +1,5 @@ -RepPolyRightSection.hs:14:11: error: +RepPolyRightSection.hs:14:11: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The third argument of ‘rightSection’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyRule1.stderr b/testsuite/tests/rep-poly/RepPolyRule1.stderr index 6250ddb098..a7f524cf99 100644 --- a/testsuite/tests/rep-poly/RepPolyRule1.stderr +++ b/testsuite/tests/rep-poly/RepPolyRule1.stderr @@ -1,5 +1,5 @@ -RepPolyRule1.hs:11:51: error: +RepPolyRule1.hs:11:51: error: [GHC-55287] • The argument ‘x’ of ‘f’ does not have a fixed runtime representation. Its type is: @@ -12,7 +12,7 @@ RepPolyRule1.hs:11:51: error: • Relevant bindings include x :: a2 (bound at RepPolyRule1.hs:11:26) -RepPolyRule1.hs:11:55: error: +RepPolyRule1.hs:11:55: error: [GHC-55287] • The argument ‘x’ of ‘f’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyRule2.stderr b/testsuite/tests/rep-poly/RepPolyRule2.stderr index 82403d3c7d..5a0dc379e0 100644 --- a/testsuite/tests/rep-poly/RepPolyRule2.stderr +++ b/testsuite/tests/rep-poly/RepPolyRule2.stderr @@ -1,5 +1,5 @@ -RepPolyRule2.hs:17:53: error: +RepPolyRule2.hs:17:53: error: [GHC-55287] • The argument ‘x’ of ‘f’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyRule3.stderr b/testsuite/tests/rep-poly/RepPolyRule3.stderr index 695a4985bf..fb6b135b72 100644 --- a/testsuite/tests/rep-poly/RepPolyRule3.stderr +++ b/testsuite/tests/rep-poly/RepPolyRule3.stderr @@ -1,5 +1,5 @@ -RepPolyRule3.hs:17:57: error: +RepPolyRule3.hs:17:57: error: [GHC-55287] • The argument ‘x’ of ‘g’ does not have a fixed runtime representation. Its kind is: @@ -8,7 +8,7 @@ RepPolyRule3.hs:17:57: error: • In the expression: g x When checking the rewrite rule "g_id" -RepPolyRule3.hs:23:52: error: +RepPolyRule3.hs:23:52: error: [GHC-55287] • The argument ‘x’ of ‘h’ does not have a fixed runtime representation. Its kind is: diff --git a/testsuite/tests/rep-poly/RepPolySum.stderr b/testsuite/tests/rep-poly/RepPolySum.stderr index dacb118e2a..89a8ef85a9 100644 --- a/testsuite/tests/rep-poly/RepPolySum.stderr +++ b/testsuite/tests/rep-poly/RepPolySum.stderr @@ -1,5 +1,5 @@ -RepPolySum.hs:11:9: error: +RepPolySum.hs:11:9: error: [GHC-55287] • The unboxed sum does not have a fixed runtime representation. Its type is: (# Int# | a #) :: TYPE ('SumRep '[ 'IntRep, rep]) @@ -11,7 +11,7 @@ RepPolySum.hs:11:9: error: bar :: () -> a bar _ = undefined -RepPolySum.hs:20:9: error: +RepPolySum.hs:20:9: error: [GHC-55287] • The unboxed sum does not have a fixed runtime representation. Its type is: (# Int# | a #) :: TYPE ('SumRep '[ 'IntRep, rep]) diff --git a/testsuite/tests/rep-poly/RepPolyTuple.stderr b/testsuite/tests/rep-poly/RepPolyTuple.stderr index f9c1275976..354a315b5a 100644 --- a/testsuite/tests/rep-poly/RepPolyTuple.stderr +++ b/testsuite/tests/rep-poly/RepPolyTuple.stderr @@ -1,5 +1,5 @@ -RepPolyTuple.hs:11:9: error: +RepPolyTuple.hs:11:9: error: [GHC-55287] • • The tuple argument in third position does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyTuple2.stderr b/testsuite/tests/rep-poly/RepPolyTuple2.stderr index 558e1bf1bb..7fdad7070e 100644 --- a/testsuite/tests/rep-poly/RepPolyTuple2.stderr +++ b/testsuite/tests/rep-poly/RepPolyTuple2.stderr @@ -1,5 +1,5 @@ -RepPolyTuple2.hs:21:9: error: +RepPolyTuple2.hs:21:9: error: [GHC-55287] • Unsaturated use of a representation-polymorphic data constructor. The second argument of ‘(#,#)’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyTupleSection.stderr b/testsuite/tests/rep-poly/RepPolyTupleSection.stderr index fa2ddf93cb..a6f03bf2a1 100644 --- a/testsuite/tests/rep-poly/RepPolyTupleSection.stderr +++ b/testsuite/tests/rep-poly/RepPolyTupleSection.stderr @@ -1,5 +1,5 @@ -RepPolyTupleSection.hs:11:7: error: +RepPolyTupleSection.hs:11:7: error: [GHC-55287] • The second component of the tuple section does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyUnboxedPatterns.stderr b/testsuite/tests/rep-poly/RepPolyUnboxedPatterns.stderr index a2d6e6bd1d..a84d9d89f8 100644 --- a/testsuite/tests/rep-poly/RepPolyUnboxedPatterns.stderr +++ b/testsuite/tests/rep-poly/RepPolyUnboxedPatterns.stderr @@ -1,11 +1,11 @@ -RepPolyUnboxedPatterns.hs:8:1: error: +RepPolyUnboxedPatterns.hs:8:1: error: [GHC-55287] The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: (# a, b #) :: TYPE ('TupleRep '[rep1, rep2]) -RepPolyUnboxedPatterns.hs:11:1: error: +RepPolyUnboxedPatterns.hs:11:1: error: [GHC-55287] The first pattern in the equations for ‘bar’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyWildcardPattern.stderr b/testsuite/tests/rep-poly/RepPolyWildcardPattern.stderr index de27799bbf..a9e0dcb0ea 100644 --- a/testsuite/tests/rep-poly/RepPolyWildcardPattern.stderr +++ b/testsuite/tests/rep-poly/RepPolyWildcardPattern.stderr @@ -1,5 +1,5 @@ -RepPolyWildcardPattern.hs:6:1: error: +RepPolyWildcardPattern.hs:6:1: error: [GHC-55287] The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyWrappedVar.stderr b/testsuite/tests/rep-poly/RepPolyWrappedVar.stderr index d5ab6aaa0f..abdafcf070 100644 --- a/testsuite/tests/rep-poly/RepPolyWrappedVar.stderr +++ b/testsuite/tests/rep-poly/RepPolyWrappedVar.stderr @@ -1,5 +1,5 @@ -RepPolyWrappedVar.hs:15:10: error: +RepPolyWrappedVar.hs:15:10: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The first argument of ‘mkWeak#’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T11473.stderr b/testsuite/tests/rep-poly/T11473.stderr index 8e7b81f3e9..d44e8f477d 100644 --- a/testsuite/tests/rep-poly/T11473.stderr +++ b/testsuite/tests/rep-poly/T11473.stderr @@ -1,5 +1,5 @@ -T11473.hs:19:1: error: +T11473.hs:19:1: error: [GHC-55287] The first pattern in the equation for ‘hello’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T11724.stderr b/testsuite/tests/rep-poly/T11724.stderr index 1c63de3d1a..c7bc9948b3 100644 --- a/testsuite/tests/rep-poly/T11724.stderr +++ b/testsuite/tests/rep-poly/T11724.stderr @@ -1,5 +1,5 @@ -T11724.hs:7:44: error: +T11724.hs:7:44: error: [GHC-18478] • The data constructor field does not have a fixed runtime representation: • a :: TYPE r • In the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/rep-poly/T12709.stderr b/testsuite/tests/rep-poly/T12709.stderr index d96ec57896..3dea77979e 100644 --- a/testsuite/tests/rep-poly/T12709.stderr +++ b/testsuite/tests/rep-poly/T12709.stderr @@ -1,5 +1,5 @@ -T12709.hs:28:13: error: +T12709.hs:28:13: error: [GHC-55287] • The argument ‘1’ of ‘(+)’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T12973.stderr b/testsuite/tests/rep-poly/T12973.stderr index b328176c1d..f0c89e63a9 100644 --- a/testsuite/tests/rep-poly/T12973.stderr +++ b/testsuite/tests/rep-poly/T12973.stderr @@ -1,5 +1,5 @@ -T12973.hs:13:7: error: +T12973.hs:13:7: error: [GHC-55287] • The argument ‘3’ of ‘(+)’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T13233.stderr b/testsuite/tests/rep-poly/T13233.stderr index c7e6be02fc..b0b4e807c3 100644 --- a/testsuite/tests/rep-poly/T13233.stderr +++ b/testsuite/tests/rep-poly/T13233.stderr @@ -1,5 +1,5 @@ -T13233.hs:14:11: error: +T13233.hs:14:11: error: [GHC-55287] • • Unsaturated use of a representation-polymorphic data constructor. The second argument of ‘(#,#)’ does not have a fixed runtime representation. @@ -14,7 +14,7 @@ T13233.hs:14:11: error: In the expression: bar (#,#) In an equation for ‘baz’: baz = bar (#,#) -T13233.hs:22:16: error: +T13233.hs:22:16: error: [GHC-55287] • • Unsaturated use of a representation-polymorphic data constructor. The second argument of ‘(#,#)’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T13929.stderr b/testsuite/tests/rep-poly/T13929.stderr index 5365f7d6b0..5ad878794c 100644 --- a/testsuite/tests/rep-poly/T13929.stderr +++ b/testsuite/tests/rep-poly/T13929.stderr @@ -1,5 +1,5 @@ -T13929.hs:29:24: error: +T13929.hs:29:24: error: [GHC-55287] • The tuple argument in first position does not have a fixed runtime representation. Its type is: @@ -16,7 +16,7 @@ T13929.hs:29:24: error: gunbox :: (:*:) f g p -> GUnboxed (f :*: g) ('TupleRep '[rf, rg]) (bound at T13929.hs:29:5) -T13929.hs:34:21: error: +T13929.hs:34:21: error: [GHC-55287] • • The unboxed sum does not have a fixed runtime representation. Its type is: GUnboxed (f :+: g) ('SumRep '[rf, rg]) :: TYPE ('SumRep '[rf, rg]) diff --git a/testsuite/tests/rep-poly/T14561.stderr b/testsuite/tests/rep-poly/T14561.stderr index 3c372e689c..2908329182 100644 --- a/testsuite/tests/rep-poly/T14561.stderr +++ b/testsuite/tests/rep-poly/T14561.stderr @@ -1,5 +1,5 @@ -T14561.hs:12:9: error: +T14561.hs:12:9: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The first argument of ‘unsafeCoerce#’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T14561b.stderr b/testsuite/tests/rep-poly/T14561b.stderr index 7af3b05511..5f36802561 100644 --- a/testsuite/tests/rep-poly/T14561b.stderr +++ b/testsuite/tests/rep-poly/T14561b.stderr @@ -1,5 +1,5 @@ -T14561b.hs:12:9: error: +T14561b.hs:12:9: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The first argument of ‘coerce’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T14765.stderr b/testsuite/tests/rep-poly/T14765.stderr index 0b70a16404..003e247c61 100644 --- a/testsuite/tests/rep-poly/T14765.stderr +++ b/testsuite/tests/rep-poly/T14765.stderr @@ -1,5 +1,5 @@ -T14765.hs:11:29: error: +T14765.hs:11:29: error: [GHC-55287] • The argument ‘(k proxy#)’ of ‘f’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T17021.stderr b/testsuite/tests/rep-poly/T17021.stderr index 39f907b40c..b1b4a68e44 100644 --- a/testsuite/tests/rep-poly/T17021.stderr +++ b/testsuite/tests/rep-poly/T17021.stderr @@ -1,5 +1,5 @@ -T17021.hs:18:5: error: +T17021.hs:18:5: error: [GHC-55287] • The argument ‘42’ of ‘MkT’ does not have a fixed runtime representation. Its kind is: diff --git a/testsuite/tests/rep-poly/T17360.stderr b/testsuite/tests/rep-poly/T17360.stderr index 784eb9928b..7d2f6e8d04 100644 --- a/testsuite/tests/rep-poly/T17360.stderr +++ b/testsuite/tests/rep-poly/T17360.stderr @@ -1,5 +1,5 @@ -T17360.hs:11:1: error: +T17360.hs:11:1: error: [GHC-55287] The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T17817.stderr b/testsuite/tests/rep-poly/T17817.stderr index 7acdec120a..4d3cb94343 100644 --- a/testsuite/tests/rep-poly/T17817.stderr +++ b/testsuite/tests/rep-poly/T17817.stderr @@ -1,5 +1,5 @@ -T17817.hs:16:10: error: +T17817.hs:16:10: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The first argument of ‘mkWeak#’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T18534.stderr b/testsuite/tests/rep-poly/T18534.stderr index d56e696604..aa88e9e892 100644 --- a/testsuite/tests/rep-poly/T18534.stderr +++ b/testsuite/tests/rep-poly/T18534.stderr @@ -1,5 +1,5 @@ -T18534.hs:7:27: error: +T18534.hs:7:27: error: [GHC-18478] • The data constructor field does not have a fixed runtime representation: • a :: TYPE r • In the definition of data constructor ‘Test’ diff --git a/testsuite/tests/rep-poly/T19615.stderr b/testsuite/tests/rep-poly/T19615.stderr index f0d3d8297d..eb56692c3c 100644 --- a/testsuite/tests/rep-poly/T19615.stderr +++ b/testsuite/tests/rep-poly/T19615.stderr @@ -1,5 +1,5 @@ -T19615.hs:17:21: error: +T19615.hs:17:21: error: [GHC-55287] • The argument ‘(f x)’ of ‘lift'’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T19709a.stderr b/testsuite/tests/rep-poly/T19709a.stderr index ee88ed0ed1..e329a824da 100644 --- a/testsuite/tests/rep-poly/T19709a.stderr +++ b/testsuite/tests/rep-poly/T19709a.stderr @@ -1,5 +1,5 @@ -T19709a.hs:8:8: error: +T19709a.hs:8:8: error: [GHC-55287] • The first pattern in the equation for ‘levid’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T19709b.stderr b/testsuite/tests/rep-poly/T19709b.stderr index a236ea99e2..da2d53d272 100644 --- a/testsuite/tests/rep-poly/T19709b.stderr +++ b/testsuite/tests/rep-poly/T19709b.stderr @@ -1,5 +1,5 @@ -T19709b.hs:11:15: error: +T19709b.hs:11:15: error: [GHC-55287] • The argument ‘(error @Any "e2")’ of ‘levfun’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T20113.stderr b/testsuite/tests/rep-poly/T20113.stderr index a941c709de..3d52dbe734 100644 --- a/testsuite/tests/rep-poly/T20113.stderr +++ b/testsuite/tests/rep-poly/T20113.stderr @@ -1,5 +1,5 @@ -T20113.hs:7:35: error: +T20113.hs:7:35: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: @@ -8,7 +8,7 @@ T20113.hs:7:35: error: In an equation for ‘T20113.$sel:y_fld:MkY’: T20113.$sel:y_fld:MkY MkY {y_fld = $sel:y_fld:MkY} = $sel:y_fld:MkY -T20113.hs:7:35: error: +T20113.hs:7:35: error: [GHC-55287] The first pattern in the equation for ‘$sel:y_fld:MkY’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T20277.stderr b/testsuite/tests/rep-poly/T20277.stderr index b2e82c86eb..e55d2846f8 100644 --- a/testsuite/tests/rep-poly/T20277.stderr +++ b/testsuite/tests/rep-poly/T20277.stderr @@ -1,5 +1,5 @@ -T20277.hs:14:9: error: +T20277.hs:14:9: error: [GHC-55287] • The unboxed sum does not have a fixed runtime representation. Its type is: (# Int# | a #) :: TYPE ('SumRep '[ 'IntRep, rep]) diff --git a/testsuite/tests/rep-poly/T20363.stderr b/testsuite/tests/rep-poly/T20363.stderr index cf719e3176..1359ae46c5 100644 --- a/testsuite/tests/rep-poly/T20363.stderr +++ b/testsuite/tests/rep-poly/T20363.stderr @@ -1,5 +1,5 @@ -T20363.hs:23:10: error: +T20363.hs:23:10: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its kind is: diff --git a/testsuite/tests/rep-poly/T20363_show_co.stderr b/testsuite/tests/rep-poly/T20363_show_co.stderr index 69fa078718..bc66071c97 100644 --- a/testsuite/tests/rep-poly/T20363_show_co.stderr +++ b/testsuite/tests/rep-poly/T20363_show_co.stderr @@ -1,5 +1,5 @@ -T20363_show_co.hs:23:10: error: +T20363_show_co.hs:23:10: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T20363b.stderr b/testsuite/tests/rep-poly/T20363b.stderr index 7651077162..e730bc62e0 100644 --- a/testsuite/tests/rep-poly/T20363b.stderr +++ b/testsuite/tests/rep-poly/T20363b.stderr @@ -1,5 +1,5 @@ -T20363b.hs:48:10: error: +T20363b.hs:48:10: error: [GHC-55287] • • The newtype constructor pattern does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T20423.stderr b/testsuite/tests/rep-poly/T20423.stderr index 521538788e..e9f7f7263e 100644 --- a/testsuite/tests/rep-poly/T20423.stderr +++ b/testsuite/tests/rep-poly/T20423.stderr @@ -1,4 +1,4 @@ -T20423.hs:11:1: error: +T20423.hs:11:1: error: [GHC-18478] The pattern synonym scrutinee does not have a fixed runtime representation: • LPInt lev :: TYPE ('BoxedRep lev) diff --git a/testsuite/tests/rep-poly/T20423b.stderr b/testsuite/tests/rep-poly/T20423b.stderr index 18ada55c38..e76697fcfe 100644 --- a/testsuite/tests/rep-poly/T20423b.stderr +++ b/testsuite/tests/rep-poly/T20423b.stderr @@ -1,4 +1,4 @@ -T20423b.hs:17:1: error: +T20423b.hs:17:1: error: [GHC-18478] The pattern synonym scrutinee does not have a fixed runtime representation: • LPGADT l :: TYPE ('BoxedRep l) diff --git a/testsuite/tests/rep-poly/T20426.stderr b/testsuite/tests/rep-poly/T20426.stderr index 9c4f802a1b..e1dfe0a5a8 100644 --- a/testsuite/tests/rep-poly/T20426.stderr +++ b/testsuite/tests/rep-poly/T20426.stderr @@ -1,5 +1,5 @@ -T20426.hs:15:1: error: +T20426.hs:15:1: error: [GHC-55287] The first pattern in the equations for ‘getInt#’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T21650_a.stderr b/testsuite/tests/rep-poly/T21650_a.stderr index 628dbced5a..6f2169c717 100644 --- a/testsuite/tests/rep-poly/T21650_a.stderr +++ b/testsuite/tests/rep-poly/T21650_a.stderr @@ -1,5 +1,5 @@ -T21650_a.hs:25:8: error: +T21650_a.hs:25:8: error: [GHC-55287] • Unsaturated use of a representation-polymorphic newtype constructor. The first argument of ‘MkN’ does not have a fixed runtime representation. @@ -8,7 +8,7 @@ T21650_a.hs:25:8: error: • In the expression: MkN In an equation for ‘foo1’: foo1 = MkN -T21650_a.hs:28:10: error: +T21650_a.hs:28:10: error: [GHC-55287] • Unsaturated use of a representation-polymorphic newtype constructor. The first argument of ‘MkN’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T21650_b.stderr b/testsuite/tests/rep-poly/T21650_b.stderr index 5b2ceb0b5c..081736ad6b 100644 --- a/testsuite/tests/rep-poly/T21650_b.stderr +++ b/testsuite/tests/rep-poly/T21650_b.stderr @@ -1,5 +1,5 @@ -T21650_b.hs:34:7: error: +T21650_b.hs:34:7: error: [GHC-55287] • Unsaturated use of a representation-polymorphic newtype constructor. The first argument of ‘MkN’ does not have a fixed runtime representation. @@ -8,7 +8,7 @@ T21650_b.hs:34:7: error: • In the expression: MkN In an equation for ‘foo’: foo = MkN -T21650_b.hs:37:7: error: +T21650_b.hs:37:7: error: [GHC-55287] • Unsaturated use of a representation-polymorphic newtype constructor. The first argument of ‘MkN’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/UnliftedNewtypesCoerceFail.stderr b/testsuite/tests/rep-poly/UnliftedNewtypesCoerceFail.stderr index 3484650c73..19ae02db3f 100644 --- a/testsuite/tests/rep-poly/UnliftedNewtypesCoerceFail.stderr +++ b/testsuite/tests/rep-poly/UnliftedNewtypesCoerceFail.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesCoerceFail.hs:14:8: error: +UnliftedNewtypesCoerceFail.hs:14:8: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The first argument of ‘coerce’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/UnliftedNewtypesLevityBinder.stderr b/testsuite/tests/rep-poly/UnliftedNewtypesLevityBinder.stderr index e0bdaa5e8c..2bb3bf6613 100644 --- a/testsuite/tests/rep-poly/UnliftedNewtypesLevityBinder.stderr +++ b/testsuite/tests/rep-poly/UnliftedNewtypesLevityBinder.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesLevityBinder.hs:15:7: error: +UnliftedNewtypesLevityBinder.hs:15:7: error: [GHC-55287] • Unsaturated use of a representation-polymorphic newtype constructor. The first argument of ‘IdentC’ does not have a fixed runtime representation. diff --git a/testsuite/tests/roles/should_fail/Roles10.stderr b/testsuite/tests/roles/should_fail/Roles10.stderr index bc61e22de1..23bd284355 100644 --- a/testsuite/tests/roles/should_fail/Roles10.stderr +++ b/testsuite/tests/roles/should_fail/Roles10.stderr @@ -1,6 +1,6 @@ -Roles10.hs:16:12: error: - Couldn't match representation of type ‘Bool’ with that of ‘Char’ - arising from the coercion of the method ‘meth’ - from type ‘Int -> F Int’ to type ‘Age -> F Age’ - When deriving the instance for (C Age) +Roles10.hs:16:12: error: [GHC-18872] + • Couldn't match representation of type ‘Bool’ with that of ‘Char’ + arising from the coercion of the method ‘meth’ + from type ‘Int -> F Int’ to type ‘Age -> F Age’ + • When deriving the instance for (C Age) diff --git a/testsuite/tests/roles/should_fail/Roles7.stderr b/testsuite/tests/roles/should_fail/Roles7.stderr index c8840136d7..118f6e8311 100644 --- a/testsuite/tests/roles/should_fail/Roles7.stderr +++ b/testsuite/tests/roles/should_fail/Roles7.stderr @@ -1,4 +1,4 @@ -Roles7.hs:6:15: +Roles7.hs:6:15: error: [GHC-09009] Illegal role name ‘repesentational’ Suggested fix: Perhaps you meant ‘representational’ diff --git a/testsuite/tests/roles/should_fail/RolesIArray.stderr b/testsuite/tests/roles/should_fail/RolesIArray.stderr index ea9bb30c86..6aa06bd281 100644 --- a/testsuite/tests/roles/should_fail/RolesIArray.stderr +++ b/testsuite/tests/roles/should_fail/RolesIArray.stderr @@ -1,63 +1,63 @@ -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.unsafeAccumArray’ - from type ‘forall i e'. - Ix i => - (Word64 -> e' -> Word64) - -> Word64 -> (i, i) -> [(Int, e')] -> UArray i Word64’ - to type ‘forall i e'. - Ix i => - (N -> e' -> N) -> N -> (i, i) -> [(Int, e')] -> UArray i N’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.unsafeAccumArray’ + from type ‘forall i e'. + Ix i => + (Word64 -> e' -> Word64) + -> Word64 -> (i, i) -> [(Int, e')] -> UArray i Word64’ + to type ‘forall i e'. + Ix i => + (N -> e' -> N) -> N -> (i, i) -> [(Int, e')] -> UArray i N’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.unsafeAccum’ - from type ‘forall i e'. - Ix i => - (Word64 -> e' -> Word64) - -> UArray i Word64 -> [(Int, e')] -> UArray i Word64’ - to type ‘forall i e'. - Ix i => - (N -> e' -> N) -> UArray i N -> [(Int, e')] -> UArray i N’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.unsafeAccum’ + from type ‘forall i e'. + Ix i => + (Word64 -> e' -> Word64) + -> UArray i Word64 -> [(Int, e')] -> UArray i Word64’ + to type ‘forall i e'. + Ix i => + (N -> e' -> N) -> UArray i N -> [(Int, e')] -> UArray i N’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.unsafeReplace’ - from type ‘forall i. - Ix i => - UArray i Word64 -> [(Int, Word64)] -> UArray i Word64’ - to type ‘forall i. Ix i => UArray i N -> [(Int, N)] -> UArray i N’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.unsafeReplace’ + from type ‘forall i. + Ix i => + UArray i Word64 -> [(Int, Word64)] -> UArray i Word64’ + to type ‘forall i. Ix i => UArray i N -> [(Int, N)] -> UArray i N’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.unsafeAt’ - from type ‘forall i. Ix i => UArray i Word64 -> Int -> Word64’ - to type ‘forall i. Ix i => UArray i N -> Int -> N’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.unsafeAt’ + from type ‘forall i. Ix i => UArray i Word64 -> Int -> Word64’ + to type ‘forall i. Ix i => UArray i N -> Int -> N’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.unsafeArray’ - from type ‘forall i. - Ix i => - (i, i) -> [(Int, Word64)] -> UArray i Word64’ - to type ‘forall i. Ix i => (i, i) -> [(Int, N)] -> UArray i N’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.unsafeArray’ + from type ‘forall i. + Ix i => + (i, i) -> [(Int, Word64)] -> UArray i Word64’ + to type ‘forall i. Ix i => (i, i) -> [(Int, N)] -> UArray i N’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.numElements’ - from type ‘forall i. Ix i => UArray i Word64 -> Int’ - to type ‘forall i. Ix i => UArray i N -> Int’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.numElements’ + from type ‘forall i. Ix i => UArray i Word64 -> Int’ + to type ‘forall i. Ix i => UArray i N -> Int’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘bounds’ - from type ‘forall i. Ix i => UArray i Word64 -> (i, i)’ - to type ‘forall i. Ix i => UArray i N -> (i, i)’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘bounds’ + from type ‘forall i. Ix i => UArray i Word64 -> (i, i)’ + to type ‘forall i. Ix i => UArray i N -> (i, i)’ + • When deriving the instance for (IArray UArray N) diff --git a/testsuite/tests/safeHaskell/check/Check01.stderr b/testsuite/tests/safeHaskell/check/Check01.stderr index b63d8d4a10..3eda379107 100644 --- a/testsuite/tests/safeHaskell/check/Check01.stderr +++ b/testsuite/tests/safeHaskell/check/Check01.stderr @@ -1,4 +1,4 @@ [3 of 3] Compiling Check01 ( Check01.hs, Check01.o ) -<no location info>: error: - The package (base-4.16.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/Check06.stderr b/testsuite/tests/safeHaskell/check/Check06.stderr index b533b3c357..49635306ef 100644 --- a/testsuite/tests/safeHaskell/check/Check06.stderr +++ b/testsuite/tests/safeHaskell/check/Check06.stderr @@ -1,5 +1,5 @@ [1 of 2] Compiling Check06_A ( Check06_A.hs, Check06_A.o ) [2 of 2] Compiling Check06 ( Check06.hs, Check06.o ) -<no location info>: error: - The package (base-4.13.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/Check08.stderr b/testsuite/tests/safeHaskell/check/Check08.stderr index 9eb6691bc8..e0fed33756 100644 --- a/testsuite/tests/safeHaskell/check/Check08.stderr +++ b/testsuite/tests/safeHaskell/check/Check08.stderr @@ -2,5 +2,5 @@ [2 of 3] Compiling Check08_B ( Check08_B.hs, Check08_B.o ) [3 of 3] Compiling Check08 ( Check08.hs, Check08.o ) -<no location info>: error: - The package (base-4.16.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/Check09.stderr b/testsuite/tests/safeHaskell/check/Check09.stderr index 14af3c8f8b..042f2d7adf 100644 --- a/testsuite/tests/safeHaskell/check/Check09.stderr +++ b/testsuite/tests/safeHaskell/check/Check09.stderr @@ -1,8 +1,8 @@ -Check09.hs:5:1: error: +Check09.hs:5:1: error: [GHC-75165] Prelude: Can't be safely imported! - The package (base-4.16.0.0) the module resides in isn't trusted. + The package (base-4.17.0.0) the module resides in isn't trusted. -Check09.hs:6:1: error: +Check09.hs:6:1: error: [GHC-75165] Data.ByteString.Char8: Can't be safely imported! - The package (bytestring-0.10.12.0) the module resides in isn't trusted. + The package (bytestring-0.11.3.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr index 0381edfccb..77783546c9 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr @@ -1,4 +1,4 @@ -ImpSafe01.hs:10:1: error: +ImpSafe01.hs:10:1: error: [GHC-75165] Data.Word: Can't be safely imported! - The package (base-4.16.0.0) the module resides in isn't trusted. + The package (base-4.17.0.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr index 33cb566987..19f6c1c0a1 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr @@ -1,4 +1,4 @@ [2 of 3] Compiling Main ( ImpSafe03.hs, ImpSafe03.o ) -<no location info>: error: - The package (bytestring-0.11.1.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr index a0445afd23..d25ba89d1d 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr @@ -1,4 +1,4 @@ -ImpSafe04.hs:10:1: error: +ImpSafe04.hs:10:1: error: [GHC-75165] Data.Word: Can't be safely imported! - The package (base-4.16.0.0) the module resides in isn't trusted. + The package (base-4.17.0.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr index aef125b2ef..5400ea9ff4 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr @@ -1,4 +1,4 @@ -ImpSafeOnly03.hs:5:1: error: +ImpSafeOnly03.hs:5:1: error: [GHC-75165] M_SafePkg3: Can't be safely imported! The package (safePkg01-1.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr index 7e854073bf..cdbb136803 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr @@ -1,4 +1,4 @@ -ImpSafeOnly05.hs:5:1: error: +ImpSafeOnly05.hs:5:1: error: [GHC-75165] M_SafePkg5: Can't be safely imported! The package (safePkg01-1.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr index 79af2e0a45..8576745e7c 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr @@ -1,6 +1,6 @@ -<no location info>: error: - The package (base-4.9.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! -<no location info>: error: - The package (bytestring-0.10.8.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr index 79af2e0a45..8576745e7c 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr @@ -1,6 +1,6 @@ -<no location info>: error: - The package (base-4.9.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! -<no location info>: error: - The package (bytestring-0.10.8.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr index 4221723abe..e125b95fdb 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr @@ -1,3 +1,3 @@ -<no location info>: - The package (bytestring-0.10.8.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr index 0ca3951efa..fa837fa107 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr @@ -1,2 +1,3 @@ -SafeFlags03.hs:1:14: Unsupported extension: SafeImport +SafeFlags03.hs:1:14: error: [GHC-46537] + Unsupported extension: SafeImport diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr index 2a550f25a1..7b94f9df3e 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr @@ -1,2 +1,3 @@ -SafeFlags04.hs:1:14: Unsupported extension: SafeLanguage +SafeFlags04.hs:1:14: error: [GHC-46537] + Unsupported extension: SafeLanguage diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr index 3c3317f20c..2310743115 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr @@ -1,2 +1,3 @@ -SafeFlags07.hs:1:14: Unsupported extension: SafeLanguage +SafeFlags07.hs:1:14: error: [GHC-46537] + Unsupported extension: SafeLanguage diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr index e72e6e459f..4d179b1269 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr @@ -1,2 +1,3 @@ -SafeFlags08.hs:1:14: Unsupported extension: SafeLanguage +SafeFlags08.hs:1:14: error: [GHC-46537] + Unsupported extension: SafeLanguage diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr index 2bc5aed21c..d7554da817 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr @@ -1,2 +1,3 @@ -SafeFlags09.hs:1:14: Unsupported extension: SafeLanguage +SafeFlags09.hs:1:14: error: [GHC-46537] + Unsupported extension: SafeLanguage diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr index 4ce52ce072..f8a7377058 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr @@ -1,4 +1,4 @@ -SafeFlags17.hs:5:8: error: +SafeFlags17.hs:5:8: error: [GHC-75165] Prelude: Can't be safely imported! - The package (base-4.16.0.0) the module resides in isn't trusted. + The package (base-4.17.0.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr index 438cd98629..435d6adb9b 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr @@ -1,3 +1,3 @@ -SafeFlags19.hs:1:17: +SafeFlags19.hs:1:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -fno-package-trust diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr index cc4d8b7ae1..75547c110a 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr @@ -2,6 +2,6 @@ SafeFlags22.hs:2:17: warning: [-Wunsafe] ‘SafeFlags22’ has been inferred as unsafe! Reason: - SafeFlags22.hs:8:1: error: + SafeFlags22.hs:8:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr index 3bb3d3b02a..28fba4657a 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr @@ -1,7 +1,7 @@ -SafeFlags23.hs:2:17: error: [-Wunsafe, -Werror=unsafe] +SafeFlags23.hs:2:17: error: [-Wunsafe, Werror=unsafe] ‘SafeFlags22’ has been inferred as unsafe! Reason: - SafeFlags23.hs:8:1: error: + SafeFlags23.hs:8:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr index 57bcdaa192..ba53b5cd03 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr @@ -1,3 +1,3 @@ -SafeFlags25.hs:2:17: warning: [-Wsafe] +SafeFlags25.hs:2:17: warning: [GHC-58656] [-Wsafe] ‘SafeFlags25’ has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr index f4b084a9a5..c687be2a56 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr @@ -1,3 +1,3 @@ -SafeFlags26.hs:2:17: error: [-Wsafe, -Werror=safe] +SafeFlags26.hs:2:17: error: [GHC-58656] [-Wsafe, Werror=safe] ‘SafeFlags26’ has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr index efc47ee4ce..96d2c2062d 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr @@ -1,12 +1,12 @@ -SafeFlags28.hs:1:17: error: +SafeFlags28.hs:1:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust -SafeFlags28.hs:1:24: error: +SafeFlags28.hs:1:24: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: base, -SafeFlags28.hs:1:30: error: +SafeFlags28.hs:1:30: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust -SafeFlags28.hs:1:37: error: +SafeFlags28.hs:1:37: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: bytestring diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr index a98ac6cf77..fea369aef5 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr @@ -1,12 +1,12 @@ -SafeFlags29.hs:2:17: error: +SafeFlags29.hs:2:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust -SafeFlags29.hs:2:24: error: +SafeFlags29.hs:2:24: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: base -SafeFlags29.hs:2:29: error: +SafeFlags29.hs:2:29: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust -SafeFlags29.hs:2:36: error: +SafeFlags29.hs:2:36: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: bytestring diff --git a/testsuite/tests/safeHaskell/ghci/p10.stderr b/testsuite/tests/safeHaskell/ghci/p10.stderr index d3c7fe2f5e..89201ec34a 100644 --- a/testsuite/tests/safeHaskell/ghci/p10.stderr +++ b/testsuite/tests/safeHaskell/ghci/p10.stderr @@ -1,2 +1,2 @@ -<interactive>:10:1: error: Variable not in scope: b +<interactive>:10:1: error: [GHC-88464] Variable not in scope: b diff --git a/testsuite/tests/safeHaskell/ghci/p11.stderr b/testsuite/tests/safeHaskell/ghci/p11.stderr index 9ff951a7bc..adb6f1288e 100644 --- a/testsuite/tests/safeHaskell/ghci/p11.stderr +++ b/testsuite/tests/safeHaskell/ghci/p11.stderr @@ -1,4 +1,4 @@ -E.hs:3:1: +E.hs:3:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/ghci/p12.stderr b/testsuite/tests/safeHaskell/ghci/p12.stderr index 3b259c3722..a552be6d6c 100644 --- a/testsuite/tests/safeHaskell/ghci/p12.stderr +++ b/testsuite/tests/safeHaskell/ghci/p12.stderr @@ -1,7 +1,6 @@ Some flags have not been recognized: -XNoSafe Some flags have not been recognized: -fno-package-trust -<no location info>: +<no location info>: error: [GHC-75165] Data.ByteString: Can't be safely imported! - The package (bytestring-0.10.5.0) the module resides in isn't trusted. - + The package (bytestring-0.11.3.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/ghci/p13.stderr b/testsuite/tests/safeHaskell/ghci/p13.stderr index ba73130146..edc4a9a067 100644 --- a/testsuite/tests/safeHaskell/ghci/p13.stderr +++ b/testsuite/tests/safeHaskell/ghci/p13.stderr @@ -1,5 +1,5 @@ -<interactive>:11:1: error: +<interactive>:11:1: error: [GHC-36705] • Unsafe overlapping instances for Pos [Int] arising from a use of ‘res’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/ghci/p14.stderr b/testsuite/tests/safeHaskell/ghci/p14.stderr index 804526b153..0f6f65975c 100644 --- a/testsuite/tests/safeHaskell/ghci/p14.stderr +++ b/testsuite/tests/safeHaskell/ghci/p14.stderr @@ -2,7 +2,7 @@ when making flags consistent: warning: Optimization flags are incompatible with the byte-code interpreter; optimization flags ignored. -<interactive>:10:25: error: +<interactive>:10:25: error: [GHC-39999] • No instance for ‘Num a’ arising from a use of ‘f’ Possible fix: add (Num a) to the context of the RULE "id/Int" • In the expression: f diff --git a/testsuite/tests/safeHaskell/ghci/p16.stderr b/testsuite/tests/safeHaskell/ghci/p16.stderr index 357bc5bc9f..f915af1f1b 100644 --- a/testsuite/tests/safeHaskell/ghci/p16.stderr +++ b/testsuite/tests/safeHaskell/ghci/p16.stderr @@ -2,7 +2,7 @@ <no location info>: warning: -XGeneralizedNewtypeDeriving is not allowed in Safe Haskell; ignoring -XGeneralizedNewtypeDeriving -<interactive>:16:29: error: +<interactive>:16:29: error: [GHC-82023] • Can't make a derived instance of ‘Op T2’: ‘Op’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘T2’ @@ -10,8 +10,8 @@ Perhaps you intended to use GeneralizedNewtypeDeriving for GHC's newtype-deriving extension -<interactive>:19:9: error: +<interactive>:19:9: error: [GHC-88464] Data constructor not in scope: T2 :: T -> t Suggested fix: Perhaps use ‘T1’ (line 13) -<interactive>:22:4: error: Variable not in scope: y +<interactive>:22:4: error: [GHC-88464] Variable not in scope: y diff --git a/testsuite/tests/safeHaskell/ghci/p17.stderr b/testsuite/tests/safeHaskell/ghci/p17.stderr index c46be207c3..9c56e1256d 100644 --- a/testsuite/tests/safeHaskell/ghci/p17.stderr +++ b/testsuite/tests/safeHaskell/ghci/p17.stderr @@ -1,5 +1,4 @@ -<no location info>: +<no location info>: error: [GHC-75165] Data.ByteString: Can't be safely imported! - The package (bytestring-0.10.1.0) the module resides in isn't trusted. - + The package (bytestring-0.11.3.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/ghci/p3.stderr b/testsuite/tests/safeHaskell/ghci/p3.stderr index 9ff390705c..59413e8888 100644 --- a/testsuite/tests/safeHaskell/ghci/p3.stderr +++ b/testsuite/tests/safeHaskell/ghci/p3.stderr @@ -1,10 +1,8 @@ -<no location info>: +<no location info>: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. - -<no location info>: +<no location info>: error: [GHC-75165] Data.ByteString: Can't be safely imported! - The package (bytestring-0.10.1.0) the module resides in isn't trusted. - + The package (bytestring-0.11.3.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/ghci/p4.stderr b/testsuite/tests/safeHaskell/ghci/p4.stderr index 47ea0ca18e..3e9c555143 100644 --- a/testsuite/tests/safeHaskell/ghci/p4.stderr +++ b/testsuite/tests/safeHaskell/ghci/p4.stderr @@ -1,8 +1,9 @@ -<interactive>:6:9: error: +<interactive>:6:9: error: [GHC-76037] Not in scope: ‘System.IO.Unsafe.unsafePerformIO’ NB: no module named ‘System.IO.Unsafe’ is imported. -<interactive>:7:9: error: Variable not in scope: x :: IO b0 -> t +<interactive>:7:9: error: [GHC-88464] + Variable not in scope: x :: IO b0 -> t -<interactive>:8:1: error: Variable not in scope: y +<interactive>:8:1: error: [GHC-88464] Variable not in scope: y diff --git a/testsuite/tests/safeHaskell/ghci/p6.stderr b/testsuite/tests/safeHaskell/ghci/p6.stderr index cba63662ce..922d238e23 100644 --- a/testsuite/tests/safeHaskell/ghci/p6.stderr +++ b/testsuite/tests/safeHaskell/ghci/p6.stderr @@ -1,10 +1,10 @@ -<interactive>:12:1: error: +<interactive>:12:1: error: [GHC-57638] • Unacceptable result type in foreign declaration: Safe Haskell is on, all FFI imports must be in the IO monad • When checking declaration: foreign import ccall safe "sin" c_sin :: Double -> Double -<interactive>:13:1: error: +<interactive>:13:1: error: [GHC-88464] Variable not in scope: c_sin :: t0 -> t Suggested fix: Perhaps use ‘c_sin'’ (line 8) diff --git a/testsuite/tests/safeHaskell/ghci/p9.stderr b/testsuite/tests/safeHaskell/ghci/p9.stderr index d3c7fe2f5e..89201ec34a 100644 --- a/testsuite/tests/safeHaskell/ghci/p9.stderr +++ b/testsuite/tests/safeHaskell/ghci/p9.stderr @@ -1,2 +1,2 @@ -<interactive>:10:1: error: Variable not in scope: b +<interactive>:10:1: error: [GHC-88464] Variable not in scope: b diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap1.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap1.stderr index 54dab18cd3..dbf928071a 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap1.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap1.stderr @@ -2,7 +2,7 @@ [2 of 3] Compiling SH_Overlap1_A ( SH_Overlap1_A.hs, SH_Overlap1_A.o ) [3 of 3] Compiling SH_Overlap1 ( SH_Overlap1.hs, SH_Overlap1.o ) -SH_Overlap1.hs:16:8: error: +SH_Overlap1.hs:16:8: error: [GHC-36705] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap11.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap11.stderr index 0e990b4f97..7d9acc9552 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap11.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap11.stderr @@ -5,7 +5,7 @@ SH_Overlap11.hs:2:17: warning: [-Wunsafe] ‘SH_Overlap11’ has been inferred as unsafe! Reason: - SH_Overlap11.hs:18:8: warning: + SH_Overlap11.hs:18:8: warning: [GHC-36705] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap2.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap2.stderr index 2eed7608d1..39b51b9aad 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap2.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap2.stderr @@ -2,7 +2,7 @@ [2 of 3] Compiling SH_Overlap2_A ( SH_Overlap2_A.hs, SH_Overlap2_A.o ) [3 of 3] Compiling SH_Overlap2 ( SH_Overlap2.hs, SH_Overlap2.o ) -SH_Overlap2.hs:19:8: error: +SH_Overlap2.hs:19:8: error: [GHC-36705] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap5.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap5.stderr index 9de7ecc708..815a6bfd6c 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap5.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap5.stderr @@ -2,7 +2,7 @@ [2 of 3] Compiling SH_Overlap5_A ( SH_Overlap5_A.hs, SH_Overlap5_A.o ) [3 of 3] Compiling SH_Overlap5 ( SH_Overlap5.hs, SH_Overlap5.o ) -SH_Overlap5.hs:16:8: error: +SH_Overlap5.hs:16:8: error: [GHC-36705] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap6.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap6.stderr index 7804b9e5d5..f8aabb0c43 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap6.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap6.stderr @@ -2,7 +2,7 @@ [2 of 3] Compiling SH_Overlap6_A ( SH_Overlap6_A.hs, SH_Overlap6_A.o ) [3 of 3] Compiling SH_Overlap6 ( SH_Overlap6.hs, SH_Overlap6.o ) -SH_Overlap6.hs:15:8: error: +SH_Overlap6.hs:15:8: error: [GHC-36705] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr index dda1490ce0..3a719cb0b4 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr @@ -2,10 +2,10 @@ [2 of 3] Compiling SH_Overlap7_A ( SH_Overlap7_A.hs, SH_Overlap7_A.o ) [3 of 3] Compiling SH_Overlap7 ( SH_Overlap7.hs, SH_Overlap7.o ) -SH_Overlap7.hs:2:17: error: [-Wunsafe, -Werror=unsafe] +SH_Overlap7.hs:2:17: error: [-Wunsafe, Werror=unsafe] ‘SH_Overlap7’ has been inferred as unsafe! Reason: - SH_Overlap7.hs:15:8: + SH_Overlap7.hs:15:8: error: [GHC-36705] [-Werror] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/safeInfered/Mixed02.stderr b/testsuite/tests/safeHaskell/safeInfered/Mixed02.stderr index 9fa48d4338..2a2cd36735 100644 --- a/testsuite/tests/safeHaskell/safeInfered/Mixed02.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/Mixed02.stderr @@ -1,3 +1,3 @@ -Mixed02.hs:6:1: error: +Mixed02.hs:6:1: error: [GHC-70172] Module DW is imported both as a safe and unsafe import! diff --git a/testsuite/tests/safeHaskell/safeInfered/Mixed03.stderr b/testsuite/tests/safeHaskell/safeInfered/Mixed03.stderr index 0a9523ca33..103283e216 100644 --- a/testsuite/tests/safeHaskell/safeInfered/Mixed03.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/Mixed03.stderr @@ -1,3 +1,3 @@ -Mixed03.hs:6:1: error: +Mixed03.hs:6:1: error: [GHC-70172] Module DW is imported both as a safe and unsafe import! diff --git a/testsuite/tests/safeHaskell/safeInfered/SafeInfered05.stderr b/testsuite/tests/safeHaskell/safeInfered/SafeInfered05.stderr index a74f55b6cf..e9e186fdeb 100644 --- a/testsuite/tests/safeHaskell/safeInfered/SafeInfered05.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/SafeInfered05.stderr @@ -2,5 +2,5 @@ SafeInfered05.hs:3:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS -SafeInfered05_A.hs:3:17: warning: [-Wsafe] +SafeInfered05_A.hs:3:17: warning: [GHC-58656] [-Wsafe] ‘SafeInfered05_A’ has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/safeInfered/SafeWarn01.stderr b/testsuite/tests/safeHaskell/safeInfered/SafeWarn01.stderr index 13155f3043..2e72955521 100644 --- a/testsuite/tests/safeHaskell/safeInfered/SafeWarn01.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/SafeWarn01.stderr @@ -1,3 +1,3 @@ -SafeWarn01.hs:3:17: warning: [-Wsafe] +SafeWarn01.hs:3:17: warning: [GHC-58656] [-Wsafe] ‘SafeWarn01’ has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe02.stderr b/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe02.stderr index 7723e98dc1..e3c1225c95 100644 --- a/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe02.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe02.stderr @@ -1,3 +1,3 @@ -TrustworthySafe02.hs:2:14: warning: [-Wtrustworthy-safe (in -Wall)] +TrustworthySafe02.hs:2:14: warning: [GHC-19244] [-Wtrustworthy-safe (in -Wall)] ‘TrustworthySafe02’ is marked as Trustworthy but has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.stderr b/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.stderr index ff4a4e3631..63d300b589 100644 --- a/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.stderr @@ -1,3 +1,3 @@ -TrustworthySafe03.hs:2:14: warning: [-Wtrustworthy-safe (in -Wall)] +TrustworthySafe03.hs:2:14: warning: [GHC-19244] [-Wtrustworthy-safe (in -Wall)] ‘TrustworthySafe03’ is marked as Trustworthy but has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered01.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered01.stderr index ab2707bc59..25aa92371a 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered01.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered01.stderr @@ -1,3 +1,4 @@ -UnsafeInfered01.hs:5:1: error: + +UnsafeInfered01.hs:5:1: error: [GHC-44360] UnsafeInfered01_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered02.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered02.stderr index f03a7bb314..6f87db4e27 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered02.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered02.stderr @@ -1,3 +1,4 @@ -UnsafeInfered02.hs:5:1: error: + +UnsafeInfered02.hs:5:1: error: [GHC-44360] UnsafeInfered02_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03.stderr index 14af9f7841..15d29efb82 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03.stderr @@ -1,3 +1,4 @@ -UnsafeInfered03.hs:5:1: error: + +UnsafeInfered03.hs:5:1: error: [GHC-44360] UnsafeInfered03_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered05.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered05.stderr index 52684af861..451a7eca5e 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered05.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered05.stderr @@ -1,3 +1,4 @@ -UnsafeInfered05.hs:5:1: error: + +UnsafeInfered05.hs:5:1: error: [GHC-44360] UnsafeInfered05_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered06.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered06.stderr index e683e04bd6..9eb97bc58f 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered06.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered06.stderr @@ -1,3 +1,4 @@ -UnsafeInfered06.hs:5:1: error: + +UnsafeInfered06.hs:5:1: error: [GHC-44360] UnsafeInfered06_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered09.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered09.stderr index 9c34e74321..b91a91ff21 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered09.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered09.stderr @@ -1,3 +1,4 @@ -UnsafeInfered09.hs:5:1: error: + +UnsafeInfered09.hs:5:1: error: [GHC-44360] UnsafeInfered09_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered10.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered10.stderr index 7f1c3fa9c7..086edce3c7 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered10.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered10.stderr @@ -1,3 +1,4 @@ -UnsafeInfered10.hs:6:1: error: + +UnsafeInfered10.hs:6:1: error: [GHC-44360] UnsafeInfered10_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr index 0122d91398..9b7e910d91 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr @@ -2,10 +2,10 @@ UnsafeInfered11_A.hs:2:17: warning: [-Wunsafe] ‘UnsafeInfered11_A’ has been inferred as unsafe! Reason: - UnsafeInfered11_A.hs:18:11: warning: + UnsafeInfered11_A.hs:18:11: warning: [GHC-56147] Rule "lookupx/T" ignored Defining user rules is disabled under Safe Haskell -UnsafeInfered11.hs:6:1: error: +UnsafeInfered11.hs:6:1: error: [GHC-44360] UnsafeInfered11_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr index 22a07d9f96..ef8f87e2f3 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr @@ -1,6 +1,6 @@ -UnsafeInfered12.hs:3:17: error: [-Wunsafe, -Werror=unsafe] +UnsafeInfered12.hs:3:17: error: [-Wunsafe, Werror=unsafe] ‘UnsafeInfered12’ has been inferred as unsafe! Reason: - UnsafeInfered12.hs:2:14: + UnsafeInfered12.hs:2:14:: -XTemplateHaskell is not allowed in Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn01.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn01.stderr index 1bced3b94a..4a2c9eeb12 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn01.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn01.stderr @@ -2,6 +2,6 @@ UnsafeWarn01.hs:3:17: warning: [-Wunsafe] ‘UnsafeWarn01’ has been inferred as unsafe! Reason: - UnsafeWarn01.hs:8:1: error: + UnsafeWarn01.hs:8:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn02.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn02.stderr index 0061ed3e1d..2b146f8532 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn02.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn02.stderr @@ -2,5 +2,5 @@ UnsafeWarn02.hs:3:17: warning: [-Wunsafe] ‘UnsafeWarn02’ has been inferred as unsafe! Reason: - UnsafeWarn02.hs:5:14: + UnsafeWarn02.hs:5:14:: -XTemplateHaskell is not allowed in Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn03.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn03.stderr index c48a136f74..737160464f 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn03.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn03.stderr @@ -2,6 +2,6 @@ UnsafeWarn03.hs:4:17: warning: [-Wunsafe] ‘UnsafeWarn03’ has been inferred as unsafe! Reason: - UnsafeWarn03.hs:9:1: error: + UnsafeWarn03.hs:9:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn04.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn04.stderr index 94f0203f46..0cfa697192 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn04.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn04.stderr @@ -2,6 +2,6 @@ UnsafeWarn04.hs:4:17: warning: [-Wunsafe] ‘UnsafeWarn04’ has been inferred as unsafe! Reason: - UnsafeWarn04.hs:9:1: error: + UnsafeWarn04.hs:9:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn05.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn05.stderr index c43acb86d8..3d07f34867 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn05.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn05.stderr @@ -2,13 +2,13 @@ UnsafeWarn05.hs:5:17: warning: [-Wunsafe] ‘UnsafeWarn05’ has been inferred as unsafe! Reason: - UnsafeWarn05.hs:11:1: error: + UnsafeWarn05.hs:11:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. UnsafeWarn05.hs:5:17: warning: [-Wunsafe] ‘UnsafeWarn05’ has been inferred as unsafe! Reason: - UnsafeWarn05.hs:16:11: warning: + UnsafeWarn05.hs:16:11: warning: [GHC-56147] Rule "g" ignored Defining user rules is disabled under Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn06.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn06.stderr index 8f7641d2b0..d1a64dc4fe 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn06.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn06.stderr @@ -2,6 +2,6 @@ UnsafeWarn06.hs:4:17: warning: [-Wunsafe] ‘UnsafeWarn06’ has been inferred as unsafe! Reason: - UnsafeWarn06.hs:9:11: warning: + UnsafeWarn06.hs:9:11: warning: [GHC-56147] Rule "f" ignored Defining user rules is disabled under Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn07.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn07.stderr index 1439e24cc0..88f5e4ea5d 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn07.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn07.stderr @@ -2,6 +2,6 @@ UnsafeWarn07.hs:5:17: warning: [-Wunsafe] ‘UnsafeWarn07’ has been inferred as unsafe! Reason: - UnsafeWarn07.hs:10:11: warning: + UnsafeWarn07.hs:10:11: warning: [GHC-56147] Rule "f" ignored Defining user rules is disabled under Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang03.stderr b/testsuite/tests/safeHaskell/safeLanguage/SafeLang03.stderr index 02f0cc5ebb..353c1bb45e 100644 --- a/testsuite/tests/safeHaskell/safeLanguage/SafeLang03.stderr +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang03.stderr @@ -1,4 +1,4 @@ -SafeLang03.hs:8:11: warning: +SafeLang03.hs:8:11: warning: [GHC-56147] Rule "f" ignored Defining user rules is disabled under Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang08.stderr b/testsuite/tests/safeHaskell/safeLanguage/SafeLang08.stderr index 7e1655e00a..c7f6c0ca36 100644 --- a/testsuite/tests/safeHaskell/safeLanguage/SafeLang08.stderr +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang08.stderr @@ -1,5 +1,5 @@ -SafeLang08.hs:10:1: error: +SafeLang08.hs:10:1: error: [GHC-57638] • Unacceptable result type in foreign declaration: Safe Haskell is on, all FFI imports must be in the IO monad • When checking declaration: diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr b/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr index d058bb2599..bb604e5243 100644 --- a/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr @@ -2,7 +2,7 @@ [2 of 4] Compiling SafeLang10_B ( SafeLang10_B.hs, SafeLang10_B.o ) [3 of 4] Compiling Main ( SafeLang10.hs, SafeLang10.o ) -SafeLang10.hs:9:13: error: +SafeLang10.hs:9:13: error: [GHC-36705] • Unsafe overlapping instances for Pos [Int] arising from a use of ‘res’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang17.stderr b/testsuite/tests/safeHaskell/safeLanguage/SafeLang17.stderr index 111d0fd19c..ab59ebff30 100644 --- a/testsuite/tests/safeHaskell/safeLanguage/SafeLang17.stderr +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang17.stderr @@ -2,7 +2,7 @@ [2 of 4] Compiling SafeLang17_B ( SafeLang17_B.hs, SafeLang17_B.o ) [3 of 4] Compiling Main ( SafeLang17.hs, SafeLang17.o ) -SafeLang17.hs:9:13: error: +SafeLang17.hs:9:13: error: [GHC-36705] • Unsafe overlapping instances for Pos [Int] arising from a use of ‘res’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/unsafeLibs/BadImport01.stderr b/testsuite/tests/safeHaskell/unsafeLibs/BadImport01.stderr index 8afd025680..54942148b0 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/BadImport01.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/BadImport01.stderr @@ -1,4 +1,4 @@ -BadImport01.hs:6:1: error: +BadImport01.hs:6:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/BadImport06.stderr b/testsuite/tests/safeHaskell/unsafeLibs/BadImport06.stderr index 06995b8f2c..09b03825bb 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/BadImport06.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/BadImport06.stderr @@ -1,4 +1,4 @@ -BadImport06.hs:6:1: error: +BadImport06.hs:6:1: error: [GHC-44360] Debug.Trace: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/BadImport07.stderr b/testsuite/tests/safeHaskell/unsafeLibs/BadImport07.stderr index 4782befae7..730b156e84 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/BadImport07.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/BadImport07.stderr @@ -1,4 +1,4 @@ -BadImport07.hs:6:1: error: +BadImport07.hs:6:1: error: [GHC-44360] Unsafe.Coerce: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/BadImport08.stderr b/testsuite/tests/safeHaskell/unsafeLibs/BadImport08.stderr index 5c45d2ab6a..457c6b2afa 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/BadImport08.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/BadImport08.stderr @@ -1,4 +1,4 @@ -BadImport08.hs:6:1: error: +BadImport08.hs:6:1: error: [GHC-44360] Control.Monad.ST.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/BadImport09.stderr b/testsuite/tests/safeHaskell/unsafeLibs/BadImport09.stderr index 91611c0fcc..4489d20272 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/BadImport09.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/BadImport09.stderr @@ -1,4 +1,4 @@ -BadImport09.hs:6:1: error: +BadImport09.hs:6:1: error: [GHC-44360] Control.Monad.ST.Lazy.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep05.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep05.stderr index fb3cb5eecd..19a830e324 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep05.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep05.stderr @@ -1,3 +1,3 @@ -Dep05.hs:7:1: error: +Dep05.hs:7:1: error: [GHC-44360] GHC.Arr: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep06.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep06.stderr index 7824935d91..d50bf28865 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep06.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep06.stderr @@ -1,3 +1,3 @@ -Dep06.hs:5:1: error: +Dep06.hs:5:1: error: [GHC-44360] GHC.Conc: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep07.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep07.stderr index cf79a18f6e..9c98dfd4aa 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep07.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep07.stderr @@ -1,4 +1,4 @@ -Dep07.hs:5:1: error: +Dep07.hs:5:1: error: [GHC-44360] GHC.ForeignPtr: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep08.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep08.stderr index 09fa7d86ee..840e353bd9 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep08.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep08.stderr @@ -1,4 +1,4 @@ -Dep08.hs:6:1: error: +Dep08.hs:6:1: error: [GHC-44360] GHC.IOArray: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep09.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep09.stderr index 4c776d3832..6682e2da40 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep09.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep09.stderr @@ -1,3 +1,3 @@ -Dep09.hs:5:1: error: +Dep09.hs:5:1: error: [GHC-44360] GHC.Ptr: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep10.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep10.stderr index af1627c985..911efa62a4 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep10.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep10.stderr @@ -1,3 +1,3 @@ -Dep10.hs:5:1: error: +Dep10.hs:5:1: error: [GHC-44360] GHC.ST: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/T21433.stderr b/testsuite/tests/safeHaskell/unsafeLibs/T21433.stderr index 1604b39c9b..0a7017ea44 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/T21433.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/T21433.stderr @@ -1,4 +1,4 @@ -T21433.hs:6:1: error: +T21433.hs:6:1: error: [GHC-44360] GHC.Prim.PtrEq: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/saks/should_fail/T16725.stderr b/testsuite/tests/saks/should_fail/T16725.stderr index 4fed187f73..c675e942d8 100644 --- a/testsuite/tests/saks/should_fail/T16725.stderr +++ b/testsuite/tests/saks/should_fail/T16725.stderr @@ -1,3 +1,3 @@ -T16725.hs:8:6: error: +T16725.hs:8:6: error: [GHC-44432] The standalone kind signature for ‘W’ lacks an accompanying binding diff --git a/testsuite/tests/saks/should_fail/T16727a.stderr b/testsuite/tests/saks/should_fail/T16727a.stderr index 9d0f3e11d7..57b706d5d6 100644 --- a/testsuite/tests/saks/should_fail/T16727a.stderr +++ b/testsuite/tests/saks/should_fail/T16727a.stderr @@ -1,5 +1,5 @@ -T16727a.hs:8:12: error: +T16727a.hs:8:12: error: [GHC-88634] • Type constructor ‘T1’ cannot be used here (it is defined and used in the same recursive group) • In a standalone kind signature for ‘T2’: T1 diff --git a/testsuite/tests/saks/should_fail/T16727b.stderr b/testsuite/tests/saks/should_fail/T16727b.stderr index 0a50ffe2e4..7d05dc67cf 100644 --- a/testsuite/tests/saks/should_fail/T16727b.stderr +++ b/testsuite/tests/saks/should_fail/T16727b.stderr @@ -1,5 +1,5 @@ -T16727b.hs:5:11: error: +T16727b.hs:5:11: error: [GHC-88634] • Type constructor ‘T’ cannot be used here (it is defined and used in the same recursive group) • In a standalone kind signature for ‘T’: T diff --git a/testsuite/tests/saks/should_fail/T16756b.stderr b/testsuite/tests/saks/should_fail/T16756b.stderr index d8324628d2..848e3e2bbe 100644 --- a/testsuite/tests/saks/should_fail/T16756b.stderr +++ b/testsuite/tests/saks/should_fail/T16756b.stderr @@ -1,4 +1,4 @@ -T16756b.hs:8:1: error: +T16756b.hs:8:1: error: [GHC-83865] • Expected a type, but found something with kind ‘* -> *’ • In the data type declaration for ‘T’ diff --git a/testsuite/tests/saks/should_fail/T16758.stderr b/testsuite/tests/saks/should_fail/T16758.stderr index 066a4f106a..945004f0f3 100644 --- a/testsuite/tests/saks/should_fail/T16758.stderr +++ b/testsuite/tests/saks/should_fail/T16758.stderr @@ -1,5 +1,5 @@ -T16758.hs:14:8: error: +T16758.hs:14:8: error: [GHC-25897] • Couldn't match expected kind ‘Int’ with actual kind ‘a’ ‘a’ is a rigid type variable bound by the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/T16826.stderr b/testsuite/tests/saks/should_fail/T16826.stderr index c2272806c9..6ca9a6e479 100644 --- a/testsuite/tests/saks/should_fail/T16826.stderr +++ b/testsuite/tests/saks/should_fail/T16826.stderr @@ -1,5 +1,5 @@ -T16826.hs:14:1: error: +T16826.hs:14:1: error: [GHC-80768] • Kind signature on a class must end with Constraint unobscured by type families • In the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/T18863a.stderr b/testsuite/tests/saks/should_fail/T18863a.stderr index 8a9de6da6e..c36a102530 100644 --- a/testsuite/tests/saks/should_fail/T18863a.stderr +++ b/testsuite/tests/saks/should_fail/T18863a.stderr @@ -1,5 +1,5 @@ -T18863a.hs:9:1: error: +T18863a.hs:9:1: error: [GHC-83865] • Couldn't match expected kind: forall i. i -> * with actual kind: forall i -> i -> * • In the data type declaration for ‘IDa’ diff --git a/testsuite/tests/saks/should_fail/T18863b.stderr b/testsuite/tests/saks/should_fail/T18863b.stderr index d1453044c1..4a57769a29 100644 --- a/testsuite/tests/saks/should_fail/T18863b.stderr +++ b/testsuite/tests/saks/should_fail/T18863b.stderr @@ -1,5 +1,5 @@ -T18863b.hs:9:1: error: +T18863b.hs:9:1: error: [GHC-83865] • Couldn't match expected kind: forall i -> i -> * with actual kind: i -> * • In the data type declaration for ‘IDb’ diff --git a/testsuite/tests/saks/should_fail/T20916.stderr b/testsuite/tests/saks/should_fail/T20916.stderr index aeef4ca438..b99ea9a225 100644 --- a/testsuite/tests/saks/should_fail/T20916.stderr +++ b/testsuite/tests/saks/should_fail/T20916.stderr @@ -1,4 +1,4 @@ -T20916.hs:8:10: error: +T20916.hs:8:10: error: [GHC-17370] • Different names for the same type variable: ‘p’ and ‘q’ • In the data type declaration for ‘T3’ diff --git a/testsuite/tests/saks/should_fail/saks007_fail.stderr b/testsuite/tests/saks/should_fail/saks007_fail.stderr index 367cb8e022..1ceefa9ee3 100644 --- a/testsuite/tests/saks/should_fail/saks007_fail.stderr +++ b/testsuite/tests/saks/should_fail/saks007_fail.stderr @@ -1,5 +1,5 @@ -saks007_fail.hs:15:10: error: +saks007_fail.hs:15:10: error: [GHC-83865] • Couldn't match kind ‘'True’ with ‘'False’ Expected: G (*) Actual: F (*) diff --git a/testsuite/tests/saks/should_fail/saks_fail003.stderr b/testsuite/tests/saks/should_fail/saks_fail003.stderr index f8f7f7af0d..92221896d8 100644 --- a/testsuite/tests/saks/should_fail/saks_fail003.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail003.stderr @@ -1,4 +1,4 @@ -saks_fail003.hs:6:11: error: +saks_fail003.hs:6:11: error: [GHC-65507] Wildcard ‘_’ not allowed in the standalone kind signature for T diff --git a/testsuite/tests/saks/should_fail/saks_fail004.stderr b/testsuite/tests/saks/should_fail/saks_fail004.stderr index 15ec978340..9474c09e1c 100644 --- a/testsuite/tests/saks/should_fail/saks_fail004.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail004.stderr @@ -1,4 +1,4 @@ -saks_fail004.hs:9:11: error: +saks_fail004.hs:9:11: error: [GHC-01259] • Illegal constraint in a kind: forall a. Eq a => * • In a standalone kind signature for ‘Q’: Eq a => Type diff --git a/testsuite/tests/saks/should_fail/saks_fail005.stderr b/testsuite/tests/saks/should_fail/saks_fail005.stderr index c0230a9fef..5e7262a171 100644 --- a/testsuite/tests/saks/should_fail/saks_fail005.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail005.stderr @@ -1,2 +1,3 @@ -saks_fail005.hs:14:32: error: Not in scope: type variable ‘k’ +saks_fail005.hs:14:32: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail006.stderr b/testsuite/tests/saks/should_fail/saks_fail006.stderr index fb7cbe18a7..74cb5083d1 100644 --- a/testsuite/tests/saks/should_fail/saks_fail006.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail006.stderr @@ -1,2 +1,3 @@ -saks_fail006.hs:13:20: error: Not in scope: type variable ‘k’ +saks_fail006.hs:13:20: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail007.stderr b/testsuite/tests/saks/should_fail/saks_fail007.stderr index bc2764b1e7..9e2d5921bc 100644 --- a/testsuite/tests/saks/should_fail/saks_fail007.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail007.stderr @@ -1,2 +1,2 @@ -saks_fail007.hs:7:12: error: parse error on input ‘::’ +saks_fail007.hs:7:12: error: [GHC-58481] parse error on input ‘::’ diff --git a/testsuite/tests/saks/should_fail/saks_fail008.stderr b/testsuite/tests/saks/should_fail/saks_fail008.stderr index 4679afb564..74f16d2a95 100644 --- a/testsuite/tests/saks/should_fail/saks_fail008.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail008.stderr @@ -1,5 +1,5 @@ -saks_fail008.hs:9:1: error: +saks_fail008.hs:9:1: error: [GHC-05989] • Not a function kind: * but extra binders found: x1 (x2 :: Type -> Type) • In the data type declaration for ‘T’ diff --git a/testsuite/tests/saks/should_fail/saks_fail009.stderr b/testsuite/tests/saks/should_fail/saks_fail009.stderr index 22b66b421b..11ef5a5c4f 100644 --- a/testsuite/tests/saks/should_fail/saks_fail009.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail009.stderr @@ -1,5 +1,5 @@ -saks_fail009.hs:9:1: error: +saks_fail009.hs:9:1: error: [GHC-83865] • Expecting one more argument to ‘k’ Expected a type, but ‘k’ has kind ‘* -> *’ • In the data type declaration for ‘T’ diff --git a/testsuite/tests/saks/should_fail/saks_fail010.stderr b/testsuite/tests/saks/should_fail/saks_fail010.stderr index b270ff2e67..1748c6f164 100644 --- a/testsuite/tests/saks/should_fail/saks_fail010.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail010.stderr @@ -1,4 +1,4 @@ -saks_fail010.hs:8:1: error: +saks_fail010.hs:8:1: error: [GHC-83865] • Expected a type, but found something with kind ‘* -> *’ • In the data type declaration for ‘T’ diff --git a/testsuite/tests/saks/should_fail/saks_fail011.stderr b/testsuite/tests/saks/should_fail/saks_fail011.stderr index ff23c7b1a3..8ec9aac5c4 100644 --- a/testsuite/tests/saks/should_fail/saks_fail011.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail011.stderr @@ -1,4 +1,4 @@ -saks_fail011.hs:9:1: error: +saks_fail011.hs:9:1: error: [GHC-83865] • Expected a type, but found something with kind ‘* -> *’ • In the data type declaration for ‘G’ diff --git a/testsuite/tests/saks/should_fail/saks_fail012.stderr b/testsuite/tests/saks/should_fail/saks_fail012.stderr index d43a0ac028..fe582d980c 100644 --- a/testsuite/tests/saks/should_fail/saks_fail012.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail012.stderr @@ -1,5 +1,5 @@ -saks_fail012.hs:8:1: error: +saks_fail012.hs:8:1: error: [GHC-83865] • Couldn't match expected kind ‘Constraint’ with actual kind ‘* -> Constraint’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/saks_fail013.stderr b/testsuite/tests/saks/should_fail/saks_fail013.stderr index 4e041ba756..31188e0c3c 100644 --- a/testsuite/tests/saks/should_fail/saks_fail013.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail013.stderr @@ -1,2 +1,3 @@ -saks_fail013.hs:10:22: error: Not in scope: type variable ‘k’ +saks_fail013.hs:10:22: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail014.stderr b/testsuite/tests/saks/should_fail/saks_fail014.stderr index 68733410ee..ee698df28c 100644 --- a/testsuite/tests/saks/should_fail/saks_fail014.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail014.stderr @@ -1,11 +1,11 @@ -saks_fail014.hs:10:7: error: +saks_fail014.hs:10:7: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected kind ‘forall k. k’, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ In the type family declaration for ‘T’ -saks_fail014.hs:11:7: error: +saks_fail014.hs:11:7: error: [GHC-83865] • Expected kind ‘forall k. k’, but ‘Integer’ has kind ‘*’ • In the type ‘Integer’ In the type family declaration for ‘T’ diff --git a/testsuite/tests/saks/should_fail/saks_fail015.stderr b/testsuite/tests/saks/should_fail/saks_fail015.stderr index d85b1a4c22..a65f504e00 100644 --- a/testsuite/tests/saks/should_fail/saks_fail015.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail015.stderr @@ -1,2 +1,3 @@ -saks_fail015.hs:11:29: error: Not in scope: type variable ‘k’ +saks_fail015.hs:11:29: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail016.stderr b/testsuite/tests/saks/should_fail/saks_fail016.stderr index 8f501674ea..234ac5251e 100644 --- a/testsuite/tests/saks/should_fail/saks_fail016.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail016.stderr @@ -1,2 +1,3 @@ -saks_fail016.hs:13:27: error: Not in scope: type variable ‘k’ +saks_fail016.hs:13:27: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail017.stderr b/testsuite/tests/saks/should_fail/saks_fail017.stderr index b43ff35632..6cd762f6e0 100644 --- a/testsuite/tests/saks/should_fail/saks_fail017.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail017.stderr @@ -1,2 +1,3 @@ -saks_fail017.hs:12:13: error: Not in scope: type variable ‘k’ +saks_fail017.hs:12:13: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail018.stderr b/testsuite/tests/saks/should_fail/saks_fail018.stderr index 38b7c59662..d014bde5a0 100644 --- a/testsuite/tests/saks/should_fail/saks_fail018.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail018.stderr @@ -1,2 +1,3 @@ -saks_fail018.hs:13:26: error: Not in scope: type variable ‘k’ +saks_fail018.hs:13:26: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail019.stderr b/testsuite/tests/saks/should_fail/saks_fail019.stderr index a824ab118c..f1e661950c 100644 --- a/testsuite/tests/saks/should_fail/saks_fail019.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail019.stderr @@ -1,5 +1,5 @@ -saks_fail019.hs:9:1: error: +saks_fail019.hs:9:1: error: [GHC-25897] • Couldn't match kind ‘x’ with ‘*’ Expected: x -> * Actual: * -> * diff --git a/testsuite/tests/saks/should_fail/saks_fail020.stderr b/testsuite/tests/saks/should_fail/saks_fail020.stderr index 002d7b27b3..729008ff3b 100644 --- a/testsuite/tests/saks/should_fail/saks_fail020.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail020.stderr @@ -1,5 +1,5 @@ -saks_fail020.hs:9:49: error: +saks_fail020.hs:9:49: error: [GHC-25897] • Expected kind ‘k1’, but ‘a’ has kind ‘k’ ‘k’ is a rigid type variable bound by a standalone kind signature for ‘Foo2’ diff --git a/testsuite/tests/saks/should_fail/saks_fail021.stderr b/testsuite/tests/saks/should_fail/saks_fail021.stderr index fa20ccc826..e6e790b60f 100644 --- a/testsuite/tests/saks/should_fail/saks_fail021.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail021.stderr @@ -1,4 +1,4 @@ -saks_fail021.hs:10:1: error: +saks_fail021.hs:10:1: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘k’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/saks_fail022.stderr b/testsuite/tests/saks/should_fail/saks_fail022.stderr index 0591eced95..d1e33ff32d 100644 --- a/testsuite/tests/saks/should_fail/saks_fail022.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail022.stderr @@ -1,4 +1,4 @@ -saks_fail022.hs:10:1: error: +saks_fail022.hs:10:1: error: [GHC-25897] • Expected kind ‘(x, y)’, but ‘a’ has kind ‘k’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/saks_fail023.stderr b/testsuite/tests/saks/should_fail/saks_fail023.stderr index 36144f6d9d..7b0cec30bf 100644 --- a/testsuite/tests/saks/should_fail/saks_fail023.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail023.stderr @@ -1,4 +1,4 @@ -saks_fail023.hs:10:1: error: +saks_fail023.hs:10:1: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘k’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/saks_fail024.stderr b/testsuite/tests/saks/should_fail/saks_fail024.stderr index 0266358356..e46094b4ce 100644 --- a/testsuite/tests/saks/should_fail/saks_fail024.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail024.stderr @@ -1,3 +1,3 @@ -saks_fail024.hs:7:6: error: +saks_fail024.hs:7:6: error: [GHC-73413] Expected an unqualified type constructor: Data.Kind.Type diff --git a/testsuite/tests/saks/should_fail/saks_fail025.stderr b/testsuite/tests/saks/should_fail/saks_fail025.stderr index 52e1527d3b..b129667369 100644 --- a/testsuite/tests/saks/should_fail/saks_fail025.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail025.stderr @@ -1,5 +1,5 @@ -saks_fail025.hs:7:6: error: +saks_fail025.hs:7:6: error: [GHC-42569] Standalone kind signatures do not support multiple names at the moment: A, B, C See https://gitlab.haskell.org/ghc/ghc/issues/16754 for details. diff --git a/testsuite/tests/saks/should_fail/saks_fail026.stderr b/testsuite/tests/saks/should_fail/saks_fail026.stderr index ceeeaa01c7..5f5c557a64 100644 --- a/testsuite/tests/saks/should_fail/saks_fail026.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail026.stderr @@ -1,5 +1,5 @@ -saks_fail026.hs:8:1: error: +saks_fail026.hs:8:1: error: [GHC-25897] • Expected kind ‘kx’, but ‘b’ has kind ‘*’ ‘kx’ is a rigid type variable bound by the type family declaration for ‘F3’ diff --git a/testsuite/tests/simplCore/should_compile/T13990.stderr b/testsuite/tests/simplCore/should_compile/T13990.stderr index f30ebece6e..1c9a5dfaf4 100644 --- a/testsuite/tests/simplCore/should_compile/T13990.stderr +++ b/testsuite/tests/simplCore/should_compile/T13990.stderr @@ -1,4 +1,4 @@ -T13990.hs:14:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T13990.hs:14:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘absurdFoo’: absurdFoo (Foo x) = ... diff --git a/testsuite/tests/simplCore/should_compile/T20200b.stderr b/testsuite/tests/simplCore/should_compile/T20200b.stderr index 1db18a40f6..b3070b8721 100644 --- a/testsuite/tests/simplCore/should_compile/T20200b.stderr +++ b/testsuite/tests/simplCore/should_compile/T20200b.stderr @@ -1,4 +1,4 @@ -T20200b.hs:8:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T20200b.hs:8:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘xrecTuple’: xrecTuple (a :& (b :& _)) = ... diff --git a/testsuite/tests/simplCore/should_compile/T4398.stderr b/testsuite/tests/simplCore/should_compile/T4398.stderr index 5ea3dd18fb..04b2db98e6 100644 --- a/testsuite/tests/simplCore/should_compile/T4398.stderr +++ b/testsuite/tests/simplCore/should_compile/T4398.stderr @@ -1,5 +1,5 @@ -T4398.hs:6:11: warning: +T4398.hs:6:11: warning: [GHC-40548] Forall'd constraint ‘Ord a’ is not bound in RULE lhs Orig bndrs: [a, $dOrd, x, y] Orig lhs: f @a ((\ ($dOrd :: Ord a) -> x) $dOrd) y diff --git a/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr b/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr index 3a3332769e..74d560dbf1 100644 --- a/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr +++ b/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr @@ -1,10 +1,8 @@ -T6082-RULE.hs:5:11: warning: [-Winline-rule-shadowing (in -Wdefault)] +T6082-RULE.hs:5:11: warning: [GHC-95396] [-Winline-rule-shadowing (in -Wdefault)] Rule "foo1" may never fire because ‘foo1’ might inline first - Suggested fix: - Add an INLINE[n] or NOINLINE[n] pragma for ‘foo1’ + Suggested fix: Add an INLINE[n] or NOINLINE[n] pragma for ‘foo1’ -T6082-RULE.hs:10:11: warning: [-Winline-rule-shadowing (in -Wdefault)] +T6082-RULE.hs:10:11: warning: [GHC-95396] [-Winline-rule-shadowing (in -Wdefault)] Rule "foo2" may never fire because ‘foo2’ might inline first - Suggested fix: - Add an INLINE[n] or NOINLINE[n] pragma for ‘foo2’ + Suggested fix: Add an INLINE[n] or NOINLINE[n] pragma for ‘foo2’ diff --git a/testsuite/tests/simplCore/should_compile/T7287.stderr b/testsuite/tests/simplCore/should_compile/T7287.stderr index 957282b8f3..6cb96a8a7c 100644 --- a/testsuite/tests/simplCore/should_compile/T7287.stderr +++ b/testsuite/tests/simplCore/should_compile/T7287.stderr @@ -1,6 +1,5 @@ -T7287.hs:7:3: warning: [-Winline-rule-shadowing (in -Wdefault)] +T7287.hs:7:3: warning: [GHC-87502] [-Winline-rule-shadowing (in -Wdefault)] Rule "int2Word#/word2Int#" may never fire because rule "word2Int#" for ‘word2Int#’ might fire first - Suggested fix: - Add phase [n] or [~n] to the competing rule + Suggested fix: Add phase [n] or [~n] to the competing rule diff --git a/testsuite/tests/simplCore/should_compile/T8537.stderr b/testsuite/tests/simplCore/should_compile/T8537.stderr index 0613a1cfa3..8d85318f06 100644 --- a/testsuite/tests/simplCore/should_compile/T8537.stderr +++ b/testsuite/tests/simplCore/should_compile/T8537.stderr @@ -1,3 +1,3 @@ -T8537.hs:20:5: Warning: +T8537.hs:20:5: warning: [GHC-35827] SPECIALISE pragma for non-overloaded function ‘fmap’ diff --git a/testsuite/tests/simplCore/should_compile/T9400.stderr b/testsuite/tests/simplCore/should_compile/T9400.stderr index 511a481d96..071821f347 100644 --- a/testsuite/tests/simplCore/should_compile/T9400.stderr +++ b/testsuite/tests/simplCore/should_compile/T9400.stderr @@ -1,9 +1,9 @@ -T9400.hs:13:9: warning: [-Woverlapping-patterns (in -Wdefault)] +T9400.hs:13:9: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: [] -> ... -T9400.hs:18:9: warning: [-Woverlapping-patterns (in -Wdefault)] +T9400.hs:18:9: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "" -> ... diff --git a/testsuite/tests/simplCore/should_compile/simpl016.stderr b/testsuite/tests/simplCore/should_compile/simpl016.stderr index ff3a38a6a8..75f9072d55 100644 --- a/testsuite/tests/simplCore/should_compile/simpl016.stderr +++ b/testsuite/tests/simplCore/should_compile/simpl016.stderr @@ -1,5 +1,5 @@ -simpl016.hs:7:1: warning: +simpl016.hs:7:1: warning: [GHC-40548] Forall'd constraint ‘Num b’ is not bound in RULE lhs Orig bndrs: [b, $dNum] Orig lhs: let { diff --git a/testsuite/tests/simplCore/should_compile/simpl017.stderr b/testsuite/tests/simplCore/should_compile/simpl017.stderr index 0326e339fb..9aae96949f 100644 --- a/testsuite/tests/simplCore/should_compile/simpl017.stderr +++ b/testsuite/tests/simplCore/should_compile/simpl017.stderr @@ -1,5 +1,5 @@ -simpl017.hs:55:5: error: +simpl017.hs:55:5: error: [GHC-83865] • Couldn't match type: [E m i] -> E' v0 m a with: forall v. [E m i] -> E' v m a Expected: m (forall v. [E m i] -> E' v m a) @@ -24,7 +24,7 @@ simpl017.hs:55:5: error: liftArray :: arr i a -> E m (forall v. [E m i] -> E' v m a) (bound at simpl017.hs:50:1) -simpl017.hs:71:10: error: +simpl017.hs:71:10: error: [GHC-83865] • Couldn't match type: forall v. [E (ST s) Int] -> E' v (ST s) Int with: [E (ST t0) Int] -> E (ST s) Int Expected: E' RValue (ST s) ([E (ST t0) Int] -> E (ST s) Int) diff --git a/testsuite/tests/stage1/T13609.stderr b/testsuite/tests/stage1/T13609.stderr index 579f3e5319..8be57f385a 100644 --- a/testsuite/tests/stage1/T13609.stderr +++ b/testsuite/tests/stage1/T13609.stderr @@ -1,3 +1,3 @@ -T13609.hs:3:1: warning: +T13609.hs:3:1: warning: [GHC-66649] Ignoring ANN annotation, because this is a stage-1 compiler without -fexternal-interpreter or doesn't support GHCi diff --git a/testsuite/tests/tcplugins/TcPlugin_EmitWanted.stderr b/testsuite/tests/tcplugins/TcPlugin_EmitWanted.stderr index d85d8bf4ed..5a5305fa89 100644 --- a/testsuite/tests/tcplugins/TcPlugin_EmitWanted.stderr +++ b/testsuite/tests/tcplugins/TcPlugin_EmitWanted.stderr @@ -3,7 +3,7 @@ [3 of 4] Compiling EmitWantedPlugin ( EmitWantedPlugin.hs, EmitWantedPlugin.o ) [4 of 4] Compiling TcPlugin_EmitWanted ( TcPlugin_EmitWanted.hs, TcPlugin_EmitWanted.o ) -TcPlugin_EmitWanted.hs:13:7: error: +TcPlugin_EmitWanted.hs:13:7: error: [GHC-18872] • Couldn't match type ‘Bool’ with ‘()’ arising from a use of ‘foo’ • In the expression: foo In an equation for ‘bar’: bar = foo diff --git a/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr b/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr index baa39e8374..0d6f7ed4f0 100644 --- a/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr +++ b/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr @@ -2,7 +2,7 @@ [2 of 4] Compiling RewritePerfPlugin ( RewritePerfPlugin.hs, RewritePerfPlugin.o ) [3 of 4] Compiling Main ( TcPlugin_RewritePerf.hs, TcPlugin_RewritePerf.o ) -TcPlugin_RewritePerf.hs:25:8: error: +TcPlugin_RewritePerf.hs:25:8: error: [GHC-39999] • No instance for ‘Show (Proxy '[ '[ 'Cube 'G 'B 'W 'R 'B 'G, 'Cube 'W 'G 'B 'W 'R 'R, diff --git a/testsuite/tests/th/T10267.stderr b/testsuite/tests/th/T10267.stderr index f97ccf0a1f..a6e6aa71e5 100644 --- a/testsuite/tests/th/T10267.stderr +++ b/testsuite/tests/th/T10267.stderr @@ -1,5 +1,5 @@ -T10267.hs:8:1: error: +T10267.hs:8:1: error: [GHC-88464] • Found hole: _foo :: a -> a Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -18,7 +18,7 @@ T10267.hs:8:1: error: (imported from ‘Prelude’ at T10267.hs:3:8-13 (and originally defined in ‘GHC.Base’)) -T10267.hs:8:1: error: +T10267.hs:8:1: error: [GHC-88464] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/th/T10638.stderr b/testsuite/tests/th/T10638.stderr index 582190e688..de833d4fd3 100644 --- a/testsuite/tests/th/T10638.stderr +++ b/testsuite/tests/th/T10638.stderr @@ -1,5 +1,5 @@ -T10638.hs:26:10: error: +T10638.hs:26:10: error: [GHC-95774] • ‘static test2’ is not a valid C identifier • When checking declaration: foreign import prim safe "static test2" cmm_test2 :: Int# -> Int# diff --git a/testsuite/tests/th/T10945.stderr b/testsuite/tests/th/T10945.stderr index fe71a2f50c..c70a098c9d 100644 --- a/testsuite/tests/th/T10945.stderr +++ b/testsuite/tests/th/T10945.stderr @@ -1,5 +1,5 @@ -T10945.hs:7:11: error: +T10945.hs:7:11: error: [GHC-83865] • Couldn't match type: [Dec] with: Q [Dec] Expected: DecsQ diff --git a/testsuite/tests/th/T10946.stderr b/testsuite/tests/th/T10946.stderr index a5b6ebe16c..600625b5a4 100644 --- a/testsuite/tests/th/T10946.stderr +++ b/testsuite/tests/th/T10946.stderr @@ -1,5 +1,5 @@ -T10946.hs:8:13: error: +T10946.hs:8:13: error: [GHC-88464] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/th/T11145.stderr b/testsuite/tests/th/T11145.stderr index b8c4a1c6a8..5fba7081a6 100644 --- a/testsuite/tests/th/T11145.stderr +++ b/testsuite/tests/th/T11145.stderr @@ -1,5 +1,5 @@ -T11145.hs:8:1: error: +T11145.hs:8:1: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘(a0, b0)’ Expected: Fuggle Int (Maybe (a0, b0)) Actual: Fuggle Int (Maybe Bool) diff --git a/testsuite/tests/th/T11452.stderr b/testsuite/tests/th/T11452.stderr index 2de5aa0a0f..c0ed994d2d 100644 --- a/testsuite/tests/th/T11452.stderr +++ b/testsuite/tests/th/T11452.stderr @@ -6,7 +6,7 @@ T11452.hs:6:12: error: In the expression: $$([|| \ _ -> () ||]) In an equation for ‘impred’: impred = $$([|| \ _ -> () ||]) -T11452.hs:6:14: error: +T11452.hs:6:14: error: [GHC-91028] • Couldn't match type ‘p0’ with ‘forall a. a -> a’ Expected: Language.Haskell.TH.Syntax.Code Language.Haskell.TH.Syntax.Q ((forall a. a -> a) -> ()) diff --git a/testsuite/tests/th/T11680.stderr b/testsuite/tests/th/T11680.stderr index 05e976837a..9399586df1 100644 --- a/testsuite/tests/th/T11680.stderr +++ b/testsuite/tests/th/T11680.stderr @@ -1,30 +1,34 @@ -T11680.hs:15:7: error: Variable not in scope: noMatches :: Bool +T11680.hs:15:7: error: [GHC-88464] + Variable not in scope: noMatches :: Bool -T11680.hs:20:7: error: +T11680.hs:20:7: error: [GHC-88464] Variable not in scope: abce :: [a] Suggested fix: Perhaps use ‘abcd’ (line 23) -T11680.hs:31:7: error: Variable not in scope: foo :: Int +T11680.hs:31:7: error: [GHC-88464] + Variable not in scope: foo :: Int -T11680.hs:39:7: error: +T11680.hs:39:7: error: [GHC-88464] Variable not in scope: bar :: () Suggested fix: Perhaps use one of these: ‘bat’ (line 42), ‘baz’ (line 45) -T11680.hs:50:7: error: Variable not in scope: ns :: [Double] +T11680.hs:50:7: error: [GHC-88464] + Variable not in scope: ns :: [Double] -T11680.hs:55:7: error: +T11680.hs:55:7: error: [GHC-88464] Variable not in scope: intercalate Suggested fix: Perhaps use ‘List.intercalate’ (imported from Data.List) -T11680.hs:59:7: error: +T11680.hs:59:7: error: [GHC-88464] Variable not in scope: nub Suggested fix: Perhaps use ‘List.nub’ (imported from Data.List) -T11680.hs:64:7: error: Variable not in scope: x :: t0 -> Int +T11680.hs:64:7: error: [GHC-88464] + Variable not in scope: x :: t0 -> Int -T11680.hs:69:7: error: +T11680.hs:69:7: error: [GHC-88464] Variable not in scope: cat :: () Suggested fix: Perhaps use ‘bat’ (line 42) diff --git a/testsuite/tests/th/T11941.stderr b/testsuite/tests/th/T11941.stderr index ca21f919fe..39a25c7425 100644 --- a/testsuite/tests/th/T11941.stderr +++ b/testsuite/tests/th/T11941.stderr @@ -1,5 +1,5 @@ -T11941.hs:7:30: error: +T11941.hs:7:30: error: [GHC-76037] Not in scope: ‘getFrst’ Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/th/T12387.stderr b/testsuite/tests/th/T12387.stderr index 53b8550cdd..7b0fa48235 100644 --- a/testsuite/tests/th/T12387.stderr +++ b/testsuite/tests/th/T12387.stderr @@ -1,4 +1,4 @@ -T12387.hs:8:2: error: +T12387.hs:8:2: error: [GHC-46284] • Class ‘Eq’ does not have a method ‘compare’ • In the instance declaration for ‘Eq Foo’ diff --git a/testsuite/tests/th/T12387a.stderr b/testsuite/tests/th/T12387a.stderr index 00645866d4..c9653dec37 100644 --- a/testsuite/tests/th/T12387a.stderr +++ b/testsuite/tests/th/T12387a.stderr @@ -1,5 +1,5 @@ -T12387a.hs:11:2: - Class ‘Eq’ does not have an associated type ‘Rep’ - In the type instance declaration for ‘Rep’ - In the instance declaration for ‘Eq Foo’
\ No newline at end of file +T12387a.hs:11:2: error: [GHC-38351] + • Class ‘Eq’ does not have an associated type ‘Rep’ + • In the type instance declaration for ‘Rep’ + In the instance declaration for ‘Eq Foo’ diff --git a/testsuite/tests/th/T12411.stderr b/testsuite/tests/th/T12411.stderr index 79172a1a46..be5f843ee2 100644 --- a/testsuite/tests/th/T12411.stderr +++ b/testsuite/tests/th/T12411.stderr @@ -3,4 +3,5 @@ T12411.hs:5:1: error: Illegal visible type application ‘@Q’ Perhaps you intended to use TypeApplications -T12411.hs:5:7: error: Not in scope: type constructor or class ‘Q’ +T12411.hs:5:7: error: [GHC-76037] + Not in scope: type constructor or class ‘Q’ diff --git a/testsuite/tests/th/T12513.stderr b/testsuite/tests/th/T12513.stderr index 26a2dbb1da..efafd33181 100644 --- a/testsuite/tests/th/T12513.stderr +++ b/testsuite/tests/th/T12513.stderr @@ -1,10 +1,10 @@ -T12513.hs:9:7: error: +T12513.hs:9:7: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘(# Int #)’ • In the expression: x In an equation for ‘f’: f x = x -T12513.hs:12:7: error: +T12513.hs:12:7: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘(# Int #)’ • In the expression: x In an equation for ‘g’: g x = x diff --git a/testsuite/tests/th/T12788.stderr b/testsuite/tests/th/T12788.stderr index 485b2005f9..28ab1a4974 100644 --- a/testsuite/tests/th/T12788.stderr +++ b/testsuite/tests/th/T12788.stderr @@ -1,2 +1,2 @@ -T12788.hs:9:14: error: Empty record update +T12788.hs:9:14: error: [GHC-20825] Empty record update diff --git a/testsuite/tests/th/T13837.stderr b/testsuite/tests/th/T13837.stderr index a5f1005ca8..a3e58889a3 100644 --- a/testsuite/tests/th/T13837.stderr +++ b/testsuite/tests/th/T13837.stderr @@ -1,5 +1,5 @@ -T13837.hs:9:4: error: +T13837.hs:9:4: error: [GHC-97784] • The Name ‘Fam’ is not in scope. • In the argument of reifyInstances: Fam_0 In the untyped splice: diff --git a/testsuite/tests/th/T13968.stderr b/testsuite/tests/th/T13968.stderr index 420e3c6432..95be60b0b1 100644 --- a/testsuite/tests/th/T13968.stderr +++ b/testsuite/tests/th/T13968.stderr @@ -1,3 +1,3 @@ -T13968.hs:6:2: error: +T13968.hs:6:2: error: [GHC-40027] Cannot redefine a Name retrieved by a Template Haskell quote: succ diff --git a/testsuite/tests/th/T14627.stderr b/testsuite/tests/th/T14627.stderr index 9d9b9785f0..373d59dee8 100644 --- a/testsuite/tests/th/T14627.stderr +++ b/testsuite/tests/th/T14627.stderr @@ -1,5 +1,5 @@ -T14627.hs:4:1: error: +T14627.hs:4:1: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘Bool’ • imported from ‘Prelude’ at T14627.hs:1:1 (and originally defined in ‘GHC.Types’) diff --git a/testsuite/tests/th/T15321.stderr b/testsuite/tests/th/T15321.stderr index 1de67decef..2180b95e09 100644 --- a/testsuite/tests/th/T15321.stderr +++ b/testsuite/tests/th/T15321.stderr @@ -1,5 +1,5 @@ -T15321.hs:9:9: error: +T15321.hs:9:9: error: [GHC-88464] • Found hole: _ :: String -> Language.Haskell.TH.Lib.Internal.ExpQ • In the expression: _ "baz" In the untyped splice: $(_ "baz") diff --git a/testsuite/tests/th/T15360b.stderr b/testsuite/tests/th/T15360b.stderr index f39226dda8..f3e9f3c427 100644 --- a/testsuite/tests/th/T15360b.stderr +++ b/testsuite/tests/th/T15360b.stderr @@ -1,20 +1,21 @@ -T15360b.hs:10:13: error: +T15360b.hs:10:13: error: [GHC-83865] • Expected kind ‘* -> k3’, but ‘Type’ has kind ‘*’ • In the first argument of ‘Proxy’, namely ‘(Type Double)’ In the type signature: x :: Proxy (Type Double) -T15360b.hs:13:13: error: - • Expected kind ‘* -> k2’, but ‘1’ has kind ‘GHC.Num.Natural.Natural’ +T15360b.hs:13:13: error: [GHC-83865] + • Expected kind ‘* -> k2’, + but ‘1’ has kind ‘GHC.Num.Natural.Natural’ • In the first argument of ‘Proxy’, namely ‘(1 Int)’ In the type signature: y :: Proxy (1 Int) -T15360b.hs:16:13: error: +T15360b.hs:16:13: error: [GHC-83865] • Expected kind ‘* -> k1’, but ‘Constraint’ has kind ‘*’ • In the first argument of ‘Proxy’, namely ‘(Constraint Bool)’ In the type signature: z :: Proxy (Constraint Bool) -T15360b.hs:19:13: error: +T15360b.hs:19:13: error: [GHC-83865] • Expected kind ‘* -> k0’, but ‘'[]’ has kind ‘[a0]’ • In the first argument of ‘Proxy’, namely ‘('[] Int)’ In the type signature: w :: Proxy ('[] Int) diff --git a/testsuite/tests/th/T15433a.stderr b/testsuite/tests/th/T15433a.stderr index 13efe8c376..5661f88dd2 100644 --- a/testsuite/tests/th/T15433a.stderr +++ b/testsuite/tests/th/T15433a.stderr @@ -1,5 +1,5 @@ -T15433a.hs:7:11: error: +T15433a.hs:7:11: error: [GHC-65507] • Wildcard ‘_’ not allowed • In the type ‘(_)’ In the type declaration for ‘T’ diff --git a/testsuite/tests/th/T16980a.stderr b/testsuite/tests/th/T16980a.stderr index 52673a8779..9ba85cafdc 100644 --- a/testsuite/tests/th/T16980a.stderr +++ b/testsuite/tests/th/T16980a.stderr @@ -1,5 +1,5 @@ -T16980a.hs:10:5: error: +T16980a.hs:10:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Integer’ • In the expression: x In an equation for ‘y’: y = x diff --git a/testsuite/tests/th/T17380.stderr b/testsuite/tests/th/T17380.stderr index 3773c76400..b9e1430ff7 100644 --- a/testsuite/tests/th/T17380.stderr +++ b/testsuite/tests/th/T17380.stderr @@ -1,29 +1,29 @@ -T17380.hs:9:7: error: +T17380.hs:9:7: error: [GHC-83865] • Couldn't match expected type: Solo (Maybe String) with actual type: Maybe String • In the expression: Just "wat" In an equation for ‘foo’: foo = Just "wat" -T17380.hs:12:8: error: +T17380.hs:12:8: error: [GHC-83865] • Couldn't match expected type: Maybe String with actual type: Solo (Maybe String) • In the expression: Solo Just "wat" In an equation for ‘bar’: bar = (Solo Just "wat") -T17380.hs:15:6: error: +T17380.hs:15:6: error: [GHC-83865] • Couldn't match expected type: Solo (Maybe String) with actual type: Maybe String • In the pattern: Just "wat" In an equation for ‘baz’: baz (Just "wat") = Just "frerf" -T17380.hs:18:7: error: +T17380.hs:18:7: error: [GHC-83865] • Couldn't match expected type: Maybe String with actual type: Solo (Maybe String) • In the pattern: Solo(Just "wat") In an equation for ‘quux’: quux (Solo(Just "wat")) = Just "frerf" -T17380.hs:21:8: error: +T17380.hs:21:8: error: [GHC-83865] • Couldn't match type: Maybe String with: 'Solo (Maybe String) Expected: Proxy ('Solo (Maybe String)) @@ -31,7 +31,7 @@ T17380.hs:21:8: error: • In the expression: Proxy :: Proxy (Maybe String) In an equation for ‘quuz’: quuz = Proxy :: Proxy (Maybe String) -T17380.hs:24:8: error: +T17380.hs:24:8: error: [GHC-83865] • Couldn't match type: 'Solo (Maybe String) with: Maybe String Expected: Proxy (Maybe String) diff --git a/testsuite/tests/th/T17804.stderr b/testsuite/tests/th/T17804.stderr index 6a18945635..d502dd25f8 100644 --- a/testsuite/tests/th/T17804.stderr +++ b/testsuite/tests/th/T17804.stderr @@ -1,9 +1,9 @@ -T17804.hs:8:17: warning: [-Wimplicit-lift] +T17804.hs:8:17: warning: [GHC-00846] [-Wimplicit-lift] • The variable ‘x’ is implicitly lifted in the TH quotation • In the Template Haskell quotation [| x |] -T17804.hs:11:18: warning: [-Wimplicit-lift] +T17804.hs:11:18: warning: [GHC-00846] [-Wimplicit-lift] • The variable ‘x’ is implicitly lifted in the TH quotation • In the Template Haskell quotation [|| x ||] In the expression: [|| x ||] diff --git a/testsuite/tests/th/T18102.stderr b/testsuite/tests/th/T18102.stderr index 866e3e0777..f8ec2715d2 100644 --- a/testsuite/tests/th/T18102.stderr +++ b/testsuite/tests/th/T18102.stderr @@ -1,5 +1,5 @@ -T18102.hs:11:22: error: +T18102.hs:11:22: error: [GHC-76037] • Not in scope: ‘ifThenElse’ • In the Template Haskell typed quotation [|| if True then 10 else 15 ||] @@ -7,7 +7,7 @@ T18102.hs:11:22: error: $$(do _stuff <- [|| if True then 10 else 15 ||] return []) -T18102.hs:11:35: error: +T18102.hs:11:35: error: [GHC-76037] • Not in scope: ‘fromInteger’ • In the Template Haskell typed quotation [|| if True then 10 else 15 ||] @@ -18,7 +18,7 @@ T18102.hs:11:35: error: Perhaps you want to add ‘fromInteger’ to the import list in the import of ‘Prelude’ (T18102.hs:5:1-50). -T18102.hs:11:43: error: +T18102.hs:11:43: error: [GHC-76037] • Not in scope: ‘fromInteger’ • In the Template Haskell typed quotation [|| if True then 10 else 15 ||] diff --git a/testsuite/tests/th/T18740c.stderr b/testsuite/tests/th/T18740c.stderr index dd718cbf33..23631f31c4 100644 --- a/testsuite/tests/th/T18740c.stderr +++ b/testsuite/tests/th/T18740c.stderr @@ -1,6 +1,6 @@ -T18740c.hs:9:1: error: +T18740c.hs:9:1: error: [GHC-31891] • Illegal term-level use of the type variable ‘a’ - bound at T18740c.hs:9:1 + • bound at T18740c.hs:9:1 • In the expression: a In an equation for ‘f’: f (Proxy :: Proxy a) = a diff --git a/testsuite/tests/th/T19709c.stderr b/testsuite/tests/th/T19709c.stderr index 37451d2023..fae9231c24 100644 --- a/testsuite/tests/th/T19709c.stderr +++ b/testsuite/tests/th/T19709c.stderr @@ -1,5 +1,5 @@ -T19709c.hs:9:7: error: [-Wincomplete-patterns (in -Wextra), -Werror=incomplete-patterns] +T19709c.hs:9:7: error: [GHC-62161] [-Wincomplete-patterns (in -Wextra), Werror=incomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘String’ not matched: diff --git a/testsuite/tests/th/T19709d.stderr b/testsuite/tests/th/T19709d.stderr index cacf6acb48..ea19ba8f4c 100644 --- a/testsuite/tests/th/T19709d.stderr +++ b/testsuite/tests/th/T19709d.stderr @@ -1,5 +1,5 @@ -T19709d.hs:6:2: warning: [-Wincomplete-patterns (in -Wextra)] +T19709d.hs:6:2: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘String’ not matched: diff --git a/testsuite/tests/th/T20179.stderr b/testsuite/tests/th/T20179.stderr index 28eb54d698..2bef21b76a 100644 --- a/testsuite/tests/th/T20179.stderr +++ b/testsuite/tests/th/T20179.stderr @@ -1,5 +1,5 @@ -T20179.hs:4:18: error: +T20179.hs:4:18: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: slurmp :: [Maybe] diff --git a/testsuite/tests/th/T20884.stderr b/testsuite/tests/th/T20884.stderr index 20c1c34fd1..76e6a17588 100644 --- a/testsuite/tests/th/T20884.stderr +++ b/testsuite/tests/th/T20884.stderr @@ -1,5 +1,5 @@ -T20884.hs:10:17: error: +T20884.hs:10:17: error: [GHC-31891] • The data constructor ‘:’ does not live in the type-level namespace • In the Template Haskell quotation ''(:) In the untyped splice: diff --git a/testsuite/tests/th/T2713.stderr b/testsuite/tests/th/T2713.stderr index ce9091c79c..ae40f1ba48 100644 --- a/testsuite/tests/th/T2713.stderr +++ b/testsuite/tests/th/T2713.stderr @@ -1,10 +1,10 @@ -T2713.hs:11:10: error: +T2713.hs:11:10: error: [GHC-44432] The fixity signature for ‘.*.’ lacks an accompanying binding Suggested fix: Move the fixity signature to the declaration site of ‘.*.’. -T2713.hs:12:1: error: +T2713.hs:12:1: error: [GHC-44432] The type signature for ‘f’ lacks an accompanying binding Suggested fix: Move the type signature to the declaration site of ‘f’. diff --git a/testsuite/tests/th/T3177a.stderr b/testsuite/tests/th/T3177a.stderr index a9b8bed980..471542155f 100644 --- a/testsuite/tests/th/T3177a.stderr +++ b/testsuite/tests/th/T3177a.stderr @@ -1,8 +1,8 @@ -T3177a.hs:8:7: error: +T3177a.hs:8:7: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the type signature: f :: (Int Int) -T3177a.hs:11:6: error: +T3177a.hs:11:6: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the type signature: g :: Int Int diff --git a/testsuite/tests/th/T5358.stderr b/testsuite/tests/th/T5358.stderr index c6bb4c11c8..4dfd36f8c4 100644 --- a/testsuite/tests/th/T5358.stderr +++ b/testsuite/tests/th/T5358.stderr @@ -1,15 +1,15 @@ -T5358.hs:7:1: error: +T5358.hs:7:1: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘p1 -> p1’ • The equation for ‘t1’ has one value argument, but its type ‘Int’ has none -T5358.hs:8:1: error: +T5358.hs:8:1: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘p0 -> p0’ • The equation for ‘t2’ has one value argument, but its type ‘Int’ has none -T5358.hs:10:13: error: +T5358.hs:10:13: error: [GHC-83865] • Couldn't match expected type ‘t -> a0’ with actual type ‘Int’ • The function ‘t1’ is applied to one value argument, but its type ‘Int’ has none @@ -19,7 +19,7 @@ T5358.hs:10:13: error: x :: t (bound at T5358.hs:10:9) prop_x1 :: t -> Bool (bound at T5358.hs:10:1) -T5358.hs:10:21: error: +T5358.hs:10:21: error: [GHC-83865] • Couldn't match expected type ‘t -> a0’ with actual type ‘Int’ • The function ‘t2’ is applied to one value argument, but its type ‘Int’ has none diff --git a/testsuite/tests/th/T5971.stderr b/testsuite/tests/th/T5971.stderr index c06561b853..4dc4584605 100644 --- a/testsuite/tests/th/T5971.stderr +++ b/testsuite/tests/th/T5971.stderr @@ -1,5 +1,5 @@ -T5971.hs:6:6: error: +T5971.hs:6:6: error: [GHC-97784] • The Name ‘x’ is not in scope. • In the untyped splice: $(newName "x" >>= varE) Suggested fix: diff --git a/testsuite/tests/th/T6018th.stderr b/testsuite/tests/th/T6018th.stderr index c141bfc44a..b5297c0d64 100644 --- a/testsuite/tests/th/T6018th.stderr +++ b/testsuite/tests/th/T6018th.stderr @@ -1,5 +1,5 @@ -T6018th.hs:98:2: error: +T6018th.hs:98:2: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: H Int Int Int = Bool -- Defined at T6018th.hs:98:2 diff --git a/testsuite/tests/th/T7241.stderr b/testsuite/tests/th/T7241.stderr index a46daa2c25..33fbb58061 100644 --- a/testsuite/tests/th/T7241.stderr +++ b/testsuite/tests/th/T7241.stderr @@ -1,5 +1,5 @@ -T7241.hs:7:2: error: +T7241.hs:7:2: error: [GHC-81573] Same Name in multiple name-spaces: type constructor or class ‘Foo’, declared at: T7241.hs:7:2 data constructor ‘Foo’, declared at: T7241.hs:7:2 diff --git a/testsuite/tests/th/T7276.stderr b/testsuite/tests/th/T7276.stderr index 2b1dfb96be..4c73db695a 100644 --- a/testsuite/tests/th/T7276.stderr +++ b/testsuite/tests/th/T7276.stderr @@ -1,7 +1,7 @@ T7276.hs:6:5: error: • Exception when trying to run compile-time code: - T7276.hs:6:8: error: + T7276.hs:6:8: error: [GHC-83865] • Couldn't match type ‘[Language.Haskell.TH.Syntax.Dec]’ with ‘Language.Haskell.TH.Syntax.Exp’ Expected: Language.Haskell.TH.Lib.Internal.ExpQ diff --git a/testsuite/tests/th/T7276a.stdout b/testsuite/tests/th/T7276a.stdout index 33b418477a..68f6791443 100644 --- a/testsuite/tests/th/T7276a.stdout +++ b/testsuite/tests/th/T7276a.stdout @@ -1,5 +1,5 @@ -<interactive>:3:9: warning: [-Wdeferred-type-errors (in -Wdefault)] +<interactive>:3:9: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘[Dec]’ with ‘Exp’ Expected: Q Exp Actual: Q Language.Haskell.TH.Lib.Internal.Decs @@ -8,7 +8,7 @@ <interactive>:1:1: error: • Exception when trying to run compile-time code: - <interactive>:3:9: error: + <interactive>:3:9: error: [GHC-83865] • Couldn't match type ‘[Dec]’ with ‘Exp’ Expected: Q Exp Actual: Q Language.Haskell.TH.Lib.Internal.Decs diff --git a/testsuite/tests/th/T8577.stderr b/testsuite/tests/th/T8577.stderr index 9c83d3c657..77d97f2eba 100644 --- a/testsuite/tests/th/T8577.stderr +++ b/testsuite/tests/th/T8577.stderr @@ -1,5 +1,5 @@ -T8577.hs:9:11: error: +T8577.hs:9:11: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘Bool’ Expected: Code Q (A Bool) Actual: Code Q (A Int) diff --git a/testsuite/tests/th/T9084.stderr b/testsuite/tests/th/T9084.stderr index 722735d306..1411155914 100644 --- a/testsuite/tests/th/T9084.stderr +++ b/testsuite/tests/th/T9084.stderr @@ -1,3 +1,3 @@ -T9084.hs:5:2: error: +T9084.hs:5:2: error: [GHC-65904] MINIMAL pragmas not (yet) handled by Template Haskell diff --git a/testsuite/tests/th/T9209.stderr b/testsuite/tests/th/T9209.stderr index 1f4f3e78ab..261a6bcad6 100644 --- a/testsuite/tests/th/T9209.stderr +++ b/testsuite/tests/th/T9209.stderr @@ -1,4 +1,4 @@ -T9209.hs:5:11: +T9209.hs:5:11: error: [GHC-08451] Declaration splices are allowed only at the top level: $([d| x = 5 |]) diff --git a/testsuite/tests/th/TH_1tuple.stderr b/testsuite/tests/th/TH_1tuple.stderr index fad311b0c8..4ceeb9befe 100644 --- a/testsuite/tests/th/TH_1tuple.stderr +++ b/testsuite/tests/th/TH_1tuple.stderr @@ -1,5 +1,5 @@ -TH_1tuple.hs:11:6: error: +TH_1tuple.hs:11:6: error: [GHC-83865] • Expecting one more argument to ‘Solo’ Expected a type, but ‘Solo’ has kind ‘* -> *’ • In an expression type signature: Solo diff --git a/testsuite/tests/th/TH_dataD1.stderr b/testsuite/tests/th/TH_dataD1.stderr index 51ae5b9d82..c04d2d92d8 100644 --- a/testsuite/tests/th/TH_dataD1.stderr +++ b/testsuite/tests/th/TH_dataD1.stderr @@ -1,3 +1,3 @@ -TH_dataD1.hs:7:6: +TH_dataD1.hs:7:6: error: [GHC-65904] Splices within declaration brackets not (yet) handled by Template Haskell diff --git a/testsuite/tests/th/TH_linePragma.stderr b/testsuite/tests/th/TH_linePragma.stderr index 03f35db988..aefd003905 100644 --- a/testsuite/tests/th/TH_linePragma.stderr +++ b/testsuite/tests/th/TH_linePragma.stderr @@ -1,2 +1,3 @@ -virtual file:42:1: error: Variable not in scope: doesntExist +virtual file:42:1: error: [GHC-88464] + Variable not in scope: doesntExist diff --git a/testsuite/tests/th/TH_recover_warns.stderr b/testsuite/tests/th/TH_recover_warns.stderr index 24bfb76f1d..848f1b1380 100644 --- a/testsuite/tests/th/TH_recover_warns.stderr +++ b/testsuite/tests/th/TH_recover_warns.stderr @@ -10,6 +10,6 @@ TH_recover_warns.hs:9:18: warning: [-Wunused-local-binds (in -Wextra, -Wunused-b TH_recover_warns.hs:10:34: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)] Defined but not used: ‘x’ -TH_recover_warns.hs:10:49: warning: [-Wname-shadowing (in -Wall)] +TH_recover_warns.hs:10:49: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘x’ shadows the existing binding bound at TH_recover_warns.hs:10:34 diff --git a/testsuite/tests/th/TH_repPatSigTVar.stderr b/testsuite/tests/th/TH_repPatSigTVar.stderr index fb02dd9fb8..4f80f9eb38 100644 --- a/testsuite/tests/th/TH_repPatSigTVar.stderr +++ b/testsuite/tests/th/TH_repPatSigTVar.stderr @@ -1,5 +1,5 @@ -TH_repPatSigTVar.hs:8:64: error: +TH_repPatSigTVar.hs:8:64: error: [GHC-76037] • Not in scope: type variable ‘c’ • In the Template Haskell quotation ''c In the untyped splice: $(sigE (varE 'undefined) (varT ''c)) diff --git a/testsuite/tests/th/overloaded/TH_overloaded_constraints_fail.stderr b/testsuite/tests/th/overloaded/TH_overloaded_constraints_fail.stderr index 1731b58b28..902f6b37a4 100644 --- a/testsuite/tests/th/overloaded/TH_overloaded_constraints_fail.stderr +++ b/testsuite/tests/th/overloaded/TH_overloaded_constraints_fail.stderr @@ -1,5 +1,5 @@ -TH_overloaded_constraints_fail.hs:20:14: error: +TH_overloaded_constraints_fail.hs:20:14: error: [GHC-83865] • Couldn't match type ‘Identity’ with ‘Q’ Expected: Q Exp Actual: Identity Exp diff --git a/testsuite/tests/th/overloaded/TH_overloaded_no_instance.stderr b/testsuite/tests/th/overloaded/TH_overloaded_no_instance.stderr index 7e8eab0702..fb78463b1e 100644 --- a/testsuite/tests/th/overloaded/TH_overloaded_no_instance.stderr +++ b/testsuite/tests/th/overloaded/TH_overloaded_no_instance.stderr @@ -1,5 +1,5 @@ -TH_overloaded_no_instance.hs:13:10: error: +TH_overloaded_no_instance.hs:13:10: error: [GHC-39999] • No instance for ‘Quote NewType’ arising from a quotation bracket • In the expression: [| 5 |] In an equation for ‘quote2’: quote2 = [| 5 |] diff --git a/testsuite/tests/typecheck/bug1465/bug1465.stderr b/testsuite/tests/typecheck/bug1465/bug1465.stderr index e4f5b10732..28448db008 100644 --- a/testsuite/tests/typecheck/bug1465/bug1465.stderr +++ b/testsuite/tests/typecheck/bug1465/bug1465.stderr @@ -1,5 +1,5 @@ -C.hs:6:11: error: +C.hs:6:11: error: [GHC-83865] • Couldn't match expected type ‘bug1465-1.0:A.T’ with actual type ‘A.T’ NB: ‘bug1465-1.0:A.T’ is defined in ‘A’ in package ‘bug1465-1.0’ diff --git a/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem.stderr b/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem.stderr index ca5e590e72..a7149747a8 100644 --- a/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem.stderr @@ -1,5 +1,5 @@ -KcConDeclSkolem.hs:9:15: error: +KcConDeclSkolem.hs:9:15: error: [GHC-25897] • Expected kind ‘k’, but ‘a’ has kind ‘k -> k0’ • In the first argument of ‘Proxy’, namely ‘(a :: k)’ In the type ‘Proxy (a :: k)’ diff --git a/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem2.stderr b/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem2.stderr index b9d4d6d95f..7931905b8a 100644 --- a/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem2.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem2.stderr @@ -1,5 +1,5 @@ -KcConDeclSkolem2.hs:8:19: error: +KcConDeclSkolem2.hs:8:19: error: [GHC-27958] • Expected kind ‘k0’, but ‘a’ has kind ‘k0 -> *’ • In the first argument of ‘a’, namely ‘a’ In the type ‘(a a)’ diff --git a/testsuite/tests/typecheck/no_skolem_info/T10946_sk.stderr b/testsuite/tests/typecheck/no_skolem_info/T10946_sk.stderr index d9ddf33946..025604a102 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T10946_sk.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T10946_sk.stderr @@ -1,5 +1,5 @@ -T10946_sk.hs:6:13: error: +T10946_sk.hs:6:13: error: [GHC-88464] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/no_skolem_info/T13499.stderr b/testsuite/tests/typecheck/no_skolem_info/T13499.stderr index dbf5ba521b..5b1f358f54 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T13499.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T13499.stderr @@ -1,5 +1,5 @@ -T13499.hs:7:19: error: +T13499.hs:7:19: error: [GHC-88464] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/no_skolem_info/T14040.stderr b/testsuite/tests/typecheck/no_skolem_info/T14040.stderr index 73e01979dd..c0327bc919 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T14040.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T14040.stderr @@ -1,5 +1,5 @@ -T14040.hs:27:46: error: +T14040.hs:27:46: error: [GHC-46956] • Couldn't match kind ‘k1’ with ‘WeirdList z’ Expected kind ‘WeirdList k1’, but ‘xs’ has kind ‘WeirdList (WeirdList z)’ @@ -29,7 +29,7 @@ T14040.hs:27:46: error: -> p _ (WeirdCons x xs)) -> p _ wl -T14040.hs:28:27: error: +T14040.hs:28:27: error: [GHC-46956] • Couldn't match kind ‘k0’ with ‘z’ Expected kind ‘WeirdList k0’, but ‘WeirdCons x xs’ has kind ‘WeirdList z’ diff --git a/testsuite/tests/typecheck/no_skolem_info/T19482.stderr b/testsuite/tests/typecheck/no_skolem_info/T19482.stderr index 0c4b35f505..2147ff2c47 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T19482.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T19482.stderr @@ -1,5 +1,5 @@ -T19482.hs:11:25: error: +T19482.hs:11:25: error: [GHC-25897] • Expected kind ‘[r]’, but ‘s’ has kind ‘r’ ‘r’ is a rigid type variable bound by the instance declaration diff --git a/testsuite/tests/typecheck/no_skolem_info/T19752.stderr b/testsuite/tests/typecheck/no_skolem_info/T19752.stderr index ce65be3e62..84e8db5226 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T19752.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T19752.stderr @@ -1,5 +1,5 @@ -T19752.hs:12:10: error: +T19752.hs:12:10: error: [GHC-25897] • Could not deduce ‘F b0 ~ a’ from the context: F b ~ a bound by the type signature for: diff --git a/testsuite/tests/typecheck/no_skolem_info/T19760.stderr b/testsuite/tests/typecheck/no_skolem_info/T19760.stderr index cb5f7e2d16..0e5f7cc32d 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T19760.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T19760.stderr @@ -1,5 +1,5 @@ -T19760.hs:11:41: error: +T19760.hs:11:41: error: [GHC-25897] • Couldn't match kind ‘a'’ with ‘a’ Expected kind ‘Maybe a’, but ‘m'’ has kind ‘Maybe a'’ ‘a'’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/no_skolem_info/T20063.stderr b/testsuite/tests/typecheck/no_skolem_info/T20063.stderr index 5979d48438..3f2e0d490b 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T20063.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T20063.stderr @@ -1,5 +1,5 @@ -T20063.hs:25:21: error: +T20063.hs:25:21: error: [GHC-25897] • Could not deduce ‘ctx4 ~ (ctx0 :*& l0)’ from the context: (ctx1 ~ 'Extend ctx7, ctx2 ~ 'Extend ctx8) bound by a pattern with constructor: diff --git a/testsuite/tests/typecheck/no_skolem_info/T20232.stderr b/testsuite/tests/typecheck/no_skolem_info/T20232.stderr index 047db6bd96..e6688cc5c7 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T20232.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T20232.stderr @@ -1,5 +1,5 @@ -T20232.hs:7:5: error: +T20232.hs:7:5: error: [GHC-25897] • Couldn't match type ‘p’ with ‘'One’ arising from multiplicity of ‘x’ ‘p’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/no_skolem_info/T20680.stderr b/testsuite/tests/typecheck/no_skolem_info/T20680.stderr index c6a2d42bd4..ed5ed256b8 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T20680.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T20680.stderr @@ -1,5 +1,5 @@ -T20680.hs:26:50: error: +T20680.hs:26:50: error: [GHC-25897] • Couldn't match kind ‘k’ with ‘*’ Expected kind ‘* -> *’, but ‘Rec1 f’ has kind ‘k -> *’ ‘k’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/no_skolem_info/T20969.stderr b/testsuite/tests/typecheck/no_skolem_info/T20969.stderr index 94e74523d3..0ebf414ea2 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T20969.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T20969.stderr @@ -1,5 +1,5 @@ -T20969.hs:10:40: error: +T20969.hs:10:40: error: [GHC-39999] • No instance for ‘TH.Lift a’ arising from a use of ‘TH.liftTyped’ • In the expression: TH.liftTyped _ :: TH.Code TH.Q a In the first argument of ‘fromList’, namely @@ -7,7 +7,7 @@ T20969.hs:10:40: error: In the first argument of ‘sequenceCode’, namely ‘(fromList [TH.liftTyped _ :: TH.Code TH.Q a, [|| x ||]])’ -T20969.hs:10:53: error: +T20969.hs:10:53: error: [GHC-88464] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/no_skolem_info/T21306.stderr b/testsuite/tests/typecheck/no_skolem_info/T21306.stderr index 2845cb252f..22701d30c4 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T21306.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T21306.stderr @@ -1,5 +1,5 @@ -T21306.hs:23:15: error: +T21306.hs:23:15: error: [GHC-25897] • Couldn't match type ‘xs’ with ‘xs1’ Expected: EqualLists xs xs2 Actual: EqualLists xs1 ys diff --git a/testsuite/tests/typecheck/should_compile/ExPatFail.stderr b/testsuite/tests/typecheck/should_compile/ExPatFail.stderr index e38c32b595..c135e4d4e1 100644 --- a/testsuite/tests/typecheck/should_compile/ExPatFail.stderr +++ b/testsuite/tests/typecheck/should_compile/ExPatFail.stderr @@ -1,5 +1,5 @@ -ExPatFail.hs:12:15: error: +ExPatFail.hs:12:15: error: [GHC-25897] • Couldn't match expected type ‘p’ with actual type ‘a’ ‘a’ is a rigid type variable bound by a pattern with constructor: diff --git a/testsuite/tests/typecheck/should_compile/PolytypeDecomp.stderr b/testsuite/tests/typecheck/should_compile/PolytypeDecomp.stderr index bdfddb70a1..4803093bae 100644 --- a/testsuite/tests/typecheck/should_compile/PolytypeDecomp.stderr +++ b/testsuite/tests/typecheck/should_compile/PolytypeDecomp.stderr @@ -1,5 +1,5 @@ -PolytypeDecomp.hs:30:17: error: +PolytypeDecomp.hs:30:17: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘[forall a. Maybe a]’ Expected: Id a0 Actual: [forall a. Maybe a] @@ -9,7 +9,7 @@ PolytypeDecomp.hs:30:17: error: In the first argument of ‘myLength’, namely ‘[x, f]’ In the expression: myLength [x, f] -PolytypeDecomp.hs:30:19: error: +PolytypeDecomp.hs:30:19: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘[forall a. Maybe a]’ Expected: Id a0 Actual: [forall a. F [a]] diff --git a/testsuite/tests/typecheck/should_compile/T10072.stderr b/testsuite/tests/typecheck/should_compile/T10072.stderr index 994a03f903..2aebe247d0 100644 --- a/testsuite/tests/typecheck/should_compile/T10072.stderr +++ b/testsuite/tests/typecheck/should_compile/T10072.stderr @@ -1,5 +1,5 @@ -T10072.hs:3:31: error: +T10072.hs:3:31: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘b’ Where: ‘b’ is a rigid type variable bound by the RULE "map/empty" diff --git a/testsuite/tests/typecheck/should_compile/T10504.stderr b/testsuite/tests/typecheck/should_compile/T10504.stderr index 9459623482..ed8b83514b 100644 --- a/testsuite/tests/typecheck/should_compile/T10504.stderr +++ b/testsuite/tests/typecheck/should_compile/T10504.stderr @@ -1,3 +1,3 @@ -T10504.hs:5:1: warning: +T10504.hs:5:1: warning: [GHC-35827] SPECIALISE pragma for non-overloaded function ‘myfun’ diff --git a/testsuite/tests/typecheck/should_compile/T10632.stderr b/testsuite/tests/typecheck/should_compile/T10632.stderr index 44a8fb7b6f..5054a17f75 100644 --- a/testsuite/tests/typecheck/should_compile/T10632.stderr +++ b/testsuite/tests/typecheck/should_compile/T10632.stderr @@ -1,5 +1,5 @@ -T10632.hs:4:6: warning: [-Wredundant-constraints] - • Redundant constraint: ?file1::String - • In the type signature for: - f :: (?file1::String) => IO () +T10632.hs:4:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: ?file1::String + In the type signature for: + f :: (?file1::String) => IO () diff --git a/testsuite/tests/typecheck/should_compile/T10935.stderr b/testsuite/tests/typecheck/should_compile/T10935.stderr index 8da5015910..1b787c8ce8 100644 --- a/testsuite/tests/typecheck/should_compile/T10935.stderr +++ b/testsuite/tests/typecheck/should_compile/T10935.stderr @@ -1,5 +1,5 @@ -T10935.hs:5:11: warning: [-Wmonomorphism-restriction] +T10935.hs:5:11: warning: [GHC-55524] [-Wmonomorphism-restriction] • The Monomorphism Restriction applies to the binding for ‘y’ • In the expression: let y = 1 + 1 in (y, y) In an equation for ‘f’: f x = let y = 1 + 1 in (y, y) diff --git a/testsuite/tests/typecheck/should_compile/T10971a.stderr b/testsuite/tests/typecheck/should_compile/T10971a.stderr index ff06f84bff..b159392c75 100644 --- a/testsuite/tests/typecheck/should_compile/T10971a.stderr +++ b/testsuite/tests/typecheck/should_compile/T10971a.stderr @@ -1,38 +1,38 @@ -T10971a.hs:7:1: warning: [-Wmissing-signatures (in -Wall)] +T10971a.hs:7:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: f :: [a] -> Int -T10971a.hs:7:11: warning: [-Wtype-defaults (in -Wall)] +T10971a.hs:7:11: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘t0’ to type ‘[]’ in the following constraint Foldable t0 arising from a use of ‘length’ • In the expression: length x In the expression: \ x -> length x In an equation for ‘f’: f = \ x -> length x -T10971a.hs:8:1: warning: [-Wmissing-signatures (in -Wall)] +T10971a.hs:8:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: g :: (a -> b) -> [a] -> [b] -T10971a.hs:8:6: warning: [-Wname-shadowing (in -Wall)] +T10971a.hs:8:6: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘f’ shadows the existing binding defined at T10971a.hs:7:1 -T10971a.hs:8:13: warning: [-Wtype-defaults (in -Wall)] +T10971a.hs:8:13: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘t0’ to type ‘[]’ in the following constraint Traversable t0 arising from a use of ‘fmapDefault’ • In the expression: fmapDefault f x In the expression: \ f x -> fmapDefault f x In an equation for ‘g’: g = \ f x -> fmapDefault f x -T10971a.hs:9:1: warning: [-Wmissing-signatures (in -Wall)] +T10971a.hs:9:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: h :: (a -> b) -> [a] -> ([b], Int) -T10971a.hs:9:6: warning: [-Wname-shadowing (in -Wall)] +T10971a.hs:9:6: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘f’ shadows the existing binding defined at T10971a.hs:7:1 -T10971a.hs:9:14: warning: [-Wtype-defaults (in -Wall)] +T10971a.hs:9:14: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘t0’ to type ‘[]’ in the following constraints (Traversable t0) arising from a use of ‘fmapDefault’ at T10971a.hs:9:14-24 diff --git a/testsuite/tests/typecheck/should_compile/T11254.stderr b/testsuite/tests/typecheck/should_compile/T11254.stderr index 10132d2cb8..ab7d2addd2 100644 --- a/testsuite/tests/typecheck/should_compile/T11254.stderr +++ b/testsuite/tests/typecheck/should_compile/T11254.stderr @@ -1,10 +1,10 @@ -T11254.hs:16:10: warning: [-Wdeferred-type-errors (in -Wdefault)] +T11254.hs:16:10: warning: [GHC-18872] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘Frac Int’ with ‘Int’ arising from the superclasses of an instance declaration • In the instance declaration for ‘ID Rational’ -T11254.hs:18:12: warning: [-Wdeferred-type-errors (in -Wdefault)] +T11254.hs:18:12: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘GHC.Real.Ratio Integer’ with ‘Int’ Expected: Rational -> Frac Rational Actual: Rational -> Rational diff --git a/testsuite/tests/typecheck/should_compile/T11339.stderr b/testsuite/tests/typecheck/should_compile/T11339.stderr index 88250ef9a7..992ec0a2d1 100644 --- a/testsuite/tests/typecheck/should_compile/T11339.stderr +++ b/testsuite/tests/typecheck/should_compile/T11339.stderr @@ -1,5 +1,5 @@ -T11339.hs:15:5: error: +T11339.hs:15:5: error: [GHC-16675] • Overloaded signature conflicts with monomorphism restriction t :: forall (f :: * -> *). Applicative f => (a -> f b) -> f t • In an equation for ‘failing’: diff --git a/testsuite/tests/typecheck/should_compile/T12104.stderr b/testsuite/tests/typecheck/should_compile/T12104.stderr index 784855158b..26901915d8 100644 --- a/testsuite/tests/typecheck/should_compile/T12104.stderr +++ b/testsuite/tests/typecheck/should_compile/T12104.stderr @@ -1,5 +1,5 @@ -T12104.hs:11:7: warning: [-Wdeferred-type-errors (in -Wdefault)] +T12104.hs:11:7: warning: [GHC-64725] [-Wdeferred-type-errors (in -Wdefault)] • error • In the expression: () In an equation for ‘err’: err = () diff --git a/testsuite/tests/typecheck/should_compile/T12170b.stderr b/testsuite/tests/typecheck/should_compile/T12170b.stderr index 4ff0f5278f..c431bb9255 100644 --- a/testsuite/tests/typecheck/should_compile/T12170b.stderr +++ b/testsuite/tests/typecheck/should_compile/T12170b.stderr @@ -1,3 +1,3 @@ -T12170b.hs:5:8: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T12170b.hs:5:8: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: smth :: IO () diff --git a/testsuite/tests/typecheck/should_compile/T12427a.stderr b/testsuite/tests/typecheck/should_compile/T12427a.stderr index af229a725d..b3d6df76be 100644 --- a/testsuite/tests/typecheck/should_compile/T12427a.stderr +++ b/testsuite/tests/typecheck/should_compile/T12427a.stderr @@ -1,5 +1,5 @@ -T12427a.hs:17:29: error: +T12427a.hs:17:29: error: [GHC-91028] • Couldn't match expected type ‘p’ with actual type ‘(forall b. [b] -> [b]) -> Int’ Cannot equate type variable ‘p’ @@ -13,7 +13,7 @@ T12427a.hs:17:29: error: • Relevant bindings include h11 :: T -> p (bound at T12427a.hs:17:1) -T12427a.hs:28:6: error: +T12427a.hs:28:6: error: [GHC-91028] • Couldn't match expected type ‘p’ with actual type ‘(forall b. [b] -> [b]) -> Int’ Cannot equate type variable ‘p’ @@ -24,7 +24,7 @@ T12427a.hs:28:6: error: • In the pattern: T1 _ x1 In a pattern binding: T1 _ x1 = undefined -T12427a.hs:41:6: error: +T12427a.hs:41:6: error: [GHC-25897] • Couldn't match type ‘b’ with ‘[b]’ Expected: (forall b. [b] -> [b]) -> Int Actual: (forall a. a -> a) -> Int diff --git a/testsuite/tests/typecheck/should_compile/T12734a.stderr b/testsuite/tests/typecheck/should_compile/T12734a.stderr index 4b4e41b8a4..b0446dc2aa 100644 --- a/testsuite/tests/typecheck/should_compile/T12734a.stderr +++ b/testsuite/tests/typecheck/should_compile/T12734a.stderr @@ -1,5 +1,5 @@ -T12734a.hs:72:16: error: +T12734a.hs:72:16: error: [GHC-39999] • No instance for ‘Monad (KT A '[Ty] IO)’ arising from a use of ‘test_gr’ • In the expression: diff --git a/testsuite/tests/typecheck/should_compile/T13050.stderr b/testsuite/tests/typecheck/should_compile/T13050.stderr index 92db8e2b63..53a4679779 100644 --- a/testsuite/tests/typecheck/should_compile/T13050.stderr +++ b/testsuite/tests/typecheck/should_compile/T13050.stderr @@ -1,5 +1,5 @@ -T13050.hs:4:9: warning: [-Wtyped-holes (in -Wdefault)] +T13050.hs:4:9: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int -> Int -> Int • In the expression: _ x y In an equation for ‘f’: f x y = _ x y @@ -84,7 +84,7 @@ T13050.hs:4:9: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T13050.hs:1:8-17 (and originally defined in ‘GHC.Base’)) -T13050.hs:5:11: warning: [-Wtyped-holes (in -Wdefault)] +T13050.hs:5:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int -> Int -> Int • In the expression: x `_` y In an equation for ‘g’: g x y = x `_` y @@ -169,7 +169,7 @@ T13050.hs:5:11: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T13050.hs:1:8-17 (and originally defined in ‘GHC.Base’)) -T13050.hs:6:11: warning: [-Wtyped-holes (in -Wdefault)] +T13050.hs:6:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: Int -> Int -> Int Or perhaps ‘_a’ is mis-spelled, or not in scope • In the expression: x `_a` y diff --git a/testsuite/tests/typecheck/should_compile/T13381.stderr b/testsuite/tests/typecheck/should_compile/T13381.stderr index 7f250eaec1..28e9b4d84e 100644 --- a/testsuite/tests/typecheck/should_compile/T13381.stderr +++ b/testsuite/tests/typecheck/should_compile/T13381.stderr @@ -1,5 +1,5 @@ -T13381.hs:21:23: error: +T13381.hs:21:23: error: [GHC-83865] • Couldn't match type ‘Exp Int’ with ‘Int’ Expected: Int -> Iter Int (Exp Char) Actual: Int -> Iter (Exp Int) (Exp Char) diff --git a/testsuite/tests/typecheck/should_compile/T13594.stderr b/testsuite/tests/typecheck/should_compile/T13594.stderr index 57810cc1e6..58b347222b 100644 --- a/testsuite/tests/typecheck/should_compile/T13594.stderr +++ b/testsuite/tests/typecheck/should_compile/T13594.stderr @@ -1,3 +1,3 @@ -T13594.hs:8:1: error: +T13594.hs:8:1: error: [GHC-48099] Top-level strict bindings aren't allowed: !x = (1, 2) diff --git a/testsuite/tests/typecheck/should_compile/T13651.stderr b/testsuite/tests/typecheck/should_compile/T13651.stderr index d97e3bce49..235d579739 100644 --- a/testsuite/tests/typecheck/should_compile/T13651.stderr +++ b/testsuite/tests/typecheck/should_compile/T13651.stderr @@ -1,5 +1,5 @@ -T13651.hs:12:8: error: +T13651.hs:12:8: error: [GHC-25897] • Could not deduce ‘cs ~ Bar (Foo h) (Foo s)’ from the context: (F cr cu ~ Bar h (Bar r u), F cu cs ~ Bar (Foo h) (Bar u s)) diff --git a/testsuite/tests/typecheck/should_compile/T13785.stderr b/testsuite/tests/typecheck/should_compile/T13785.stderr index d831d895ce..07797df12a 100644 --- a/testsuite/tests/typecheck/should_compile/T13785.stderr +++ b/testsuite/tests/typecheck/should_compile/T13785.stderr @@ -1,5 +1,5 @@ -T13785.hs:16:5: warning: [-Wmonomorphism-restriction] +T13785.hs:16:5: warning: [GHC-55524] [-Wmonomorphism-restriction] • The Monomorphism Restriction applies to the bindings for ‘bar2’, ‘baz2’ • In an equation for ‘foo’: diff --git a/testsuite/tests/typecheck/should_compile/T14149.stderr b/testsuite/tests/typecheck/should_compile/T14149.stderr index b1a8d3720c..bd3003e0bc 100644 --- a/testsuite/tests/typecheck/should_compile/T14149.stderr +++ b/testsuite/tests/typecheck/should_compile/T14149.stderr @@ -1,5 +1,5 @@ -T14149.hs:8:5: error: +T14149.hs:8:5: error: [GHC-18872] • Couldn't match representation of type ‘Int’ with that of ‘Bool’ arising from a use of ‘coerce’ • In the expression: coerce (k :: Int) diff --git a/testsuite/tests/typecheck/should_compile/T14273.stderr b/testsuite/tests/typecheck/should_compile/T14273.stderr index 07cbffe650..050bb5fd2e 100644 --- a/testsuite/tests/typecheck/should_compile/T14273.stderr +++ b/testsuite/tests/typecheck/should_compile/T14273.stderr @@ -1,5 +1,5 @@ -T14273.hs:7:27: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14273.hs:7:27: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Could not deduce ‘Show a1’ arising from a use of ‘show’ from the context: Show a bound by the type signature for: @@ -17,7 +17,7 @@ T14273.hs:7:27: warning: [-Wdeferred-type-errors (in -Wdefault)] In the expression: Just (show _a) In an equation for ‘pleaseShow’: pleaseShow True a = Just (show _a) -T14273.hs:7:32: warning: [-Wtyped-holes (in -Wdefault)] +T14273.hs:7:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: a1 Where: ‘a1’ is an ambiguous type variable Or perhaps ‘_a’ is mis-spelled, or not in scope @@ -55,7 +55,7 @@ T14273.hs:7:32: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T14273.hs:1:8-40 (and originally defined in ‘GHC.Float’)) -T14273.hs:13:10: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14273.hs:13:10: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Ambiguous type variable ‘a0’ arising from a use of ‘show’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -69,7 +69,7 @@ T14273.hs:13:10: warning: [-Wdeferred-type-errors (in -Wdefault)] • In the expression: show (_h ++ []) In an equation for ‘foo’: foo xs = show (_h ++ []) -T14273.hs:13:16: warning: [-Wtyped-holes (in -Wdefault)] +T14273.hs:13:16: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _h :: [a0] Where: ‘a0’ is an ambiguous type variable Or perhaps ‘_h’ is mis-spelled, or not in scope diff --git a/testsuite/tests/typecheck/should_compile/T14590.stderr b/testsuite/tests/typecheck/should_compile/T14590.stderr index 19a4d72148..827ead2a25 100644 --- a/testsuite/tests/typecheck/should_compile/T14590.stderr +++ b/testsuite/tests/typecheck/should_compile/T14590.stderr @@ -1,5 +1,5 @@ -T14590.hs:4:11: warning: [-Wtyped-holes (in -Wdefault)] +T14590.hs:4:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int -> Int -> Int • In the expression: x `_` In the expression: (x `_`) y @@ -86,7 +86,7 @@ T14590.hs:4:11: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T14590.hs:1:8-13 (and originally defined in ‘GHC.Base’)) -T14590.hs:5:11: warning: [-Wtyped-holes (in -Wdefault)] +T14590.hs:5:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: Int -> Int -> Int Or perhaps ‘_a’ is mis-spelled, or not in scope • In the expression: x `_a` @@ -174,7 +174,7 @@ T14590.hs:5:11: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T14590.hs:1:8-13 (and originally defined in ‘GHC.Base’)) -T14590.hs:6:11: warning: [-Wtyped-holes (in -Wdefault)] +T14590.hs:6:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int -> Int -> Int • In the expression: (`_` x) y In an equation for ‘f3’: f3 x y = (`_` x) y @@ -260,7 +260,7 @@ T14590.hs:6:11: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T14590.hs:1:8-13 (and originally defined in ‘GHC.Base’)) -T14590.hs:7:11: warning: [-Wtyped-holes (in -Wdefault)] +T14590.hs:7:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: Int -> Int -> Int Or perhaps ‘_a’ is mis-spelled, or not in scope • In the expression: (`_a` x) y diff --git a/testsuite/tests/typecheck/should_compile/T15368.stderr b/testsuite/tests/typecheck/should_compile/T15368.stderr index 5760692c75..3142978028 100644 --- a/testsuite/tests/typecheck/should_compile/T15368.stderr +++ b/testsuite/tests/typecheck/should_compile/T15368.stderr @@ -1,5 +1,5 @@ -T15368.hs:11:15: warning: [-Wtyped-holes (in -Wdefault)] +T15368.hs:11:15: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: (F a b, F a0 b0) Where: ‘a0’ is an ambiguous type variable ‘b0’ is an ambiguous type variable @@ -14,13 +14,13 @@ T15368.hs:11:15: warning: [-Wtyped-holes (in -Wdefault)] • Relevant bindings include trigger :: a -> b -> (F a b, F b a) (bound at T15368.hs:11:1) -T15368.hs:11:30: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15368.hs:11:30: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type: F b0 a0 with: F b a Expected: (F a0 b0, F b a) Actual: (F a0 b0, F b0 a0) - NB: ‘F’ is a non-injective type family - The type variables ‘b0’, ‘a0’ are ambiguous + NB: ‘F’ is a non-injective type family + The type variables ‘b0’, ‘a0’ are ambiguous • In the second argument of ‘transitive’, namely ‘trigger _ _’ In the expression: _ `transitive` trigger _ _ In an equation for ‘trigger’: @@ -28,7 +28,7 @@ T15368.hs:11:30: warning: [-Wdeferred-type-errors (in -Wdefault)] • Relevant bindings include trigger :: a -> b -> (F a b, F b a) (bound at T15368.hs:11:1) -T15368.hs:11:38: warning: [-Wtyped-holes (in -Wdefault)] +T15368.hs:11:38: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a0 Where: ‘a0’ is an ambiguous type variable • In the first argument of ‘trigger’, namely ‘_’ @@ -37,7 +37,7 @@ T15368.hs:11:38: warning: [-Wtyped-holes (in -Wdefault)] • Relevant bindings include trigger :: a -> b -> (F a b, F b a) (bound at T15368.hs:11:1) -T15368.hs:11:40: warning: [-Wtyped-holes (in -Wdefault)] +T15368.hs:11:40: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: b0 Where: ‘b0’ is an ambiguous type variable • In the second argument of ‘trigger’, namely ‘_’ diff --git a/testsuite/tests/typecheck/should_compile/T15370.stderr b/testsuite/tests/typecheck/should_compile/T15370.stderr index 798cfc9f8a..f5edd68d94 100644 --- a/testsuite/tests/typecheck/should_compile/T15370.stderr +++ b/testsuite/tests/typecheck/should_compile/T15370.stderr @@ -1,5 +1,5 @@ -T15370.hs:14:10: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15370.hs:14:10: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘n’ with ‘j’ Expected: n :~: j Actual: n :~: n @@ -16,7 +16,7 @@ T15370.hs:14:10: warning: [-Wdeferred-type-errors (in -Wdefault)] • Relevant bindings include mkRefl :: n :~: j (bound at T15370.hs:14:1) -T15370.hs:20:13: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15370.hs:20:13: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘S r’ with ‘()’ Expected: () Actual: S r @@ -27,7 +27,7 @@ T15370.hs:20:13: warning: [-Wdeferred-type-errors (in -Wdefault)] no :: S r (bound at T15370.hs:18:7) right :: S r -> () (bound at T15370.hs:18:1) -T15370.hs:20:18: warning: [-Wtyped-holes (in -Wdefault)] +T15370.hs:20:18: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: () • In the second argument of ‘(+)’, namely ‘_’ In the expression: no + _ diff --git a/testsuite/tests/typecheck/should_compile/T15839a.stderr b/testsuite/tests/typecheck/should_compile/T15839a.stderr index 75d46f4889..b9330044f5 100644 --- a/testsuite/tests/typecheck/should_compile/T15839a.stderr +++ b/testsuite/tests/typecheck/should_compile/T15839a.stderr @@ -1,7 +1,8 @@ -T15839a.hs:6:30: warning: [-Wderiving-defaults (in -Wdefault)] +T15839a.hs:6:30: warning: [GHC-20042] [-Wderiving-defaults (in -Wdefault)] • Both DeriveAnyClass and GeneralizedNewtypeDeriving are enabled Defaulting to the DeriveAnyClass strategy for instantiating C • In the newtype declaration for ‘T’ Suggested fix: - Use DerivingStrategies to pick a different strategy + Use DerivingStrategies + to pick a different strategy diff --git a/testsuite/tests/typecheck/should_compile/T17024.stderr b/testsuite/tests/typecheck/should_compile/T17024.stderr index c3d18ffd87..f7d1672553 100644 --- a/testsuite/tests/typecheck/should_compile/T17024.stderr +++ b/testsuite/tests/typecheck/should_compile/T17024.stderr @@ -1,5 +1,5 @@ -T17024.hs:18:42: warning: [-Wpartial-type-signatures (in -Wdefault)] +T17024.hs:18:42: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘c’ Where: ‘c’ is a rigid type variable bound by the inferred type of foo :: (a -> b -> c) -> HList '[a, b] -> c diff --git a/testsuite/tests/typecheck/should_compile/T17775-viewpats-b.stderr b/testsuite/tests/typecheck/should_compile/T17775-viewpats-b.stderr index c8cf911e3a..2bbdcdead5 100644 --- a/testsuite/tests/typecheck/should_compile/T17775-viewpats-b.stderr +++ b/testsuite/tests/typecheck/should_compile/T17775-viewpats-b.stderr @@ -1,5 +1,5 @@ -T17775-viewpats-b.hs:7:9: error: +T17775-viewpats-b.hs:7:9: error: [GHC-39999] • No instance for ‘Eq a’ arising from a use of ‘==’ Possible fix: add (Eq a) to the context of diff --git a/testsuite/tests/typecheck/should_compile/T17775-viewpats-c.stderr b/testsuite/tests/typecheck/should_compile/T17775-viewpats-c.stderr index a0456c5a70..72252092e9 100644 --- a/testsuite/tests/typecheck/should_compile/T17775-viewpats-c.stderr +++ b/testsuite/tests/typecheck/should_compile/T17775-viewpats-c.stderr @@ -1,5 +1,5 @@ -T17775-viewpats-c.hs:8:28: error: +T17775-viewpats-c.hs:8:28: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Eq a => Bool’ Expected: Int -> Eq a => Bool Actual: Int -> Bool diff --git a/testsuite/tests/typecheck/should_compile/T17775-viewpats-d.stderr b/testsuite/tests/typecheck/should_compile/T17775-viewpats-d.stderr index e270cecc25..4ff33ba30c 100644 --- a/testsuite/tests/typecheck/should_compile/T17775-viewpats-d.stderr +++ b/testsuite/tests/typecheck/should_compile/T17775-viewpats-d.stderr @@ -1,5 +1,5 @@ -T17775-viewpats-d.hs:7:11: error: +T17775-viewpats-d.hs:7:11: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Eq a => Bool’ Expected: Int -> Eq a => Bool Actual: Int -> Bool diff --git a/testsuite/tests/typecheck/should_compile/T17792.stderr b/testsuite/tests/typecheck/should_compile/T17792.stderr index 2c499f91b9..0dedb6e40b 100644 --- a/testsuite/tests/typecheck/should_compile/T17792.stderr +++ b/testsuite/tests/typecheck/should_compile/T17792.stderr @@ -1,3 +1,3 @@ -T17792.hs:10:7: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T17792.hs:10:7: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: notInScope :: Bool diff --git a/testsuite/tests/typecheck/should_compile/T17812.stderr b/testsuite/tests/typecheck/should_compile/T17812.stderr index 83e812e589..1630f5619e 100644 --- a/testsuite/tests/typecheck/should_compile/T17812.stderr +++ b/testsuite/tests/typecheck/should_compile/T17812.stderr @@ -1,3 +1,3 @@ -T17812.hs:8:9: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T17812.hs:8:9: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: outOfScope diff --git a/testsuite/tests/typecheck/should_compile/T18036a.stderr b/testsuite/tests/typecheck/should_compile/T18036a.stderr index b379bd95a5..5cea726a87 100644 --- a/testsuite/tests/typecheck/should_compile/T18036a.stderr +++ b/testsuite/tests/typecheck/should_compile/T18036a.stderr @@ -1,6 +1,6 @@ -T18036a.hs:14:13: warning: [-Wredundant-constraints] +T18036a.hs:14:13: warning: [GHC-30606] [-Wredundant-constraints] • Redundant constraint: Monoid a - • In the type signature for: + In the type signature for: fold :: forall a. Monoid a => Identity a -> a - In the instance declaration for ‘Fold Identity’ + • In the instance declaration for ‘Fold Identity’ diff --git a/testsuite/tests/typecheck/should_compile/T18467.stderr b/testsuite/tests/typecheck/should_compile/T18467.stderr index 7ebf51de6f..cd1d38801f 100644 --- a/testsuite/tests/typecheck/should_compile/T18467.stderr +++ b/testsuite/tests/typecheck/should_compile/T18467.stderr @@ -1,10 +1,10 @@ -T18467.hs:9:7: warning: [-Wdeferred-type-errors (in -Wdefault)] +T18467.hs:9:7: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Int’ with actual type ‘Float’ • In the expression: x :: Int In an equation for ‘g’: g z = x :: Int -T18467.hs:12:29: warning: [-Wdeferred-type-errors (in -Wdefault)] +T18467.hs:12:29: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘[a1]’ with actual type ‘a1’ ‘a1’ is a rigid type variable bound by the inferred type of t :: a1 -> (a, [a1]) diff --git a/testsuite/tests/typecheck/should_compile/T20187a.stderr b/testsuite/tests/typecheck/should_compile/T20187a.stderr index 7fcde05809..88085f53ac 100644 --- a/testsuite/tests/typecheck/should_compile/T20187a.stderr +++ b/testsuite/tests/typecheck/should_compile/T20187a.stderr @@ -1,5 +1,5 @@ -T20187a.hs:7:10: warning: [-Wredundant-strictness-flags] +T20187a.hs:7:10: warning: [GHC-55666] [-Wredundant-strictness-flags] • Strictness flag has no effect on unlifted type ‘Int#’ • In the definition of data constructor ‘T’ In the data type declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_compile/T20187b.stderr b/testsuite/tests/typecheck/should_compile/T20187b.stderr index 2f0d5c601b..c42101c337 100644 --- a/testsuite/tests/typecheck/should_compile/T20187b.stderr +++ b/testsuite/tests/typecheck/should_compile/T20187b.stderr @@ -1,5 +1,5 @@ -T20187b.hs:11:10: warning: [-Wredundant-strictness-flags] +T20187b.hs:11:10: warning: [GHC-55666] [-Wredundant-strictness-flags] • Strictness flag has no effect on unlifted type ‘IntU’ • In the definition of data constructor ‘T’ In the data type declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_compile/T20602.stderr b/testsuite/tests/typecheck/should_compile/T20602.stderr index 5dacc5be5a..c3c02c154a 100644 --- a/testsuite/tests/typecheck/should_compile/T20602.stderr +++ b/testsuite/tests/typecheck/should_compile/T20602.stderr @@ -1,40 +1,40 @@ -T20602.hs:7:6: warning: [-Wredundant-constraints] - • Redundant constraint: Ord a - • In the type signature for: - f :: forall a. (Eq a, Ord a) => a -> Bool - -T20602.hs:10:6: warning: [-Wredundant-constraints] - • Redundant constraint: Eq a - • In the type signature for: - g :: forall a. (Eq a, Ord a) => a -> Bool - -T20602.hs:13:6: warning: [-Wredundant-constraints] - • Redundant constraint: Eq a - • In the type signature for: - h :: forall a. (Eq a, Ord a) => a -> Bool - -T20602.hs:16:6: warning: [-Wredundant-constraints] - • Redundant constraint: Eq b - • In the type signature for: - j :: forall a b. (Eq a, a ~ b, Eq b) => a -> Bool - -T20602.hs:19:6: warning: [-Wredundant-constraints] - • Redundant constraints: (Eq a, a ~ b, Eq b) - • In the type signature for: - k :: forall a b. (Eq a, a ~ b, Eq b) => a -> Bool - -T20602.hs:22:6: warning: [-Wredundant-constraints] - • Redundant constraints: (Eq a, Ord a) - • In the type signature for: - l :: forall a. (Eq a, Ord a) => a -> Bool - -T20602.hs:25:6: warning: [-Wredundant-constraints] - • Redundant constraint: a ~ b - • In the type signature for: - m :: forall a b. (a ~ b) => a -> a - -T20602.hs:28:6: warning: [-Wredundant-constraints] - • Redundant constraint: b ~ a - • In the type signature for: - n :: forall a b. (Eq a, b ~ a) => a -> Bool +T20602.hs:7:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Ord a + In the type signature for: + f :: forall a. (Eq a, Ord a) => a -> Bool + +T20602.hs:10:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Eq a + In the type signature for: + g :: forall a. (Eq a, Ord a) => a -> Bool + +T20602.hs:13:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Eq a + In the type signature for: + h :: forall a. (Eq a, Ord a) => a -> Bool + +T20602.hs:16:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Eq b + In the type signature for: + j :: forall a b. (Eq a, a ~ b, Eq b) => a -> Bool + +T20602.hs:19:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraints: (Eq a, a ~ b, Eq b) + In the type signature for: + k :: forall a b. (Eq a, a ~ b, Eq b) => a -> Bool + +T20602.hs:22:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraints: (Eq a, Ord a) + In the type signature for: + l :: forall a. (Eq a, Ord a) => a -> Bool + +T20602.hs:25:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: a ~ b + In the type signature for: + m :: forall a b. (a ~ b) => a -> a + +T20602.hs:28:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: b ~ a + In the type signature for: + n :: forall a b. (Eq a, b ~ a) => a -> Bool diff --git a/testsuite/tests/typecheck/should_compile/T21315.stderr b/testsuite/tests/typecheck/should_compile/T21315.stderr index ad718569ec..3a85c44d9f 100644 --- a/testsuite/tests/typecheck/should_compile/T21315.stderr +++ b/testsuite/tests/typecheck/should_compile/T21315.stderr @@ -1,4 +1,4 @@ -T21315.hs:6:10: warning: [-Wredundant-constraints] +T21315.hs:6:10: warning: [GHC-30606] [-Wredundant-constraints] • Redundant constraint: Eq a • In the instance declaration for ‘C (T a)’ diff --git a/testsuite/tests/typecheck/should_compile/T21951a.stderr b/testsuite/tests/typecheck/should_compile/T21951a.stderr index d6afb5465e..d10a8932ce 100644 --- a/testsuite/tests/typecheck/should_compile/T21951a.stderr +++ b/testsuite/tests/typecheck/should_compile/T21951a.stderr @@ -1,4 +1,5 @@ -T21951a.hs:10:11: warning: [-Wredundant-strictness-flags] - Lazy flag has no effect on unlifted type ‘Array# Int’ - In the definition of data constructor ‘UA’ + +T21951a.hs:10:11: warning: [GHC-71444] [-Wredundant-strictness-flags] + • Lazy flag has no effect on unlifted type ‘Array# Int’ + • In the definition of data constructor ‘UA’ In the data type declaration for ‘UA’ diff --git a/testsuite/tests/typecheck/should_compile/T21951b.stderr b/testsuite/tests/typecheck/should_compile/T21951b.stderr index f26dbe8ce2..fa82c97823 100644 --- a/testsuite/tests/typecheck/should_compile/T21951b.stderr +++ b/testsuite/tests/typecheck/should_compile/T21951b.stderr @@ -1,4 +1,5 @@ -T21951b.hs:13:10: warning: [-Wredundant-strictness-flags] - Lazy flag has no effect on unlifted type ‘U’ - In the definition of data constructor ‘T’ + +T21951b.hs:13:10: warning: [GHC-71444] [-Wredundant-strictness-flags] + • Lazy flag has no effect on unlifted type ‘U’ + • In the definition of data constructor ‘T’ In the data type declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_compile/T2494.stderr b/testsuite/tests/typecheck/should_compile/T2494.stderr index d7c96aeeaa..931cd5874f 100644 --- a/testsuite/tests/typecheck/should_compile/T2494.stderr +++ b/testsuite/tests/typecheck/should_compile/T2494.stderr @@ -1,5 +1,5 @@ -T2494.hs:15:14: error: +T2494.hs:15:14: error: [GHC-25897] • Couldn't match type ‘b’ with ‘a’ Expected: Maybe (m a) -> Maybe (m a) Actual: Maybe (m b) -> Maybe (m b) @@ -19,7 +19,7 @@ T2494.hs:15:14: error: (bound at T2494.hs:14:11) x :: Maybe a (bound at T2494.hs:14:65) -T2494.hs:15:30: error: +T2494.hs:15:30: error: [GHC-25897] • Couldn't match type ‘b’ with ‘a’ Expected: Maybe (m a) -> Maybe (m a) Actual: Maybe (m b) -> Maybe (m b) diff --git a/testsuite/tests/typecheck/should_compile/T3696.stderr b/testsuite/tests/typecheck/should_compile/T3696.stderr index 6058e70d50..25abdd58b1 100644 --- a/testsuite/tests/typecheck/should_compile/T3696.stderr +++ b/testsuite/tests/typecheck/should_compile/T3696.stderr @@ -1,3 +1,3 @@ -T3696.hs:9:1: warning: [-Wmissing-signatures (in -Wall)] +T3696.hs:9:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: def :: Int diff --git a/testsuite/tests/typecheck/should_compile/T4912.stderr b/testsuite/tests/typecheck/should_compile/T4912.stderr index 891ca527d8..243d3ff2e6 100644 --- a/testsuite/tests/typecheck/should_compile/T4912.stderr +++ b/testsuite/tests/typecheck/should_compile/T4912.stderr @@ -1,12 +1,12 @@ -T4912.hs:10:1: warning: [-Worphans (in -Wall)] +T4912.hs:10:1: warning: [GHC-90177] [-Worphans (in -Wall)] Orphan instance: instance Foo TheirData Suggested fix: - Move the instance declaration to the module of the class or of the type, or - wrap the type with a newtype and declare the instance on the new type. + Move the instance declaration to the module of the class or of the type, or + wrap the type with a newtype and declare the instance on the new type. -T4912.hs:13:1: warning: [-Worphans (in -Wall)] +T4912.hs:13:1: warning: [GHC-90177] [-Worphans (in -Wall)] Orphan instance: instance Bar OurData Suggested fix: - Move the instance declaration to the module of the class or of the type, or - wrap the type with a newtype and declare the instance on the new type. + Move the instance declaration to the module of the class or of the type, or + wrap the type with a newtype and declare the instance on the new type. diff --git a/testsuite/tests/typecheck/should_compile/T5481.stderr b/testsuite/tests/typecheck/should_compile/T5481.stderr index 719c4ce5c7..01b65a9e79 100644 --- a/testsuite/tests/typecheck/should_compile/T5481.stderr +++ b/testsuite/tests/typecheck/should_compile/T5481.stderr @@ -1,4 +1,4 @@ -T5481.hs:6:16: Not in scope: type variable ‘b’ +T5481.hs:6:16: error: [GHC-76037] Not in scope: type variable ‘b’ -T5481.hs:8:16: Not in scope: type variable ‘a’ +T5481.hs:8:16: error: [GHC-76037] Not in scope: type variable ‘a’ diff --git a/testsuite/tests/typecheck/should_compile/T5490.stderr b/testsuite/tests/typecheck/should_compile/T5490.stderr index bd54d9df94..12d5685495 100644 --- a/testsuite/tests/typecheck/should_compile/T5490.stderr +++ b/testsuite/tests/typecheck/should_compile/T5490.stderr @@ -1,4 +1,4 @@ -T5490.hs:296:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T5490.hs:296:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: _ -> ... diff --git a/testsuite/tests/typecheck/should_compile/T9497a.stderr b/testsuite/tests/typecheck/should_compile/T9497a.stderr index 114a7046ca..adb6f4cc56 100644 --- a/testsuite/tests/typecheck/should_compile/T9497a.stderr +++ b/testsuite/tests/typecheck/should_compile/T9497a.stderr @@ -1,5 +1,5 @@ -T9497a.hs:2:8: warning: [-Wtyped-holes (in -Wdefault)] +T9497a.hs:2:8: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _main :: IO () Or perhaps ‘_main’ is mis-spelled, or not in scope • In an equation for ‘main’: main = _main diff --git a/testsuite/tests/typecheck/should_compile/T9569a.stderr b/testsuite/tests/typecheck/should_compile/T9569a.stderr index 57d44a0f2a..13f99c50e7 100644 --- a/testsuite/tests/typecheck/should_compile/T9569a.stderr +++ b/testsuite/tests/typecheck/should_compile/T9569a.stderr @@ -1,5 +1,5 @@ -T9569a.hs:10:6: error: +T9569a.hs:10:6: error: [GHC-83865] • Couldn't match type: Int -> Int with: forall a. a -> a Expected: (forall a. a -> a) -> Int diff --git a/testsuite/tests/typecheck/should_compile/T9834.stderr b/testsuite/tests/typecheck/should_compile/T9834.stderr index 6ad8956ecc..a73dfff4f1 100644 --- a/testsuite/tests/typecheck/should_compile/T9834.stderr +++ b/testsuite/tests/typecheck/should_compile/T9834.stderr @@ -1,5 +1,5 @@ -T9834.hs:23:12: warning: [-Wdeferred-type-errors (in -Wdefault)] +T9834.hs:23:12: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘a’ with ‘p a0’ Expected: p a Actual: p a0 -> p a0 @@ -22,7 +22,7 @@ T9834.hs:23:12: warning: [-Wdeferred-type-errors (in -Wdefault)] -> p a (bound at T9834.hs:23:3) -T9834.hs:23:23: warning: [-Wdeferred-type-errors (in -Wdefault)] +T9834.hs:23:23: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘a1’ with ‘a’ Expected: Comp p q a1 -> Comp p q a1 Actual: Comp p q a -> Comp p q a diff --git a/testsuite/tests/typecheck/should_compile/T9939.stderr b/testsuite/tests/typecheck/should_compile/T9939.stderr index 4d1af91a6c..7318283e54 100644 --- a/testsuite/tests/typecheck/should_compile/T9939.stderr +++ b/testsuite/tests/typecheck/should_compile/T9939.stderr @@ -1,20 +1,20 @@ -T9939.hs:6:7: warning: [-Wredundant-constraints] +T9939.hs:6:7: warning: [GHC-30606] [-Wredundant-constraints] Redundant constraint: Eq a In the type signature for: f1 :: forall a. (Eq a, Ord a) => a -> a -> Bool -T9939.hs:10:7: warning: [-Wredundant-constraints] +T9939.hs:10:7: warning: [GHC-30606] [-Wredundant-constraints] Redundant constraint: Ord a In the type signature for: f2 :: forall a. (Eq a, Ord a) => a -> a -> Bool -T9939.hs:14:7: warning: [-Wredundant-constraints] +T9939.hs:14:7: warning: [GHC-30606] [-Wredundant-constraints] Redundant constraint: Eq b In the type signature for: f3 :: forall a b. (Eq a, a ~ b, Eq b) => a -> b -> Bool -T9939.hs:21:7: warning: [-Wredundant-constraints] +T9939.hs:21:7: warning: [GHC-30606] [-Wredundant-constraints] Redundant constraint: Eq b In the type signature for: f4 :: forall a b. (Eq a, Eq b) => a -> b -> Equal a b -> Bool diff --git a/testsuite/tests/typecheck/should_compile/TypeRepCon.stderr b/testsuite/tests/typecheck/should_compile/TypeRepCon.stderr index 4bd41fcf3a..6a4b48a56e 100644 --- a/testsuite/tests/typecheck/should_compile/TypeRepCon.stderr +++ b/testsuite/tests/typecheck/should_compile/TypeRepCon.stderr @@ -1,4 +1,4 @@ -TypeRepCon.hs:12:1: warning: [-Woverlapping-patterns (in -Wdefault)] +TypeRepCon.hs:12:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side - In an equation for ‘isApp’: isApp (Con _) = ...
\ No newline at end of file + In an equation for ‘isApp’: isApp (Con _) = ... diff --git a/testsuite/tests/typecheck/should_compile/Vta2.stderr b/testsuite/tests/typecheck/should_compile/Vta2.stderr index 0598cc0226..6cdacb5bee 100644 --- a/testsuite/tests/typecheck/should_compile/Vta2.stderr +++ b/testsuite/tests/typecheck/should_compile/Vta2.stderr @@ -1,4 +1,4 @@ -Vta2.hs:14:17: warning: [-Woverlapping-patterns (in -Wdefault)] +Vta2.hs:14:17: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: False -> ... diff --git a/testsuite/tests/typecheck/should_compile/abstract_refinement_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/abstract_refinement_hole_fits.stderr index c5030e1fba..d34792964a 100644 --- a/testsuite/tests/typecheck/should_compile/abstract_refinement_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/abstract_refinement_hole_fits.stderr @@ -1,5 +1,5 @@ -abstract_refinement_hole_fits.hs:4:5: warning: [-Wtyped-holes (in -Wdefault)] +abstract_refinement_hole_fits.hs:4:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [Integer] -> Integer • In an equation for ‘f’: f = _ • Relevant bindings include @@ -124,7 +124,7 @@ abstract_refinement_hole_fits.hs:4:5: warning: [-Wtyped-holes (in -Wdefault)] ($!) (_ :: t0 -> [Integer] -> Integer) (_ :: t0) where ($!) :: forall a b. (a -> b) -> a -> b -abstract_refinement_hole_fits.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] +abstract_refinement_hole_fits.hs:7:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Integer -> [Integer] -> Integer • In the expression: _ 0 In an equation for ‘g’: g = _ 0 diff --git a/testsuite/tests/typecheck/should_compile/constraint_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/constraint_hole_fits.stderr index 5696a16781..65e213a21b 100644 --- a/testsuite/tests/typecheck/should_compile/constraint_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/constraint_hole_fits.stderr @@ -1,5 +1,5 @@ -constraint_hole_fits.hs:4:5: warning: [-Wtyped-holes (in -Wdefault)] +constraint_hole_fits.hs:4:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [a] -> a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_compile/free_monad_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/free_monad_hole_fits.stderr index eee461b708..4edd6e88cf 100644 --- a/testsuite/tests/typecheck/should_compile/free_monad_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/free_monad_hole_fits.stderr @@ -1,5 +1,5 @@ -free_monad_hole_fits.hs:14:28: warning: [-Wtyped-holes (in -Wdefault)] +free_monad_hole_fits.hs:14:28: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: (Free f a -> Free f b) -> f (Free f a) -> f (Free f b) Where: ‘a’, ‘b’ are rigid type variables bound by @@ -34,7 +34,7 @@ free_monad_hole_fits.hs:14:28: warning: [-Wtyped-holes (in -Wdefault)] pure (_ :: f (Free f a) -> f (Free f b)) where pure :: forall (f :: * -> *) a. Applicative f => a -> f a -free_monad_hole_fits.hs:25:31: warning: [-Wtyped-holes (in -Wdefault)] +free_monad_hole_fits.hs:25:31: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: Free f a -> Free f b Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_compile/hole_constraints.stderr b/testsuite/tests/typecheck/should_compile/hole_constraints.stderr index 28f3ad92ba..c707f228a3 100644 --- a/testsuite/tests/typecheck/should_compile/hole_constraints.stderr +++ b/testsuite/tests/typecheck/should_compile/hole_constraints.stderr @@ -1,5 +1,5 @@ -hole_constraints.hs:8:6: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints.hs:8:6: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -11,7 +11,7 @@ hole_constraints.hs:8:6: warning: [-Wtyped-holes (in -Wdefault)] Constraints include Eq a (from hole_constraints.hs:7:1-15) Valid hole fits include f1 :: a -hole_constraints.hs:12:6: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints.hs:12:6: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -27,7 +27,7 @@ hole_constraints.hs:12:6: warning: [-Wtyped-holes (in -Wdefault)] f2 :: a f1 :: forall a. Eq a => a -hole_constraints.hs:16:35: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints.hs:16:35: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [a] Where: ‘a’ is a rigid type variable bound by the instance declaration @@ -43,7 +43,7 @@ hole_constraints.hs:16:35: warning: [-Wtyped-holes (in -Wdefault)] [] :: forall a. [a] mempty :: forall a. Monoid a => a -hole_constraints.hs:20:19: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints.hs:20:19: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -56,7 +56,7 @@ hole_constraints.hs:20:19: warning: [-Wtyped-holes (in -Wdefault)] Constraints include b ~ a (from hole_constraints.hs:20:10-13) Valid hole fits include x :: a -hole_constraints.hs:27:32: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints.hs:27:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: String • In a case alternative: AnyShow x -> _ In the expression: case a of AnyShow x -> _ diff --git a/testsuite/tests/typecheck/should_compile/hole_constraints_nested.stderr b/testsuite/tests/typecheck/should_compile/hole_constraints_nested.stderr index 9667fc3a89..76fd014452 100644 --- a/testsuite/tests/typecheck/should_compile/hole_constraints_nested.stderr +++ b/testsuite/tests/typecheck/should_compile/hole_constraints_nested.stderr @@ -1,5 +1,5 @@ -hole_constraints_nested.hs:12:16: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints_nested.hs:12:16: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In a case alternative: EqOrd -> _ In the expression: case d2 of EqOrd -> _ diff --git a/testsuite/tests/typecheck/should_compile/holes.stderr b/testsuite/tests/typecheck/should_compile/holes.stderr index dd5c497db2..8416f0a4fc 100644 --- a/testsuite/tests/typecheck/should_compile/holes.stderr +++ b/testsuite/tests/typecheck/should_compile/holes.stderr @@ -1,5 +1,5 @@ -holes.hs:3:5: warning: [-Wtyped-holes (in -Wdefault)] +holes.hs:3:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: p Where: ‘p’ is a rigid type variable bound by the inferred type of f :: p @@ -8,7 +8,7 @@ holes.hs:3:5: warning: [-Wtyped-holes (in -Wdefault)] • Relevant bindings include f :: p (bound at holes.hs:3:1) Valid hole fits include f :: forall {p}. p -holes.hs:6:7: warning: [-Wtyped-holes (in -Wdefault)] +holes.hs:6:7: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Char • In an equation for ‘g’: g x = _ • Relevant bindings include @@ -19,7 +19,7 @@ holes.hs:6:7: warning: [-Wtyped-holes (in -Wdefault)] maxBound :: forall a. Bounded a => a minBound :: forall a. Bounded a => a -holes.hs:8:5: warning: [-Wtyped-holes (in -Wdefault)] +holes.hs:8:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [Char] • In the first argument of ‘(++)’, namely ‘_’ In the expression: _ ++ "a" @@ -31,7 +31,7 @@ holes.hs:8:5: warning: [-Wtyped-holes (in -Wdefault)] [] :: forall a. [a] mempty :: forall a. Monoid a => a -holes.hs:11:15: warning: [-Wtyped-holes (in -Wdefault)] +holes.hs:11:15: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: b0 Where: ‘b0’ is an ambiguous type variable • In the second argument of ‘const’, namely ‘_’ diff --git a/testsuite/tests/typecheck/should_compile/holes2.stderr b/testsuite/tests/typecheck/should_compile/holes2.stderr index 47de4c617a..2c52711cf5 100644 --- a/testsuite/tests/typecheck/should_compile/holes2.stderr +++ b/testsuite/tests/typecheck/should_compile/holes2.stderr @@ -1,5 +1,5 @@ -holes2.hs:3:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +holes2.hs:3:5: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Ambiguous type variable ‘a0’ arising from a use of ‘show’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -8,12 +8,12 @@ holes2.hs:3:5: warning: [-Wdeferred-type-errors (in -Wdefault)] -- Defined in ‘Data.Either’ instance Show Ordering -- Defined in ‘GHC.Show’ ...plus 26 others - ...plus 71 instances involving out-of-scope types + ...plus 28 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: show _ In an equation for ‘f’: f = show _ -holes2.hs:3:10: warning: [-Wtyped-holes (in -Wdefault)] +holes2.hs:3:10: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a0 Where: ‘a0’ is an ambiguous type variable • In the first argument of ‘show’, namely ‘_’ diff --git a/testsuite/tests/typecheck/should_compile/holes3.stderr b/testsuite/tests/typecheck/should_compile/holes3.stderr index c14e9e7b5c..8032042b90 100644 --- a/testsuite/tests/typecheck/should_compile/holes3.stderr +++ b/testsuite/tests/typecheck/should_compile/holes3.stderr @@ -1,5 +1,5 @@ -holes3.hs:3:5: error: +holes3.hs:3:5: error: [GHC-88464] • Found hole: _ :: p Where: ‘p’ is a rigid type variable bound by the inferred type of f :: p @@ -8,7 +8,7 @@ holes3.hs:3:5: error: • Relevant bindings include f :: p (bound at holes3.hs:3:1) Valid hole fits include f :: forall {p}. p -holes3.hs:6:7: error: +holes3.hs:6:7: error: [GHC-88464] • Found hole: _gr :: Char Or perhaps ‘_gr’ is mis-spelled, or not in scope • In an equation for ‘g’: g x = _gr @@ -20,7 +20,7 @@ holes3.hs:6:7: error: maxBound :: forall a. Bounded a => a minBound :: forall a. Bounded a => a -holes3.hs:8:5: error: +holes3.hs:8:5: error: [GHC-88464] • Found hole: _aa :: [Char] Or perhaps ‘_aa’ is mis-spelled, or not in scope • In the first argument of ‘(++)’, namely ‘_aa’ @@ -33,7 +33,7 @@ holes3.hs:8:5: error: [] :: forall a. [a] mempty :: forall a. Monoid a => a -holes3.hs:11:15: error: +holes3.hs:11:15: error: [GHC-88464] • Found hole: _x :: b0 Where: ‘b0’ is an ambiguous type variable Or perhaps ‘_x’ is mis-spelled, or not in scope diff --git a/testsuite/tests/typecheck/should_compile/local_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/local_hole_fits.stderr index 2cf85f3c1e..ec684fc4fb 100644 --- a/testsuite/tests/typecheck/should_compile/local_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/local_hole_fits.stderr @@ -1,5 +1,5 @@ -local_hole_fits.hs:4:15: warning: [-Wtyped-holes (in -Wdefault)] +local_hole_fits.hs:4:15: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -12,7 +12,7 @@ local_hole_fits.hs:4:15: warning: [-Wtyped-holes (in -Wdefault)] head :: [a] -> a (bound at local_hole_fits.hs:4:1) Valid hole fits include x :: a (bound at local_hole_fits.hs:4:7) -local_hole_fits.hs:8:11: warning: [-Wtyped-holes (in -Wdefault)] +local_hole_fits.hs:8:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_compile/refinement_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/refinement_hole_fits.stderr index 6084e6aa0f..adb5ed75f2 100644 --- a/testsuite/tests/typecheck/should_compile/refinement_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/refinement_hole_fits.stderr @@ -1,5 +1,5 @@ -refinement_hole_fits.hs:4:5: warning: [-Wtyped-holes (in -Wdefault)] +refinement_hole_fits.hs:4:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [Integer] -> Integer • In an equation for ‘f’: f = _ • Relevant bindings include @@ -117,7 +117,7 @@ refinement_hole_fits.hs:4:5: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at refinement_hole_fits.hs:1:8-30 (and originally defined in ‘GHC.List’)) -refinement_hole_fits.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] +refinement_hole_fits.hs:7:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Integer -> [Integer] -> Integer • In the expression: _ 0 In an equation for ‘g’: g = _ 0 @@ -219,7 +219,7 @@ refinement_hole_fits.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at refinement_hole_fits.hs:1:8-30 (and originally defined in ‘GHC.List’)) -refinement_hole_fits.hs:10:7: warning: [-Wtyped-holes (in -Wdefault)] +refinement_hole_fits.hs:10:7: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_compile/subsumption_sort_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/subsumption_sort_hole_fits.stderr index d9d577f5dd..c1b3e3c12b 100644 --- a/testsuite/tests/typecheck/should_compile/subsumption_sort_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/subsumption_sort_hole_fits.stderr @@ -1,5 +1,5 @@ -subsumption_sort_hole_fits.hs:2:5: warning: [-Wtyped-holes (in -Wdefault)] +subsumption_sort_hole_fits.hs:2:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: String -> [String] • In the expression: _ "hello, world" In an equation for ‘f’: f = _ "hello, world" diff --git a/testsuite/tests/typecheck/should_compile/tc017.stderr b/testsuite/tests/typecheck/should_compile/tc017.stderr index 7e7dfc3b40..51aa3a5989 100644 --- a/testsuite/tests/typecheck/should_compile/tc017.stderr +++ b/testsuite/tests/typecheck/should_compile/tc017.stderr @@ -1,4 +1,4 @@ -tc017.hs:4:5: warning: [-Woverlapping-patterns (in -Wdefault)] +tc017.hs:4:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘v’: v | False = ... diff --git a/testsuite/tests/typecheck/should_compile/tc141.stderr b/testsuite/tests/typecheck/should_compile/tc141.stderr index dcf7573d8e..6c2645e77e 100644 --- a/testsuite/tests/typecheck/should_compile/tc141.stderr +++ b/testsuite/tests/typecheck/should_compile/tc141.stderr @@ -1,12 +1,12 @@ -tc141.hs:11:12: error: +tc141.hs:11:12: error: [GHC-46131] • You cannot bind scoped type variable ‘a’ in a pattern binding signature • In the pattern: p :: a In the pattern: (p :: a, q :: a) In a pattern binding: (p :: a, q :: a) = x -tc141.hs:11:31: error: +tc141.hs:11:31: error: [GHC-25897] • Couldn't match expected type ‘a1’ with actual type ‘b’ ‘a1’ is a rigid type variable bound by an expression type signature: @@ -24,7 +24,7 @@ tc141.hs:11:31: error: x :: (b, b) (bound at tc141.hs:11:3) f :: (b, b) -> (a, b) (bound at tc141.hs:11:1) -tc141.hs:13:13: error: +tc141.hs:13:13: error: [GHC-46131] • You cannot bind scoped type variable ‘a’ in a pattern binding signature • In the pattern: y :: a @@ -36,7 +36,7 @@ tc141.hs:13:13: error: v = b in v -tc141.hs:15:18: error: +tc141.hs:15:18: error: [GHC-25897] • Couldn't match expected type ‘a1’ with actual type ‘p2’ ‘a1’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_compile/tc214.stderr b/testsuite/tests/typecheck/should_compile/tc214.stderr index de6b340e4b..6751f31a5c 100644 --- a/testsuite/tests/typecheck/should_compile/tc214.stderr +++ b/testsuite/tests/typecheck/should_compile/tc214.stderr @@ -1,9 +1,9 @@ -tc214.hs:19:1: warning: [-Woverlapping-patterns (in -Wdefault)] +tc214.hs:19:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘bar2’: bar2 (F2 _) = ... -tc214.hs:19:7: warning: [-Winaccessible-code (in -Wdefault)] +tc214.hs:19:7: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: F2 :: forall a. a -> Foo2 [a], in an equation for ‘bar2’ diff --git a/testsuite/tests/typecheck/should_compile/tc231.stderr b/testsuite/tests/typecheck/should_compile/tc231.stderr index e3118409ce..45362b7a2e 100644 --- a/testsuite/tests/typecheck/should_compile/tc231.stderr +++ b/testsuite/tests/typecheck/should_compile/tc231.stderr @@ -1,5 +1,5 @@ -tc231.hs:34:9: error: +tc231.hs:34:9: error: [GHC-39999] • No instance for ‘Zork s (Z [Char]) b0’ arising from a use of ‘huh’ • In the expression: huh (s b) diff --git a/testsuite/tests/typecheck/should_compile/tc243.stderr b/testsuite/tests/typecheck/should_compile/tc243.stderr index 5c5e9b20f9..8bb776080e 100644 --- a/testsuite/tests/typecheck/should_compile/tc243.stderr +++ b/testsuite/tests/typecheck/should_compile/tc243.stderr @@ -1,3 +1,3 @@ -tc243.hs:10:1: warning: [-Wmissing-signatures (in -Wall)] +tc243.hs:10:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: (.+.) :: a diff --git a/testsuite/tests/typecheck/should_compile/tc254.stderr b/testsuite/tests/typecheck/should_compile/tc254.stderr index 2d2c20decb..5f2c7a2c80 100644 --- a/testsuite/tests/typecheck/should_compile/tc254.stderr +++ b/testsuite/tests/typecheck/should_compile/tc254.stderr @@ -1,4 +1,4 @@ -tc254.hs:8:1: warning: [-Wmissing-methods (in -Wdefault)] +tc254.hs:8:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘Typ’ • In the instance declaration for ‘Cls Int’ diff --git a/testsuite/tests/typecheck/should_compile/type_in_type_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/type_in_type_hole_fits.stderr index 9f96ea3505..3d06a058a3 100644 --- a/testsuite/tests/typecheck/should_compile/type_in_type_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/type_in_type_hole_fits.stderr @@ -1,5 +1,5 @@ -type_in_type_hole_fits.hs:79:11: warning: [-Wtyped-holes (in -Wdefault)] +type_in_type_hole_fits.hs:79:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: [Integer] -> Sorted (O ('NLogN 2 0)) (O N) 'True Integer Or perhaps ‘_a’ is mis-spelled, or not in scope @@ -27,7 +27,7 @@ type_in_type_hole_fits.hs:79:11: warning: [-Wtyped-holes (in -Wdefault)] with insertionSort @Integer @(O ('NLogN 2 0)) @(O N) @'True (defined at type_in_type_hole_fits.hs:65:1) -type_in_type_hole_fits.hs:82:11: warning: [-Wtyped-holes (in -Wdefault)] +type_in_type_hole_fits.hs:82:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _b :: [Integer] -> Sorted (O ('NLogN 1 1)) (O N) 'False Integer Or perhaps ‘_b’ is mis-spelled, or not in scope @@ -59,7 +59,7 @@ type_in_type_hole_fits.hs:82:11: warning: [-Wtyped-holes (in -Wdefault)] with mergeSort @Integer @(O ('NLogN 1 1)) @(O N) @'False (defined at type_in_type_hole_fits.hs:61:1) -type_in_type_hole_fits.hs:85:11: warning: [-Wtyped-holes (in -Wdefault)] +type_in_type_hole_fits.hs:85:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _c :: [Integer] -> Sorted (O ('NLogN 1 1)) (O One) 'False Integer Or perhaps ‘_c’ is mis-spelled, or not in scope diff --git a/testsuite/tests/typecheck/should_compile/valid_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/valid_hole_fits.stderr index 1c105ae30c..d8344711fe 100644 --- a/testsuite/tests/typecheck/should_compile/valid_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/valid_hole_fits.stderr @@ -1,7 +1,7 @@ [1 of 2] Compiling ValidHoleFits ( ValidHoleFits.hs, ValidHoleFits.o ) [2 of 2] Compiling Foo ( valid_hole_fits.hs, valid_hole_fits.o ) -valid_hole_fits.hs:9:6: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +valid_hole_fits.hs:9:6: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: putStrLn :: String -> IO () Suggested fixes: • Perhaps use one of these: @@ -11,7 +11,7 @@ valid_hole_fits.hs:9:6: warning: [-Wdeferred-out-of-scope-variables (in -Wdefaul from the explicit hiding list in the import of ‘Prelude’ (valid_hole_fits.hs:3:1-40). -valid_hole_fits.hs:17:17: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:17:17: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int -> IO Int • In a stmt of a 'do' block: y <- _ x In the expression: @@ -39,7 +39,7 @@ valid_hole_fits.hs:17:17: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Base’)) -valid_hole_fits.hs:21:8: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:21:8: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [Maybe a] -> [a] Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -58,7 +58,7 @@ valid_hole_fits.hs:21:8: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Base’)) -valid_hole_fits.hs:24:9: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:24:9: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Integer -> ValidHoleFits.Moo • In an equation for ‘test2’: test2 = _ • Relevant bindings include @@ -71,7 +71,7 @@ valid_hole_fits.hs:24:9: warning: [-Wtyped-holes (in -Wdefault)] (imported qualified from ‘ValidHoleFits’ at valid_hole_fits.hs:6:1-30 (and originally defined at ValidHoleFits.hs:4:12-22)) -valid_hole_fits.hs:27:5: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:27:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: t0 -> Maybe Integer Where: ‘t0’ is an ambiguous type variable • In the expression: _ 2 @@ -92,7 +92,7 @@ valid_hole_fits.hs:27:5: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Base’)) -valid_hole_fits.hs:30:10: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:30:10: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a1 Where: ‘a1’ is an ambiguous type variable • In the first argument of ‘show’, namely ‘_’ @@ -128,7 +128,7 @@ valid_hole_fits.hs:30:10: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Float’)) -valid_hole_fits.hs:34:11: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:34:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Bool -> a0 Where: ‘a0’ is an ambiguous type variable • In the first argument of ‘show’, namely ‘(_ (_ :: Bool))’ @@ -176,7 +176,7 @@ valid_hole_fits.hs:34:11: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Show’)) -valid_hole_fits.hs:34:14: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:34:14: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Bool • In the first argument of ‘_’, namely ‘(_ :: Bool)’ In the first argument of ‘show’, namely ‘(_ (_ :: Bool))’ @@ -202,7 +202,7 @@ valid_hole_fits.hs:34:14: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Enum’)) -valid_hole_fits.hs:38:10: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:38:10: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a -> [a] -> [a] Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -229,7 +229,7 @@ valid_hole_fits.hs:38:10: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Base’)) -valid_hole_fits.hs:41:8: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:41:8: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: String -> IO () • In the expression: _ "hello, world" In an equation for ‘main’: main = _ "hello, world" diff --git a/testsuite/tests/typecheck/should_compile/valid_hole_fits_interactions.stderr b/testsuite/tests/typecheck/should_compile/valid_hole_fits_interactions.stderr index 90f7943f09..a6f557bee7 100644 --- a/testsuite/tests/typecheck/should_compile/valid_hole_fits_interactions.stderr +++ b/testsuite/tests/typecheck/should_compile/valid_hole_fits_interactions.stderr @@ -1,5 +1,5 @@ -valid_hole_fits_interactions.hs:15:5: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits_interactions.hs:15:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: SBool 'True • In an equation for ‘f’: f = _ • Relevant bindings include diff --git a/testsuite/tests/typecheck/should_fail/AmbigFDs.stderr b/testsuite/tests/typecheck/should_fail/AmbigFDs.stderr index c95578268e..9ab5b25eac 100644 --- a/testsuite/tests/typecheck/should_fail/AmbigFDs.stderr +++ b/testsuite/tests/typecheck/should_fail/AmbigFDs.stderr @@ -1,5 +1,5 @@ -AmbigFDs.hs:10:8: error: +AmbigFDs.hs:10:8: error: [GHC-25897] • Couldn't match type ‘b1’ with ‘b2’ arising from a functional dependency between constraints: ‘C a b2’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr index b865437c86..546803fcde 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr @@ -1,3 +1,3 @@ -AssocTyDef01.hs:9:10: +AssocTyDef01.hs:9:10: error: [GHC-54721] ‘OtherType’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr index 71fc77d4ed..2e19d713bc 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr @@ -1,7 +1,7 @@ -AssocTyDef04.hs:6:18: - Expecting one more argument to ‘Maybe’ - Expected a type, but ‘Maybe’ has kind ‘* -> *’ - In the type ‘Maybe’ - In the default type instance declaration for ‘Typ’ - In the class declaration for ‘Cls’ +AssocTyDef04.hs:6:18: error: [GHC-83865] + • Expecting one more argument to ‘Maybe’ + Expected a type, but ‘Maybe’ has kind ‘* -> *’ + • In the type ‘Maybe’ + In the default type instance declaration for ‘Typ’ + In the class declaration for ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr index c4498ed583..30595d68aa 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr @@ -1,3 +1,3 @@ -AssocTyDef07.hs:5:10: +AssocTyDef07.hs:5:10: error: [GHC-54721] ‘Typ’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr index d63d369570..1d2494243e 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr @@ -1,3 +1,3 @@ -AssocTyDef08.hs:4:10: +AssocTyDef08.hs:4:10: error: [GHC-54721] ‘Typ’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr index c6dfdeb0da..4bcf093a88 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr @@ -1,3 +1,3 @@ -AssocTyDef09.hs:8:10: +AssocTyDef09.hs:8:10: error: [GHC-54721] ‘OtherType’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/ClassOperator.stderr b/testsuite/tests/typecheck/should_fail/ClassOperator.stderr index 977c490b64..539359f7a9 100644 --- a/testsuite/tests/typecheck/should_fail/ClassOperator.stderr +++ b/testsuite/tests/typecheck/should_fail/ClassOperator.stderr @@ -1,5 +1,5 @@ -ClassOperator.hs:14:3: error: +ClassOperator.hs:14:3: error: [GHC-39999] • Could not deduce ‘a ><> b0’ from the context: a ><> b bound by the type signature for: @@ -12,7 +12,7 @@ ClassOperator.hs:14:3: error: (**>) :: forall a b. (a ><> b) => a -> a -> () In the class declaration for ‘><>’ -ClassOperator.hs:14:3: error: +ClassOperator.hs:14:3: error: [GHC-39999] • Could not deduce ‘a ><> b0’ from the context: a ><> b bound by the type signature for: @@ -25,7 +25,7 @@ ClassOperator.hs:14:3: error: (**<) :: forall a b. (a ><> b) => a -> a -> () In the class declaration for ‘><>’ -ClassOperator.hs:14:3: error: +ClassOperator.hs:14:3: error: [GHC-39999] • Could not deduce ‘a ><> b0’ from the context: a ><> b bound by the type signature for: @@ -38,7 +38,7 @@ ClassOperator.hs:14:3: error: (>**) :: forall a b. (a ><> b) => a -> a -> () In the class declaration for ‘><>’ -ClassOperator.hs:14:3: error: +ClassOperator.hs:14:3: error: [GHC-39999] • Could not deduce ‘a ><> b0’ from the context: a ><> b bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/CustomTypeErrors01.stderr b/testsuite/tests/typecheck/should_fail/CustomTypeErrors01.stderr index 71e175ef41..a849b6fb6c 100644 --- a/testsuite/tests/typecheck/should_fail/CustomTypeErrors01.stderr +++ b/testsuite/tests/typecheck/should_fail/CustomTypeErrors01.stderr @@ -1,5 +1,5 @@ -CustomTypeErrors01.hs:12:11: error: +CustomTypeErrors01.hs:12:11: error: [GHC-64725] • Values of type 'MyType' cannot be compared for equality. • In the expression: x == MyType In an equation for ‘err’: err x = x == MyType diff --git a/testsuite/tests/typecheck/should_fail/CustomTypeErrors02.stderr b/testsuite/tests/typecheck/should_fail/CustomTypeErrors02.stderr index 3d551ac8f3..3c3d7b3252 100644 --- a/testsuite/tests/typecheck/should_fail/CustomTypeErrors02.stderr +++ b/testsuite/tests/typecheck/should_fail/CustomTypeErrors02.stderr @@ -1,5 +1,5 @@ -CustomTypeErrors02.hs:17:1: error: +CustomTypeErrors02.hs:17:1: error: [GHC-47403] • The type 'a0 -> a0' cannot be represented as an integer. • When checking the inferred type err :: (TypeError ...) diff --git a/testsuite/tests/typecheck/should_fail/CustomTypeErrors03.stderr b/testsuite/tests/typecheck/should_fail/CustomTypeErrors03.stderr index b1ceb26b5e..bf0aa38507 100644 --- a/testsuite/tests/typecheck/should_fail/CustomTypeErrors03.stderr +++ b/testsuite/tests/typecheck/should_fail/CustomTypeErrors03.stderr @@ -1,5 +1,5 @@ -CustomTypeErrors03.hs:6:6: error: - This is a type error - In the type signature: - f :: TypeError (Text "This is a type error") +CustomTypeErrors03.hs:6:6: error: [GHC-47403] + • This is a type error + • In the type signature: + f :: TypeError (Text "This is a type error") diff --git a/testsuite/tests/typecheck/should_fail/CustomTypeErrors04.stderr b/testsuite/tests/typecheck/should_fail/CustomTypeErrors04.stderr index 9bec37b907..1b656b3cd6 100644 --- a/testsuite/tests/typecheck/should_fail/CustomTypeErrors04.stderr +++ b/testsuite/tests/typecheck/should_fail/CustomTypeErrors04.stderr @@ -1,5 +1,5 @@ -CustomTypeErrors04.hs:14:14: error: +CustomTypeErrors04.hs:14:14: error: [GHC-64725] • ERROR • In the expression: () In an equation for ‘testNOTOK1’: testNOTOK1 = () diff --git a/testsuite/tests/typecheck/should_fail/CustomTypeErrors05.stderr b/testsuite/tests/typecheck/should_fail/CustomTypeErrors05.stderr index 3164c860db..52079f265e 100644 --- a/testsuite/tests/typecheck/should_fail/CustomTypeErrors05.stderr +++ b/testsuite/tests/typecheck/should_fail/CustomTypeErrors05.stderr @@ -1,5 +1,5 @@ -CustomTypeErrors05.hs:14:14: error: +CustomTypeErrors05.hs:14:14: error: [GHC-64725] • ERROR • In the expression: 1 In an equation for ‘testNOTOK2’: testNOTOK2 = 1 diff --git a/testsuite/tests/typecheck/should_fail/ExpandSynsFail1.stderr b/testsuite/tests/typecheck/should_fail/ExpandSynsFail1.stderr index f592741d6f..84f9f96dce 100644 --- a/testsuite/tests/typecheck/should_fail/ExpandSynsFail1.stderr +++ b/testsuite/tests/typecheck/should_fail/ExpandSynsFail1.stderr @@ -1,5 +1,5 @@ -ExpandSynsFail1.hs:4:31: error: +ExpandSynsFail1.hs:4:31: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: Foo Actual: Bar diff --git a/testsuite/tests/typecheck/should_fail/ExpandSynsFail2.stderr b/testsuite/tests/typecheck/should_fail/ExpandSynsFail2.stderr index 5aae6fea45..5898069566 100644 --- a/testsuite/tests/typecheck/should_fail/ExpandSynsFail2.stderr +++ b/testsuite/tests/typecheck/should_fail/ExpandSynsFail2.stderr @@ -1,5 +1,5 @@ -ExpandSynsFail2.hs:19:37: error: +ExpandSynsFail2.hs:19:37: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: ST s Foo Actual: MyBarST s diff --git a/testsuite/tests/typecheck/should_fail/ExpandSynsFail3.stderr b/testsuite/tests/typecheck/should_fail/ExpandSynsFail3.stderr index 5179c4ddc1..e496f3064e 100644 --- a/testsuite/tests/typecheck/should_fail/ExpandSynsFail3.stderr +++ b/testsuite/tests/typecheck/should_fail/ExpandSynsFail3.stderr @@ -1,5 +1,5 @@ -ExpandSynsFail3.hs:21:8: error: +ExpandSynsFail3.hs:21:8: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: T (T3, T5, Int) Actual: T (T5, T3, Bool) diff --git a/testsuite/tests/typecheck/should_fail/ExpandSynsFail4.stderr b/testsuite/tests/typecheck/should_fail/ExpandSynsFail4.stderr index d11f72a758..661103d4ce 100644 --- a/testsuite/tests/typecheck/should_fail/ExpandSynsFail4.stderr +++ b/testsuite/tests/typecheck/should_fail/ExpandSynsFail4.stderr @@ -1,5 +1,5 @@ -ExpandSynsFail4.hs:11:22: error: +ExpandSynsFail4.hs:11:22: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: T Int Actual: T Bool diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity1.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity1.stderr index dd5b456230..e2721b7421 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity1.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity1.stderr @@ -1,5 +1,5 @@ -ExplicitSpecificity1.hs:9:15: error: +ExplicitSpecificity1.hs:9:15: error: [GHC-95781] • Cannot apply expression of type ‘a0 -> a0’ to a visible type argument ‘Int’ • In the expression: foo @Int 42 diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity10.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity10.stderr index 0929129d5e..8ebcd25fc9 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity10.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity10.stderr @@ -1,5 +1,5 @@ -ExplicitSpecificity10.hs:8:10: error: +ExplicitSpecificity10.hs:8:10: error: [GHC-95781] • Cannot apply expression of type ‘a0 -> a0’ to a visible type argument ‘Bool’ • In the expression: unT t @Bool diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity2.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity2.stderr index 8c43169157..f36b5e104e 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity2.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity2.stderr @@ -1,5 +1,5 @@ -ExplicitSpecificity2.hs:11:15: error: +ExplicitSpecificity2.hs:11:15: error: [GHC-95781] • Cannot apply expression of type ‘Proxy (*) -> T (*)’ to a visible type argument ‘Int’ • In the expression: C @Type @Int Proxy diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity3.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity3.stderr index 751fbefa73..933b5f2158 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity3.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity3.stderr @@ -1,2 +1,3 @@ -ExplicitSpecificity3.hs:5:17: error: parse error on input ‘}’ +ExplicitSpecificity3.hs:5:17: error: [GHC-58481] + parse error on input ‘}’ diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity7.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity7.stderr index 2d98e47867..f68ac8ced1 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity7.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity7.stderr @@ -1,5 +1,5 @@ -ExplicitSpecificity7.hs:8:12: error: +ExplicitSpecificity7.hs:8:12: error: [GHC-20967] • Cannot apply function of kind ‘Bool -> b0 -> b0’ to visible kind argument ‘Int’ • In the type ‘Foo @Bool @Int True 42’ diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity8.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity8.stderr index 09c8e93a80..005fdde40d 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity8.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity8.stderr @@ -1,3 +1,3 @@ -ExplicitSpecificity8.hs:9:19: error: +ExplicitSpecificity8.hs:9:19: error: [GHC-57342] Inferred type variables are not allowed here diff --git a/testsuite/tests/typecheck/should_fail/FD1.stderr b/testsuite/tests/typecheck/should_fail/FD1.stderr index b0beafb416..e854310835 100644 --- a/testsuite/tests/typecheck/should_fail/FD1.stderr +++ b/testsuite/tests/typecheck/should_fail/FD1.stderr @@ -1,5 +1,5 @@ -FD1.hs:16:1: error: +FD1.hs:16:1: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Int -> Int’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/FD2.stderr b/testsuite/tests/typecheck/should_fail/FD2.stderr index a5462aa94e..6085948ac7 100644 --- a/testsuite/tests/typecheck/should_fail/FD2.stderr +++ b/testsuite/tests/typecheck/should_fail/FD2.stderr @@ -1,5 +1,5 @@ -FD2.hs:26:34: error: +FD2.hs:26:34: error: [GHC-25897] • Couldn't match expected type ‘e1’ with actual type ‘e’ ‘e1’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/FD3.stderr b/testsuite/tests/typecheck/should_fail/FD3.stderr index d7ac728b6c..38add26f44 100644 --- a/testsuite/tests/typecheck/should_fail/FD3.stderr +++ b/testsuite/tests/typecheck/should_fail/FD3.stderr @@ -1,5 +1,5 @@ -FD3.hs:15:15: error: +FD3.hs:15:15: error: [GHC-25897] • Couldn't match type ‘a’ with ‘(String, a)’ arising from a functional dependency between: constraint ‘MkA (String, a) a’ arising from a use of ‘mkA’ diff --git a/testsuite/tests/typecheck/should_fail/FDsFromGivens2.stderr b/testsuite/tests/typecheck/should_fail/FDsFromGivens2.stderr index 00e55ea20a..fed3fb5797 100644 --- a/testsuite/tests/typecheck/should_fail/FDsFromGivens2.stderr +++ b/testsuite/tests/typecheck/should_fail/FDsFromGivens2.stderr @@ -1,13 +1,12 @@ -FDsFromGivens2.hs:15:15: error: +FDsFromGivens2.hs:15:15: error: [GHC-18872] • Couldn't match type ‘Char’ with ‘[a]’ arising from a functional dependency between constraints: ‘C Char [a]’ arising from a use of ‘f’ at FDsFromGivens2.hs:15:15 ‘C Char Char’ arising from a pattern with constructor: KCC :: C Char Char => () -> KCC, - in an equation for ‘bar’ - at FDsFromGivens2.hs:15:6-10 + in an equation for ‘bar’ at FDsFromGivens2.hs:15:6-10 • In the expression: f In an equation for ‘bar’: bar (KCC _) = f • Relevant bindings include diff --git a/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr b/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr index 57d5ceb9e8..30939861fc 100644 --- a/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr +++ b/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr @@ -1,5 +1,5 @@ -FailDueToGivenOverlapping.hs:27:9: error: +FailDueToGivenOverlapping.hs:27:9: error: [GHC-43085] • Overlapping instances for E [a0] arising from a use of ‘eop’ Matching givens (or their superclasses): E [Int] diff --git a/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr b/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr index 6345e2ab1c..12714ace9e 100644 --- a/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr +++ b/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr @@ -1,5 +1,5 @@ -FrozenErrorTests.hs:26:9: error: +FrozenErrorTests.hs:26:9: error: [GHC-25897] • Couldn't match type ‘a’ with ‘[a]’ arising from a use of ‘goo1’ ‘a’ is a rigid type variable bound by the inferred type of test1 :: a @@ -9,20 +9,20 @@ FrozenErrorTests.hs:26:9: error: • Relevant bindings include test1 :: a (bound at FrozenErrorTests.hs:26:1) -FrozenErrorTests.hs:29:15: error: +FrozenErrorTests.hs:29:15: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘[Int]’ arising from a use of ‘goo1’ • In the first argument of ‘goo2’, namely ‘(goo1 False undefined)’ In the expression: goo2 (goo1 False undefined) In an equation for ‘test2’: test2 = goo2 (goo1 False undefined) -FrozenErrorTests.hs:30:9: error: +FrozenErrorTests.hs:30:9: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘[Int]’ arising from a use of ‘goo1’ • In the expression: goo1 False (goo2 undefined) In an equation for ‘test3’: test3 = goo1 False (goo2 undefined) -FrozenErrorTests.hs:45:15: error: +FrozenErrorTests.hs:45:15: error: [GHC-18872] • Couldn't match type: T2 c c with: M (T2 (T2 c c) c) arising from a use of ‘goo3’ @@ -32,7 +32,7 @@ FrozenErrorTests.hs:45:15: error: • Relevant bindings include test4 :: T2 (T2 c c) c (bound at FrozenErrorTests.hs:45:1) -FrozenErrorTests.hs:46:9: error: +FrozenErrorTests.hs:46:9: error: [GHC-18872] • Couldn't match type: T2 c c with: M (T2 (T2 c c) c) arising from a use of ‘goo3’ diff --git a/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr b/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr index 353bfac507..0ba059d50e 100644 --- a/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr +++ b/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr @@ -1,11 +1,11 @@ -FunDepOrigin1b.hs:9:10: error: +FunDepOrigin1b.hs:9:10: error: [GHC-39999] • No instance for ‘C Bool (Maybe a0)’ arising from a use of ‘op’ • In the expression: op True Nothing In the expression: (op True Nothing, op False []) In an equation for ‘foo’: foo _ = (op True Nothing, op False []) -FunDepOrigin1b.hs:9:27: error: +FunDepOrigin1b.hs:9:27: error: [GHC-39999] • No instance for ‘C Bool [a1]’ arising from a use of ‘op’ • In the expression: op False [] In the expression: (op True Nothing, op False []) diff --git a/testsuite/tests/typecheck/should_fail/GivenForallLoop.stderr b/testsuite/tests/typecheck/should_fail/GivenForallLoop.stderr index 1cf64abc22..ae71b40a91 100644 --- a/testsuite/tests/typecheck/should_fail/GivenForallLoop.stderr +++ b/testsuite/tests/typecheck/should_fail/GivenForallLoop.stderr @@ -1,5 +1,5 @@ -GivenForallLoop.hs:8:11: error: +GivenForallLoop.hs:8:11: error: [GHC-25897] • Could not deduce ‘a ~ b’ from the context: a ~ (forall b1. F a b1) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/IPFail.stderr b/testsuite/tests/typecheck/should_fail/IPFail.stderr index 9cf37c7c5f..5ea0f1ff28 100644 --- a/testsuite/tests/typecheck/should_fail/IPFail.stderr +++ b/testsuite/tests/typecheck/should_fail/IPFail.stderr @@ -1,5 +1,5 @@ -IPFail.hs:6:18: error: +IPFail.hs:6:18: error: [GHC-39999] • Could not deduce ‘Num Bool’ arising from the literal ‘5’ from the context: ?x::Int bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/LevPolyBounded.stderr b/testsuite/tests/typecheck/should_fail/LevPolyBounded.stderr index d5c20ed70f..4ff98786d5 100644 --- a/testsuite/tests/typecheck/should_fail/LevPolyBounded.stderr +++ b/testsuite/tests/typecheck/should_fail/LevPolyBounded.stderr @@ -1,5 +1,5 @@ -LevPolyBounded.hs:11:15: error: +LevPolyBounded.hs:11:15: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘TYPE r’ ‘r’ is a rigid type variable bound by the class declaration for ‘XBounded’ @@ -7,7 +7,7 @@ LevPolyBounded.hs:11:15: error: • In the type signature: LevPolyBounded.minBound :: a In the class declaration for ‘XBounded’ -LevPolyBounded.hs:12:15: error: +LevPolyBounded.hs:12:15: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘TYPE r’ ‘r’ is a rigid type variable bound by the class declaration for ‘XBounded’ diff --git a/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr b/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr index 3a2620d43a..078b5c1b3e 100644 --- a/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr +++ b/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr @@ -1,5 +1,5 @@ -LongWayOverlapping.hs:22:11: error: +LongWayOverlapping.hs:22:11: error: [GHC-39999] • No instance for ‘EmbAsChild [Char] Char’ arising from a use of ‘emb’ • In the expression: emb 'c' diff --git a/testsuite/tests/typecheck/should_fail/MissingDefaultMethodBinding.stderr b/testsuite/tests/typecheck/should_fail/MissingDefaultMethodBinding.stderr index fe752862c1..62e7389f4f 100644 --- a/testsuite/tests/typecheck/should_fail/MissingDefaultMethodBinding.stderr +++ b/testsuite/tests/typecheck/should_fail/MissingDefaultMethodBinding.stderr @@ -1,4 +1,4 @@ -MissingDefaultMethodBinding.hs:5:1: - Class ‘C’ has a generic-default signature without a binding ‘meth’ - In the class declaration for ‘C’ +MissingDefaultMethodBinding.hs:5:1: error: [GHC-59794] + • Class ‘C’ has a generic-default signature without a binding ‘meth’ + • In the class declaration for ‘C’ diff --git a/testsuite/tests/typecheck/should_fail/MissingExportList03.stderr b/testsuite/tests/typecheck/should_fail/MissingExportList03.stderr index 897db53661..96ac6dd44a 100644 --- a/testsuite/tests/typecheck/should_fail/MissingExportList03.stderr +++ b/testsuite/tests/typecheck/should_fail/MissingExportList03.stderr @@ -1,3 +1,3 @@ -MissingExportList03.hs:1:1: error: [-Wmissing-export-lists, -Werror=missing-export-lists] +MissingExportList03.hs:1:1: error: [GHC-85401] [-Wmissing-export-lists, Werror=missing-export-lists] The export item ‘module ShouldFail’ is missing an export list diff --git a/testsuite/tests/typecheck/should_fail/OrdErr.stderr b/testsuite/tests/typecheck/should_fail/OrdErr.stderr index 01dba4924a..e9fb95e47f 100644 --- a/testsuite/tests/typecheck/should_fail/OrdErr.stderr +++ b/testsuite/tests/typecheck/should_fail/OrdErr.stderr @@ -1,9 +1,10 @@ -OrdErr.hs:12:14: error: + +OrdErr.hs:12:14: error: [GHC-64725] • Cannot satisfy: a <= a + 1 • In the expression: proxyInEq In an equation for ‘proxyInEq1’: proxyInEq1 = proxyInEq -OrdErr.hs:16:14: error: +OrdErr.hs:16:14: error: [GHC-64725] • Cannot satisfy: 5 <= 3 • In the expression: proxyInEq In an equation for ‘proxyInEq2’: proxyInEq2 = proxyInEq diff --git a/testsuite/tests/typecheck/should_fail/SCLoop.stderr b/testsuite/tests/typecheck/should_fail/SCLoop.stderr index 11960c2b6e..3a791561e6 100644 --- a/testsuite/tests/typecheck/should_fail/SCLoop.stderr +++ b/testsuite/tests/typecheck/should_fail/SCLoop.stderr @@ -1,5 +1,5 @@ -SCLoop.hs:22:7: error: +SCLoop.hs:22:7: error: [GHC-39999] • No instance for ‘SC ()’ arising from a use of ‘op’ • In the expression: op () ([Just True]) In an equation for ‘foo’: foo = op () ([Just True]) diff --git a/testsuite/tests/typecheck/should_fail/StrictBinds.stderr b/testsuite/tests/typecheck/should_fail/StrictBinds.stderr index 082d71176a..f76d888d7b 100644 --- a/testsuite/tests/typecheck/should_fail/StrictBinds.stderr +++ b/testsuite/tests/typecheck/should_fail/StrictBinds.stderr @@ -1,5 +1,5 @@ -StrictBinds.hs:7:11: error: +StrictBinds.hs:7:11: error: [GHC-20185] Recursive bindings for unlifted types aren't allowed: x = 3# +# y y = x diff --git a/testsuite/tests/typecheck/should_fail/T10194.stderr b/testsuite/tests/typecheck/should_fail/T10194.stderr index 60374ffe16..89c3b9c780 100644 --- a/testsuite/tests/typecheck/should_fail/T10194.stderr +++ b/testsuite/tests/typecheck/should_fail/T10194.stderr @@ -1,5 +1,5 @@ -T10194.hs:7:8: error: +T10194.hs:7:8: error: [GHC-91028] • Couldn't match type ‘b0’ with ‘X’ Expected: (X -> c) -> (a -> X) -> a -> c Actual: (b0 -> c) -> (a -> b0) -> a -> c diff --git a/testsuite/tests/typecheck/should_fail/T10285.stderr b/testsuite/tests/typecheck/should_fail/T10285.stderr index 647254a882..a339dd6139 100644 --- a/testsuite/tests/typecheck/should_fail/T10285.stderr +++ b/testsuite/tests/typecheck/should_fail/T10285.stderr @@ -1,5 +1,5 @@ -T10285.hs:8:17: error: +T10285.hs:8:17: error: [GHC-10283] • Could not deduce ‘Coercible a b’ arising from a use of ‘coerce’ from the context: Coercible (N a) (N b) bound by a pattern with constructor: diff --git a/testsuite/tests/typecheck/should_fail/T10351.stderr b/testsuite/tests/typecheck/should_fail/T10351.stderr index 88b37d3432..d749801f33 100644 --- a/testsuite/tests/typecheck/should_fail/T10351.stderr +++ b/testsuite/tests/typecheck/should_fail/T10351.stderr @@ -1,5 +1,5 @@ -T10351.hs:7:1: error: +T10351.hs:7:1: error: [GHC-80003] • Non type-variable argument in the constraint: C [a] • When checking the inferred type f :: forall {a}. C [a] => a -> () diff --git a/testsuite/tests/typecheck/should_fail/T10495.stderr b/testsuite/tests/typecheck/should_fail/T10495.stderr index 5067d25183..450006b801 100644 --- a/testsuite/tests/typecheck/should_fail/T10495.stderr +++ b/testsuite/tests/typecheck/should_fail/T10495.stderr @@ -1,5 +1,5 @@ -T10495.hs:5:7: error: +T10495.hs:5:7: error: [GHC-10283] • Couldn't match representation of type ‘a0’ with that of ‘b0’ arising from a use of ‘coerce’ • In the expression: coerce diff --git a/testsuite/tests/typecheck/should_fail/T10534.stderr b/testsuite/tests/typecheck/should_fail/T10534.stderr index 8dea57419d..02e9aa511d 100644 --- a/testsuite/tests/typecheck/should_fail/T10534.stderr +++ b/testsuite/tests/typecheck/should_fail/T10534.stderr @@ -1,5 +1,5 @@ -T10534a.hs:10:9: error: +T10534a.hs:10:9: error: [GHC-10283] • Could not deduce ‘Coercible a b’ arising from a use of ‘coerce’ from the context: Coercible (DF a) (DF b) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T10619.stderr b/testsuite/tests/typecheck/should_fail/T10619.stderr index 0274ce91c7..19646e56a5 100644 --- a/testsuite/tests/typecheck/should_fail/T10619.stderr +++ b/testsuite/tests/typecheck/should_fail/T10619.stderr @@ -1,9 +1,9 @@ -T10619.hs:10:14: error: +T10619.hs:10:14: error: [GHC-91028] • Couldn't match type ‘p1’ with ‘forall a. a -> a’ Expected: (forall a. a -> a) -> forall b. b -> b Actual: p1 -> p1 - • Cannot instantiate unification variable ‘p1’ + Cannot instantiate unification variable ‘p1’ with a type involving polytypes: forall a. a -> a • In the expression: \ y -> y In the expression: @@ -18,11 +18,11 @@ T10619.hs:10:14: error: else \ y -> y -T10619.hs:14:15: error: +T10619.hs:14:15: error: [GHC-91028] • Couldn't match type ‘p3’ with ‘forall a. a -> a’ Expected: p3 -> p3 Actual: (forall a. a -> a) -> forall b. b -> b - • Cannot equate type variable ‘p3’ + Cannot equate type variable ‘p3’ with a type involving polytypes: forall a. a -> a ‘p3’ is a rigid type variable bound by the inferred type of bar :: p2 -> p3 -> p3 @@ -43,20 +43,20 @@ T10619.hs:14:15: error: • Relevant bindings include bar :: p2 -> p3 -> p3 (bound at T10619.hs:12:1) -T10619.hs:17:13: error: +T10619.hs:17:13: error: [GHC-91028] • Couldn't match type ‘p0’ with ‘forall a. a -> a’ Expected: (forall a. a -> a) -> forall b. b -> b Actual: p0 -> p0 - • Cannot instantiate unification variable ‘p0’ + Cannot instantiate unification variable ‘p0’ with a type involving polytypes: forall a. a -> a • In the expression: \ y -> y In an equation for ‘baz’: baz False = \ y -> y -T10619.hs:20:14: error: +T10619.hs:20:14: error: [GHC-91028] • Couldn't match type ‘p’ with ‘forall a. a -> a’ Expected: p -> p Actual: (forall a. a -> a) -> forall b. b -> b - • Cannot equate type variable ‘p’ + Cannot equate type variable ‘p’ with a type involving polytypes: forall a. a -> a ‘p’ is a rigid type variable bound by the inferred type of quux :: Bool -> p -> p diff --git a/testsuite/tests/typecheck/should_fail/T10709.stderr b/testsuite/tests/typecheck/should_fail/T10709.stderr index 543cc05a38..b27ed794a1 100644 --- a/testsuite/tests/typecheck/should_fail/T10709.stderr +++ b/testsuite/tests/typecheck/should_fail/T10709.stderr @@ -1,10 +1,10 @@ -T10709.hs:6:21: error: +T10709.hs:6:21: error: [GHC-91028] • Couldn't match type ‘a2’ with ‘(forall a4. IO a4 -> IO a4) -> IO a3’ Expected: a2 -> IO a3 Actual: ((forall a. IO a -> IO a) -> IO a3) -> IO a3 - • Cannot equate type variable ‘a2’ + Cannot equate type variable ‘a2’ with a type involving polytypes: (forall a4. IO a4 -> IO a4) -> IO a3 ‘a2’ is a rigid type variable bound by @@ -16,12 +16,12 @@ T10709.hs:6:21: error: • Relevant bindings include x1 :: a2 -> IO [a3] (bound at T10709.hs:6:1) -T10709.hs:7:22: error: +T10709.hs:7:22: error: [GHC-91028] • Couldn't match type ‘a1’ with ‘(forall a2. IO a2 -> IO a2) -> IO a’ Expected: a1 -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a - • Cannot instantiate unification variable ‘a1’ + Cannot instantiate unification variable ‘a1’ with a type involving polytypes: (forall a2. IO a2 -> IO a2) -> IO a • In the second argument of ‘(.)’, namely ‘mask’ @@ -29,12 +29,12 @@ T10709.hs:7:22: error: In an equation for ‘x2’: x2 = (replicateM 2 . mask) undefined • Relevant bindings include x2 :: IO [a] (bound at T10709.hs:7:1) -T10709.hs:8:22: error: +T10709.hs:8:22: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘(forall a2. IO a2 -> IO a2) -> IO a’ Expected: a0 -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a - • Cannot instantiate unification variable ‘a0’ + Cannot instantiate unification variable ‘a0’ with a type involving polytypes: (forall a2. IO a2 -> IO a2) -> IO a • In the second argument of ‘(.)’, namely ‘mask’ diff --git a/testsuite/tests/typecheck/should_fail/T10709b.stderr b/testsuite/tests/typecheck/should_fail/T10709b.stderr index 53483efbad..acd824e249 100644 --- a/testsuite/tests/typecheck/should_fail/T10709b.stderr +++ b/testsuite/tests/typecheck/should_fail/T10709b.stderr @@ -1,5 +1,5 @@ -T10709b.hs:6:22: error: +T10709b.hs:6:22: error: [GHC-91028] • Couldn't match type ‘p1’ with ‘forall a. IO a -> IO a’ Expected: (p1 -> IO ()) -> IO () Actual: ((forall a. IO a -> IO a) -> IO ()) -> IO () @@ -10,7 +10,7 @@ T10709b.hs:6:22: error: In an equation for ‘x4’: x4 = (replicateM 2 . mask) (\ _ -> return ()) -T10709b.hs:7:22: error: +T10709b.hs:7:22: error: [GHC-91028] • Couldn't match type ‘t0’ with ‘forall a1. IO a1 -> IO a1’ Expected: (t0 -> IO a) -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a @@ -21,7 +21,7 @@ T10709b.hs:7:22: error: In an equation for ‘x5’: x5 = (replicateM 2 . mask) (\ x -> undefined x) -T10709b.hs:8:22: error: +T10709b.hs:8:22: error: [GHC-91028] • Couldn't match type ‘p0’ with ‘forall a1. IO a1 -> IO a1’ Expected: (p0 -> IO a) -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a @@ -32,7 +32,7 @@ T10709b.hs:8:22: error: In an equation for ‘x6’: x6 = (replicateM 2 . mask) (id (\ _ -> undefined)) -T10709b.hs:9:22: error: +T10709b.hs:9:22: error: [GHC-91028] • Couldn't match type ‘b0’ with ‘forall a1. IO a1 -> IO a1’ Expected: (b0 -> IO a) -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a @@ -43,7 +43,7 @@ T10709b.hs:9:22: error: In an equation for ‘x7’: x7 = (replicateM 2 . mask) (const undefined) -T10709b.hs:10:22: error: +T10709b.hs:10:22: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘forall a1. IO a1 -> IO a1’ Expected: (a0 -> IO a) -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a diff --git a/testsuite/tests/typecheck/should_fail/T10715b.stderr b/testsuite/tests/typecheck/should_fail/T10715b.stderr index 6eb2f698bd..d7d5182970 100644 --- a/testsuite/tests/typecheck/should_fail/T10715b.stderr +++ b/testsuite/tests/typecheck/should_fail/T10715b.stderr @@ -1,5 +1,5 @@ -T10715b.hs:7:7: error: +T10715b.hs:7:7: error: [GHC-10283] • Couldn't match representation of type ‘b0’ with that of ‘[b0]’ arising from a use of ‘coerce’ • In the first argument of ‘asTypeOf’, namely ‘coerce’ diff --git a/testsuite/tests/typecheck/should_fail/T10836.stderr b/testsuite/tests/typecheck/should_fail/T10836.stderr index bcbfde7694..0fe436ff3f 100644 --- a/testsuite/tests/typecheck/should_fail/T10836.stderr +++ b/testsuite/tests/typecheck/should_fail/T10836.stderr @@ -1,5 +1,5 @@ -T10836.hs:5:5: error: +T10836.hs:5:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: Foo Int = Int -- Defined at T10836.hs:5:5 @@ -7,7 +7,7 @@ T10836.hs:5:5: error: • In the equations for closed type family ‘Foo’ In the type family declaration for ‘Foo’ -T10836.hs:9:5: error: +T10836.hs:9:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: Bar Int = Int -- Defined at T10836.hs:9:5 diff --git a/testsuite/tests/typecheck/should_fail/T10971b.stderr b/testsuite/tests/typecheck/should_fail/T10971b.stderr index b527f8d07c..a46117f9f7 100644 --- a/testsuite/tests/typecheck/should_fail/T10971b.stderr +++ b/testsuite/tests/typecheck/should_fail/T10971b.stderr @@ -1,5 +1,5 @@ -T10971b.hs:4:11: error: +T10971b.hs:4:11: error: [GHC-39999] • Ambiguous type variable ‘t2’ arising from a use of ‘length’ prevents the constraint ‘(Foldable t2)’ from being solved. Relevant bindings include @@ -10,13 +10,13 @@ T10971b.hs:4:11: error: instance Foldable (Either a) -- Defined in ‘Data.Foldable’ instance Foldable Maybe -- Defined in ‘Data.Foldable’ ...plus three others - ...plus 29 instances involving out-of-scope types + ...plus 26 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: length x In the expression: \ x -> length x In an equation for ‘f’: f = \ x -> length x -T10971b.hs:5:13: error: +T10971b.hs:5:13: error: [GHC-39999] • Ambiguous type variable ‘t1’ arising from a use of ‘fmapDefault’ prevents the constraint ‘(Traversable t1)’ from being solved. Relevant bindings include @@ -33,7 +33,7 @@ T10971b.hs:5:13: error: In the expression: \ f x -> fmapDefault f x In an equation for ‘g’: g = \ f x -> fmapDefault f x -T10971b.hs:6:14: error: +T10971b.hs:6:14: error: [GHC-39999] • Ambiguous type variable ‘t0’ arising from a use of ‘fmapDefault’ prevents the constraint ‘(Traversable t0)’ from being solved. Relevant bindings include @@ -50,7 +50,7 @@ T10971b.hs:6:14: error: In the expression: (fmapDefault f x, length x) In the expression: \ f x -> (fmapDefault f x, length x) -T10971b.hs:6:31: error: +T10971b.hs:6:31: error: [GHC-39999] • Ambiguous type variable ‘t0’ arising from a use of ‘length’ prevents the constraint ‘(Foldable t0)’ from being solved. Relevant bindings include @@ -61,7 +61,7 @@ T10971b.hs:6:31: error: instance Foldable (Either a) -- Defined in ‘Data.Foldable’ instance Foldable Maybe -- Defined in ‘Data.Foldable’ ...plus three others - ...plus 29 instances involving out-of-scope types + ...plus 26 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: length x In the expression: (fmapDefault f x, length x) diff --git a/testsuite/tests/typecheck/should_fail/T10971d.stderr b/testsuite/tests/typecheck/should_fail/T10971d.stderr index 93dce724d0..70ac810749 100644 --- a/testsuite/tests/typecheck/should_fail/T10971d.stderr +++ b/testsuite/tests/typecheck/should_fail/T10971d.stderr @@ -1,19 +1,19 @@ -T10971d.hs:4:14: error: +T10971d.hs:4:14: error: [GHC-83865] • Couldn't match expected type: [a0] with actual type: Maybe a3 • In the first argument of ‘f’, namely ‘(Just 1)’ In the second argument of ‘($)’, namely ‘f (Just 1)’ In a stmt of a 'do' block: print $ f (Just 1) -T10971d.hs:5:19: error: +T10971d.hs:5:19: error: [GHC-83865] • Couldn't match expected type: [b0] with actual type: Maybe a4 • In the second argument of ‘g’, namely ‘(Just 5)’ In the second argument of ‘($)’, namely ‘g (+ 1) (Just 5)’ In a stmt of a 'do' block: print $ g (+ 1) (Just 5) -T10971d.hs:6:23: error: +T10971d.hs:6:23: error: [GHC-83865] • Couldn't match expected type: [a2] with actual type: Maybe a1 • In the second argument of ‘h’, namely ‘Nothing’ diff --git a/testsuite/tests/typecheck/should_fail/T11112.stderr b/testsuite/tests/typecheck/should_fail/T11112.stderr index db6e1822cb..08afdc44ea 100644 --- a/testsuite/tests/typecheck/should_fail/T11112.stderr +++ b/testsuite/tests/typecheck/should_fail/T11112.stderr @@ -1,4 +1,4 @@ -T11112.hs:3:9: error: +T11112.hs:3:9: error: [GHC-83865] • Expected a type, but ‘Ord s’ has kind ‘Constraint’ • In the type signature: sort :: Ord s -> [s] -> [s] diff --git a/testsuite/tests/typecheck/should_fail/T11274.stderr b/testsuite/tests/typecheck/should_fail/T11274.stderr index 4bc2004ad5..161efdec52 100644 --- a/testsuite/tests/typecheck/should_fail/T11274.stderr +++ b/testsuite/tests/typecheck/should_fail/T11274.stderr @@ -1,5 +1,5 @@ -T11274.hs:10:25: error: +T11274.hs:10:25: error: [GHC-39999] • No instance for ‘Eq Asd’ arising from a use of ‘==’ • In the expression: x == y In an equation for ‘missingInstance’: missingInstance x y = x == y diff --git a/testsuite/tests/typecheck/should_fail/T11313.stderr b/testsuite/tests/typecheck/should_fail/T11313.stderr index ba71dd4e88..28b182b0fe 100644 --- a/testsuite/tests/typecheck/should_fail/T11313.stderr +++ b/testsuite/tests/typecheck/should_fail/T11313.stderr @@ -1,5 +1,5 @@ -T11313.hs:5:12: error: +T11313.hs:5:12: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘*’ has kind ‘*’ • In the type ‘(*)’ In the expression: fmap @(*) diff --git a/testsuite/tests/typecheck/should_fail/T11347.stderr b/testsuite/tests/typecheck/should_fail/T11347.stderr index 5f1e7ad61e..8c650e4ed3 100644 --- a/testsuite/tests/typecheck/should_fail/T11347.stderr +++ b/testsuite/tests/typecheck/should_fail/T11347.stderr @@ -1,11 +1,13 @@ -T11347.hs:6:41: error: +T11347.hs:6:41: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘b’ arising from the coercion of the method ‘unsafe’ from type ‘Id1 a -> Discern (Id1 a) b’ to type ‘Id2 a -> Discern (Id2 a) b’ ‘a’ is a rigid type variable bound by - the deriving clause for ‘UnsafeCast b (Id2 a)’ at T11347.hs:6:41-52 + the deriving clause for ‘UnsafeCast b (Id2 a)’ + at T11347.hs:6:41-52 ‘b’ is a rigid type variable bound by - the deriving clause for ‘UnsafeCast b (Id2 a)’ at T11347.hs:6:41-52 + the deriving clause for ‘UnsafeCast b (Id2 a)’ + at T11347.hs:6:41-52 • When deriving the instance for (UnsafeCast b (Id2 a)) diff --git a/testsuite/tests/typecheck/should_fail/T11355.stderr b/testsuite/tests/typecheck/should_fail/T11355.stderr index 6262a9057c..f9a5964b53 100644 --- a/testsuite/tests/typecheck/should_fail/T11355.stderr +++ b/testsuite/tests/typecheck/should_fail/T11355.stderr @@ -1,5 +1,5 @@ -T11355.hs:5:7: error: +T11355.hs:5:7: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the expression: const @_ @((forall a. a) -> forall a. a) () (id @(forall a. a)) diff --git a/testsuite/tests/typecheck/should_fail/T11356.stderr b/testsuite/tests/typecheck/should_fail/T11356.stderr index e0224022a2..0f1b4a746d 100644 --- a/testsuite/tests/typecheck/should_fail/T11356.stderr +++ b/testsuite/tests/typecheck/should_fail/T11356.stderr @@ -1,4 +1,4 @@ -T11356.hs:3:7: error: +T11356.hs:3:7: error: [GHC-83865] • Expected kind ‘k0 -> Constraint’, but ‘T p’ has kind ‘Constraint’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/typecheck/should_fail/T11464.stderr b/testsuite/tests/typecheck/should_fail/T11464.stderr index 11dda61a9f..61bb2dca70 100644 --- a/testsuite/tests/typecheck/should_fail/T11464.stderr +++ b/testsuite/tests/typecheck/should_fail/T11464.stderr @@ -1,5 +1,5 @@ -T11464.hs:5:14: error: +T11464.hs:5:14: error: [GHC-83865] • Expecting one more argument to ‘Either a’ Expected a type, but ‘Either a’ has kind ‘* -> *’ • In the first argument of ‘Eq’, namely ‘(Either a)’ diff --git a/testsuite/tests/typecheck/should_fail/T11514.stderr b/testsuite/tests/typecheck/should_fail/T11514.stderr index dd940a36b1..ed05b81e3e 100644 --- a/testsuite/tests/typecheck/should_fail/T11514.stderr +++ b/testsuite/tests/typecheck/should_fail/T11514.stderr @@ -1,5 +1,5 @@ -T11514.hs:6:7: error: +T11514.hs:6:7: error: [GHC-91028] • Couldn't match expected type ‘(Show a => a -> a) -> ()’ with actual type ‘a0’ Cannot instantiate unification variable ‘a0’ diff --git a/testsuite/tests/typecheck/should_fail/T11541.stderr b/testsuite/tests/typecheck/should_fail/T11541.stderr index 4302fb05dc..34da72ab07 100644 --- a/testsuite/tests/typecheck/should_fail/T11541.stderr +++ b/testsuite/tests/typecheck/should_fail/T11541.stderr @@ -1,2 +1,2 @@ -T11541.hs:8:12: error: Variable not in scope: foo +T11541.hs:8:12: error: [GHC-88464] Variable not in scope: foo diff --git a/testsuite/tests/typecheck/should_fail/T11563.stderr b/testsuite/tests/typecheck/should_fail/T11563.stderr index 5ed6d3c799..59e3c06416 100644 --- a/testsuite/tests/typecheck/should_fail/T11563.stderr +++ b/testsuite/tests/typecheck/should_fail/T11563.stderr @@ -1,5 +1,5 @@ -T11563.hs:6:19: error: +T11563.hs:6:19: error: [GHC-83865] • Expecting one more argument to ‘T’ Expected a type, but ‘T’ has kind ‘* -> *’ • In the first argument of ‘C’, namely ‘T’ diff --git a/testsuite/tests/typecheck/should_fail/T11672.stderr b/testsuite/tests/typecheck/should_fail/T11672.stderr index a0f8d7e36c..aa5b15fd5b 100644 --- a/testsuite/tests/typecheck/should_fail/T11672.stderr +++ b/testsuite/tests/typecheck/should_fail/T11672.stderr @@ -1,5 +1,5 @@ -T11672.hs:9:10: error: +T11672.hs:9:10: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘Symbol’ When matching types a0 :: Symbol diff --git a/testsuite/tests/typecheck/should_fail/T11698.stderr b/testsuite/tests/typecheck/should_fail/T11698.stderr index 4f2cf8e717..3a10a9f251 100644 --- a/testsuite/tests/typecheck/should_fail/T11698.stderr +++ b/testsuite/tests/typecheck/should_fail/T11698.stderr @@ -1,7 +1,6 @@ -T11698.hs:4:17: error: +T11698.hs:4:17: error: [GHC-83865] • Couldn't match expected type ‘Char’ with actual type ‘Bool’ • In the first argument of ‘k’, namely ‘True’ In the expression: k True In the expression: (k 'v', k True) - diff --git a/testsuite/tests/typecheck/should_fail/T11947a.stderr b/testsuite/tests/typecheck/should_fail/T11947a.stderr index 46a955f138..20d6a541ba 100644 --- a/testsuite/tests/typecheck/should_fail/T11947a.stderr +++ b/testsuite/tests/typecheck/should_fail/T11947a.stderr @@ -1,5 +1,5 @@ -T11947a.hs:4:19: error: +T11947a.hs:4:19: error: [GHC-39999] • Could not deduce ‘RealFloat a0’ from the context: RealFloat a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T11948.stderr b/testsuite/tests/typecheck/should_fail/T11948.stderr index b618a586b1..5380d9ed4f 100644 --- a/testsuite/tests/typecheck/should_fail/T11948.stderr +++ b/testsuite/tests/typecheck/should_fail/T11948.stderr @@ -1,5 +1,5 @@ -T11948.hs:21:18: error: +T11948.hs:21:18: error: [GHC-39999] • Could not deduce ‘Bar (F zq) zq’ arising from a use of ‘bar’ from the context: Bar (Foo (F zq)) (Foo zq) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T11974b.stderr b/testsuite/tests/typecheck/should_fail/T11974b.stderr index db91ac98ea..eb40f2de12 100644 --- a/testsuite/tests/typecheck/should_fail/T11974b.stderr +++ b/testsuite/tests/typecheck/should_fail/T11974b.stderr @@ -1,16 +1,15 @@ -T11974b.hs:5:1: error: +T11974b.hs:5:1: error: [GHC-88933] • The default type ‘Blah’ is not an instance of ‘Num’ or ‘Show’ or ‘Eq’ or ‘Ord’ or ‘Foldable’ or ‘Traversable’ • When checking the types in a default declaration -T11974b.hs:5:1: error: +T11974b.hs:5:1: error: [GHC-88933] • The default type ‘Monad’ is not an instance of ‘Num’ or ‘Show’ or ‘Eq’ or ‘Ord’ or ‘Foldable’ or ‘Traversable’ • When checking the types in a default declaration -T11974b.hs:5:1: error: +T11974b.hs:5:1: error: [GHC-88933] • The default type ‘Either’ is not an instance of ‘Num’ or ‘Show’ or ‘Eq’ or ‘Ord’ or ‘Foldable’ or ‘Traversable’ • When checking the types in a default declaration - diff --git a/testsuite/tests/typecheck/should_fail/T11990a.stderr b/testsuite/tests/typecheck/should_fail/T11990a.stderr index f875e677da..d0746d55da 100644 --- a/testsuite/tests/typecheck/should_fail/T11990a.stderr +++ b/testsuite/tests/typecheck/should_fail/T11990a.stderr @@ -1,5 +1,5 @@ -T11990a.hs:18:6: - Unexpected type @ PartialTF: Char - In the expression: testPartialTF 'a' +T11990a.hs:18:6: error: [GHC-64725] + • Unexpected type @ PartialTF: Char + • In the expression: testPartialTF 'a' In an equation for ‘t1’: t1 = testPartialTF 'a' diff --git a/testsuite/tests/typecheck/should_fail/T11990b.stderr b/testsuite/tests/typecheck/should_fail/T11990b.stderr index 9a92d439d8..834d22f158 100644 --- a/testsuite/tests/typecheck/should_fail/T11990b.stderr +++ b/testsuite/tests/typecheck/should_fail/T11990b.stderr @@ -1,5 +1,5 @@ -T11990b.hs:28:6: - Unexpected type @ PartialTF: Char - In the expression: testNesPartialTF 'a' +T11990b.hs:28:6: error: [GHC-64725] + • Unexpected type @ PartialTF: Char + • In the expression: testNesPartialTF 'a' In an equation for ‘t2’: t2 = testNesPartialTF 'a' diff --git a/testsuite/tests/typecheck/should_fail/T12045b.stderr b/testsuite/tests/typecheck/should_fail/T12045b.stderr index fcb65b133d..237c26ac55 100644 --- a/testsuite/tests/typecheck/should_fail/T12045b.stderr +++ b/testsuite/tests/typecheck/should_fail/T12045b.stderr @@ -1,5 +1,5 @@ -T12045b.hs:7:6: error: +T12045b.hs:7:6: error: [GHC-20967] • Cannot apply function of kind ‘*’ to visible kind argument ‘Type’ • In the type signature: x :: Int @Type diff --git a/testsuite/tests/typecheck/should_fail/T12045c.stderr b/testsuite/tests/typecheck/should_fail/T12045c.stderr index 86a51a49ac..1764bc8660 100644 --- a/testsuite/tests/typecheck/should_fail/T12045c.stderr +++ b/testsuite/tests/typecheck/should_fail/T12045c.stderr @@ -1,5 +1,5 @@ -T12045c.hs:8:3: error: +T12045c.hs:8:3: error: [GHC-20967] • Cannot apply function of kind ‘k0 -> k1’ to visible kind argument ‘Type’ • In the type family declaration for ‘F’ diff --git a/testsuite/tests/typecheck/should_fail/T12083a.stderr b/testsuite/tests/typecheck/should_fail/T12083a.stderr index f5763509ab..54457a7d09 100644 --- a/testsuite/tests/typecheck/should_fail/T12083a.stderr +++ b/testsuite/tests/typecheck/should_fail/T12083a.stderr @@ -1,5 +1,5 @@ -T12083a.hs:6:1: error: +T12083a.hs:6:1: error: [GHC-91510] • Illegal qualified type: Num a => a • In the type synonym declaration for ‘Constrd’ Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/T12083b.stderr b/testsuite/tests/typecheck/should_fail/T12083b.stderr index e9733c9945..5359fbec87 100644 --- a/testsuite/tests/typecheck/should_fail/T12083b.stderr +++ b/testsuite/tests/typecheck/should_fail/T12083b.stderr @@ -1,5 +1,5 @@ -T12083b.hs:7:5: error: +T12083b.hs:7:5: error: [GHC-91510] • Illegal qualified type: Eq a => r • When checking the class method: test :: forall a r. Class a => a -> (Eq a => r) -> r diff --git a/testsuite/tests/typecheck/should_fail/T12102b.stderr b/testsuite/tests/typecheck/should_fail/T12102b.stderr index 49bce53985..57ba1395b6 100644 --- a/testsuite/tests/typecheck/should_fail/T12102b.stderr +++ b/testsuite/tests/typecheck/should_fail/T12102b.stderr @@ -1,5 +1,5 @@ -T12102b.hs:21:25: error: +T12102b.hs:21:25: error: [GHC-83865] • Couldn't match expected kind ‘'True’ with actual kind ‘IsTypeLit a’ • In the first argument of ‘Show’, namely ‘(T a)’ diff --git a/testsuite/tests/typecheck/should_fail/T12151.stderr b/testsuite/tests/typecheck/should_fail/T12151.stderr index 8360c68b9f..21fea0bdeb 100644 --- a/testsuite/tests/typecheck/should_fail/T12151.stderr +++ b/testsuite/tests/typecheck/should_fail/T12151.stderr @@ -5,7 +5,7 @@ T12151.hs:9:13: error: • When checking the class method: put :: forall a. Put a => a In the class declaration for ‘Put’ -T12151.hs:9:13: error: +T12151.hs:9:13: error: [GHC-39999] • Could not deduce ‘Put a0’ from the context: Put a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T12170a.stderr b/testsuite/tests/typecheck/should_fail/T12170a.stderr index a8f349df43..85fa3554e9 100644 --- a/testsuite/tests/typecheck/should_fail/T12170a.stderr +++ b/testsuite/tests/typecheck/should_fail/T12170a.stderr @@ -1,9 +1,9 @@ -T12170a.hs:20:35: error: +T12170a.hs:20:35: error: [GHC-83865] • Couldn't match type ‘Ref m0’ with ‘IORef’ Expected: IORef (f0 ()) -> m0 (f0 ()) Actual: Ref m0 (f0 ()) -> m0 (f0 ()) - The type variable ‘m0’ is ambiguous + The type variable ‘m0’ is ambiguous • In the second argument of ‘(.)’, namely ‘readRef’ In the second argument of ‘(>>=)’, namely ‘join . readRef’ In the expression: newRef (pure ()) >>= join . readRef diff --git a/testsuite/tests/typecheck/should_fail/T12177.stderr b/testsuite/tests/typecheck/should_fail/T12177.stderr index e3262d3e31..3c0b659389 100644 --- a/testsuite/tests/typecheck/should_fail/T12177.stderr +++ b/testsuite/tests/typecheck/should_fail/T12177.stderr @@ -1,5 +1,5 @@ -T12177.hs:3:19: error: +T12177.hs:3:19: error: [GHC-88464] • Found hole: _ :: p3 Where: ‘p3’ is a rigid type variable bound by the inferred type of bar :: p1 -> p2 -> p3 @@ -11,7 +11,7 @@ T12177.hs:3:19: error: x :: p2 (bound at T12177.hs:3:14) bar :: p1 -> p2 -> p3 (bound at T12177.hs:3:1) -T12177.hs:5:37: error: +T12177.hs:5:37: error: [GHC-88464] • Found hole: _ :: p6 Where: ‘p6’ is a rigid type variable bound by the inferred type of baz :: p1 -> p2 -> p3 -> p4 -> p5 -> p6 diff --git a/testsuite/tests/typecheck/should_fail/T12178a.stderr b/testsuite/tests/typecheck/should_fail/T12178a.stderr index 46fb5a6614..da9a0b15ab 100644 --- a/testsuite/tests/typecheck/should_fail/T12178a.stderr +++ b/testsuite/tests/typecheck/should_fail/T12178a.stderr @@ -1,5 +1,5 @@ -T12178a.hs:7:12: error: +T12178a.hs:7:12: error: [GHC-44432] The INLINE pragma for ‘C’ lacks an accompanying binding Suggested fix: Move the INLINE pragma to the declaration site of ‘C’. diff --git a/testsuite/tests/typecheck/should_fail/T12373.stderr b/testsuite/tests/typecheck/should_fail/T12373.stderr index f53f5ea7e2..71654355bd 100644 --- a/testsuite/tests/typecheck/should_fail/T12373.stderr +++ b/testsuite/tests/typecheck/should_fail/T12373.stderr @@ -1,5 +1,5 @@ -T12373.hs:10:19: error: +T12373.hs:10:19: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a0 :: * diff --git a/testsuite/tests/typecheck/should_fail/T12406.stderr b/testsuite/tests/typecheck/should_fail/T12406.stderr index 5219a5f290..6e3e337f62 100644 --- a/testsuite/tests/typecheck/should_fail/T12406.stderr +++ b/testsuite/tests/typecheck/should_fail/T12406.stderr @@ -1,3 +1,3 @@ -T12406.hs:20:28: error: +T12406.hs:20:28: error: [GHC-88464] Variable not in scope: join :: m0 (f0 ()) -> IO () diff --git a/testsuite/tests/typecheck/should_fail/T12430.stderr b/testsuite/tests/typecheck/should_fail/T12430.stderr index eab71af1fc..2b6c4e4b3e 100644 --- a/testsuite/tests/typecheck/should_fail/T12430.stderr +++ b/testsuite/tests/typecheck/should_fail/T12430.stderr @@ -1,5 +1,5 @@ -T12430.hs:7:3: error: +T12430.hs:7:3: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type variable ‘x’ cannot be inferred from the right-hand side. In the type family equation: diff --git a/testsuite/tests/typecheck/should_fail/T12529.stderr b/testsuite/tests/typecheck/should_fail/T12529.stderr index 6819cd8dd2..fcbf022227 100644 --- a/testsuite/tests/typecheck/should_fail/T12529.stderr +++ b/testsuite/tests/typecheck/should_fail/T12529.stderr @@ -1,2 +1,2 @@ -T12529.hs:5:5: error: Variable not in scope: p +T12529.hs:5:5: error: [GHC-88464] Variable not in scope: p diff --git a/testsuite/tests/typecheck/should_fail/T12563.stderr b/testsuite/tests/typecheck/should_fail/T12563.stderr index 4b64ef1cc7..abfb75ce64 100644 --- a/testsuite/tests/typecheck/should_fail/T12563.stderr +++ b/testsuite/tests/typecheck/should_fail/T12563.stderr @@ -1,5 +1,5 @@ -T12563.hs:8:15: error: +T12563.hs:8:15: error: [GHC-91028] • Couldn't match expected type ‘(forall a. f a) -> f r’ with actual type ‘p’ Cannot equate type variable ‘p’ diff --git a/testsuite/tests/typecheck/should_fail/T12589.stderr b/testsuite/tests/typecheck/should_fail/T12589.stderr index a2587e2778..e13b7e5baf 100644 --- a/testsuite/tests/typecheck/should_fail/T12589.stderr +++ b/testsuite/tests/typecheck/should_fail/T12589.stderr @@ -1,2 +1,3 @@ -T12589.hs:13:3: error: Variable not in scope: (&) :: t0 -> t1 -> t +T12589.hs:13:3: error: [GHC-88464] + Variable not in scope: (&) :: t0 -> t1 -> t diff --git a/testsuite/tests/typecheck/should_fail/T12648.stderr b/testsuite/tests/typecheck/should_fail/T12648.stderr index 6f12341c06..9b935cf8d4 100644 --- a/testsuite/tests/typecheck/should_fail/T12648.stderr +++ b/testsuite/tests/typecheck/should_fail/T12648.stderr @@ -1,5 +1,5 @@ -T12648.hs:76:9: error: +T12648.hs:76:9: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘()’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T12729.stderr b/testsuite/tests/typecheck/should_fail/T12729.stderr index 9fdcd6f940..7bb0aedc12 100644 --- a/testsuite/tests/typecheck/should_fail/T12729.stderr +++ b/testsuite/tests/typecheck/should_fail/T12729.stderr @@ -1,5 +1,5 @@ -T12729.hs:7:1: error: +T12729.hs:7:1: error: [GHC-55233] • Newtype has non-* return kind ‘TYPE 'IntRep’ • In the newtype declaration for ‘A’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/T12785b.stderr b/testsuite/tests/typecheck/should_fail/T12785b.stderr index f251d17ea8..ee1158ce9e 100644 --- a/testsuite/tests/typecheck/should_fail/T12785b.stderr +++ b/testsuite/tests/typecheck/should_fail/T12785b.stderr @@ -1,5 +1,5 @@ -T12785b.hs:30:65: error: +T12785b.hs:30:65: error: [GHC-25897] • Could not deduce ‘Payload ('S n) (Payload n s1) ~ s’ arising from a use of ‘SBranchX’ from the context: m ~ 'S n diff --git a/testsuite/tests/typecheck/should_fail/T12837.stderr b/testsuite/tests/typecheck/should_fail/T12837.stderr index b2bca63280..98e08935e5 100644 --- a/testsuite/tests/typecheck/should_fail/T12837.stderr +++ b/testsuite/tests/typecheck/should_fail/T12837.stderr @@ -1,12 +1,12 @@ -T12837.hs:10:10: error: +T12837.hs:10:10: error: [GHC-97044] • Class ‘Typeable’ does not support user-specified instances. • In the instance declaration for ‘Typeable K’ -T12837.hs:11:10: error: +T12837.hs:11:10: error: [GHC-97044] • Class ‘KnownNat’ does not support user-specified instances. • In the instance declaration for ‘KnownNat n’ -T12837.hs:12:10: error: +T12837.hs:12:10: error: [GHC-97044] • Class ‘KnownSymbol’ does not support user-specified instances. • In the instance declaration for ‘KnownSymbol n’ diff --git a/testsuite/tests/typecheck/should_fail/T12906.stderr b/testsuite/tests/typecheck/should_fail/T12906.stderr index 0de9794533..37dc0e93b3 100644 --- a/testsuite/tests/typecheck/should_fail/T12906.stderr +++ b/testsuite/tests/typecheck/should_fail/T12906.stderr @@ -1,5 +1,5 @@ -T12906.hs:2:7: error: +T12906.hs:2:7: error: [GHC-83865] • Couldn't match type: IO () with: [Char] Expected: String diff --git a/testsuite/tests/typecheck/should_fail/T12918b.stderr b/testsuite/tests/typecheck/should_fail/T12918b.stderr index bb53f774b5..b812096660 100644 --- a/testsuite/tests/typecheck/should_fail/T12918b.stderr +++ b/testsuite/tests/typecheck/should_fail/T12918b.stderr @@ -13,7 +13,7 @@ T12918b.hs:12:11: error: bar2 :: forall a b. Foo1 a => a -> b In the class declaration for ‘Foo1’ -T12918b.hs:12:11: error: +T12918b.hs:12:11: error: [GHC-39999] • Could not deduce ‘Foo1 a0’ from the context: Foo1 a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T12921.stderr b/testsuite/tests/typecheck/should_fail/T12921.stderr index 8b1e638d27..3808817421 100644 --- a/testsuite/tests/typecheck/should_fail/T12921.stderr +++ b/testsuite/tests/typecheck/should_fail/T12921.stderr @@ -1,5 +1,5 @@ -T12921.hs:4:1: error: +T12921.hs:4:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from an annotation prevents the constraint ‘(Data.Data.Data a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -14,7 +14,7 @@ T12921.hs:4:1: error: • In the annotation: {-# ANN module "HLint: ignore Reduce duplication" #-} -T12921.hs:4:16: error: +T12921.hs:4:16: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from the literal ‘"HLint: ignore Reduce duplication"’ prevents the constraint ‘(Data.String.IsString a0)’ from being solved. @@ -27,5 +27,5 @@ T12921.hs:4:16: error: • In the annotation: {-# ANN module "HLint: ignore Reduce duplication" #-} -T12921.hs:7:8: error: +T12921.hs:7:8: error: [GHC-88464] Variable not in scope: choice :: [a0] -> Int -> Int diff --git a/testsuite/tests/typecheck/should_fail/T12947.stderr b/testsuite/tests/typecheck/should_fail/T12947.stderr index a5d9193db1..299c6f9545 100644 --- a/testsuite/tests/typecheck/should_fail/T12947.stderr +++ b/testsuite/tests/typecheck/should_fail/T12947.stderr @@ -1,3 +1,3 @@ -T12947.hs:15:14: error: +T12947.hs:15:14: error: [GHC-88464] Data constructor not in scope: ContT :: (p0 -> m0 a0) -> P m a diff --git a/testsuite/tests/typecheck/should_fail/T12966.stderr b/testsuite/tests/typecheck/should_fail/T12966.stderr index dd63bf47ca..8de98d14b1 100644 --- a/testsuite/tests/typecheck/should_fail/T12966.stderr +++ b/testsuite/tests/typecheck/should_fail/T12966.stderr @@ -1,5 +1,5 @@ -T12966.hs:4:39: error: +T12966.hs:4:39: error: [GHC-83865] • Expecting one more argument to ‘(~) (Maybe d)’ Expected a type, but ‘(~) (Maybe d)’ has kind ‘* -> Constraint’ • In the type ‘forall d. (c d) => ((~) (Maybe d))’ diff --git a/testsuite/tests/typecheck/should_fail/T13068.stderr b/testsuite/tests/typecheck/should_fail/T13068.stderr index d78e402f76..b53d15051f 100644 --- a/testsuite/tests/typecheck/should_fail/T13068.stderr +++ b/testsuite/tests/typecheck/should_fail/T13068.stderr @@ -1,6 +1,6 @@ [1 of 5] Compiling T13068[boot] ( T13068.hs-boot, T13068.o-boot ) [2 of 5] Compiling T13068a ( T13068a.hs, T13068a.o ) -T13068a.hs:3:10: error: +T13068a.hs:3:10: error: [GHC-51758] • Cannot define instance for abstract class ‘C’ • In the instance declaration for ‘C Int’ diff --git a/testsuite/tests/typecheck/should_fail/T13075.stderr b/testsuite/tests/typecheck/should_fail/T13075.stderr index 89abb9afe3..372a5982d9 100644 --- a/testsuite/tests/typecheck/should_fail/T13075.stderr +++ b/testsuite/tests/typecheck/should_fail/T13075.stderr @@ -1,3 +1,3 @@ -T13075.hs:5:1: error: +T13075.hs:5:1: error: [GHC-48099] Top-level strict bindings aren't allowed: !(Just x) = Nothing diff --git a/testsuite/tests/typecheck/should_fail/T13292.stderr b/testsuite/tests/typecheck/should_fail/T13292.stderr index 9d0d3fe7ee..d56f7ce2bb 100644 --- a/testsuite/tests/typecheck/should_fail/T13292.stderr +++ b/testsuite/tests/typecheck/should_fail/T13292.stderr @@ -1,5 +1,5 @@ -T13292a.hs:4:12: warning: [-Wdeferred-type-errors (in -Wdefault)] +T13292a.hs:4:12: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Ambiguous type variable ‘m0’ arising from a use of ‘return’ prevents the constraint ‘(Monad m0)’ from being solved. Relevant bindings include @@ -14,13 +14,13 @@ T13292a.hs:4:12: warning: [-Wdeferred-type-errors (in -Wdefault)] • In the expression: return () In an equation for ‘someFunc’: someFunc = return () -T13292.hs:6:1: warning: [-Wdeferred-type-errors (in -Wdefault)] +T13292.hs:6:1: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘GHC.Types.Any’ with ‘IO’ Expected: IO () Actual: GHC.Types.Any () • When checking the type of the IO action ‘main’ -T13292.hs:6:1: warning: [-Wdeferred-type-errors (in -Wdefault)] +T13292.hs:6:1: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘GHC.Types.Any’ with ‘IO’ Expected: IO () Actual: GHC.Types.Any () diff --git a/testsuite/tests/typecheck/should_fail/T13311.stderr b/testsuite/tests/typecheck/should_fail/T13311.stderr index e858a6037e..5ca2cbc87f 100644 --- a/testsuite/tests/typecheck/should_fail/T13311.stderr +++ b/testsuite/tests/typecheck/should_fail/T13311.stderr @@ -1,5 +1,5 @@ -T13311.hs:9:3: error: +T13311.hs:9:3: error: [GHC-83865] • Couldn't match expected type: IO a0 with actual type: Maybe a1 -> Maybe b0 • Probable cause: ‘f’ is applied to too few arguments diff --git a/testsuite/tests/typecheck/should_fail/T13320.stderr b/testsuite/tests/typecheck/should_fail/T13320.stderr index 4442069d15..92a755c11c 100644 --- a/testsuite/tests/typecheck/should_fail/T13320.stderr +++ b/testsuite/tests/typecheck/should_fail/T13320.stderr @@ -1,5 +1,5 @@ -T13320.hs:32:21: error: +T13320.hs:32:21: error: [GHC-18872] • Couldn't match type: X_Var ξ with: TermX ξ arising from a use of ‘genTerm’ diff --git a/testsuite/tests/typecheck/should_fail/T13446.stderr b/testsuite/tests/typecheck/should_fail/T13446.stderr index a0308f8be2..819ea10711 100644 --- a/testsuite/tests/typecheck/should_fail/T13446.stderr +++ b/testsuite/tests/typecheck/should_fail/T13446.stderr @@ -1,5 +1,5 @@ -T13446.hs:34:17: error: +T13446.hs:34:17: error: [GHC-83865] • Couldn't match expected type ‘Dict (JReference (JComparable a))’ with actual type ‘Char’ • In the first argument of ‘Sub’, namely ‘'a'’ diff --git a/testsuite/tests/typecheck/should_fail/T13487.stderr b/testsuite/tests/typecheck/should_fail/T13487.stderr index c6f6c26597..6d0e7839f5 100644 --- a/testsuite/tests/typecheck/should_fail/T13487.stderr +++ b/testsuite/tests/typecheck/should_fail/T13487.stderr @@ -1,5 +1,5 @@ -T13487.hs:19:7: warning: [-Wdeferred-type-errors (in -Wdefault)] +T13487.hs:19:7: warning: [GHC-64725] [-Wdeferred-type-errors (in -Wdefault)] • GHC panic in 3... 2... 1... • In the expression: K 'a' 'b' In an equation for ‘foo’: foo = K 'a' 'b' diff --git a/testsuite/tests/typecheck/should_fail/T13506.stderr b/testsuite/tests/typecheck/should_fail/T13506.stderr index 50ea1b21c5..7a7434b6bd 100644 --- a/testsuite/tests/typecheck/should_fail/T13506.stderr +++ b/testsuite/tests/typecheck/should_fail/T13506.stderr @@ -1,5 +1,5 @@ -T13506.hs:16:12: error: +T13506.hs:16:12: error: [GHC-18872] • Couldn't match type ‘Char’ with ‘()’ arising from a functional dependency between: constraint ‘FunDep [Char] ()’ arising from a use of ‘singleton’ diff --git a/testsuite/tests/typecheck/should_fail/T13530.stderr b/testsuite/tests/typecheck/should_fail/T13530.stderr index 4b540f297c..31c294d654 100644 --- a/testsuite/tests/typecheck/should_fail/T13530.stderr +++ b/testsuite/tests/typecheck/should_fail/T13530.stderr @@ -1,5 +1,5 @@ -T13530.hs:11:7: error: +T13530.hs:11:7: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a0 :: * diff --git a/testsuite/tests/typecheck/should_fail/T13610.stderr b/testsuite/tests/typecheck/should_fail/T13610.stderr index cfff3dc863..1a060eac76 100644 --- a/testsuite/tests/typecheck/should_fail/T13610.stderr +++ b/testsuite/tests/typecheck/should_fail/T13610.stderr @@ -1,5 +1,5 @@ -T13610.hs:11:15: error: +T13610.hs:11:15: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a :: * diff --git a/testsuite/tests/typecheck/should_fail/T13640.stderr b/testsuite/tests/typecheck/should_fail/T13640.stderr index 28afc7d55e..7c4a944b17 100644 --- a/testsuite/tests/typecheck/should_fail/T13640.stderr +++ b/testsuite/tests/typecheck/should_fail/T13640.stderr @@ -1,5 +1,5 @@ -T13640.hs:13:22: error: +T13640.hs:13:22: error: [GHC-88464] Variable not in scope: (.) :: (f0 a c0 -> f0 b c0) diff --git a/testsuite/tests/typecheck/should_fail/T13677.stderr b/testsuite/tests/typecheck/should_fail/T13677.stderr index c29aba248e..09dac46a9d 100644 --- a/testsuite/tests/typecheck/should_fail/T13677.stderr +++ b/testsuite/tests/typecheck/should_fail/T13677.stderr @@ -1,4 +1,4 @@ -T13677.hs:10:8: error: +T13677.hs:10:8: error: [GHC-83865] • Expected a constraint, but ‘Dict (Int ~ Int)’ has kind ‘*’ • In the type signature: foo :: Dict (Int ~ Int) => Int diff --git a/testsuite/tests/typecheck/should_fail/T13819.stderr b/testsuite/tests/typecheck/should_fail/T13819.stderr index 917345f710..4e08f50438 100644 --- a/testsuite/tests/typecheck/should_fail/T13819.stderr +++ b/testsuite/tests/typecheck/should_fail/T13819.stderr @@ -1,5 +1,5 @@ -T13819.hs:12:17: error: +T13819.hs:12:17: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘_ -> WrappedMonad A _’ has kind ‘*’ • In the type ‘(_ -> WrappedMonad A _)’ In the expression: pure @(_ -> WrappedMonad A _) @(_ -> A _) pure diff --git a/testsuite/tests/typecheck/should_fail/T13834.stderr b/testsuite/tests/typecheck/should_fail/T13834.stderr index 864b5ab7ae..ba0aafe464 100644 --- a/testsuite/tests/typecheck/should_fail/T13834.stderr +++ b/testsuite/tests/typecheck/should_fail/T13834.stderr @@ -1,3 +1,3 @@ -T13834.hs:5:7: +T13834.hs:5:7: error: [GHC-88464] Variable not in scope: notInScope :: Bool -> t diff --git a/testsuite/tests/typecheck/should_fail/T13902.stderr b/testsuite/tests/typecheck/should_fail/T13902.stderr index c7630039aa..37ec4b401b 100644 --- a/testsuite/tests/typecheck/should_fail/T13902.stderr +++ b/testsuite/tests/typecheck/should_fail/T13902.stderr @@ -1,5 +1,5 @@ -T13902.hs:8:5: error: +T13902.hs:8:5: error: [GHC-83865] • Couldn't match expected type ‘t0 -> Int’ with actual type ‘Int’ • The function ‘f’ is applied to two value arguments, but its type ‘Int -> Int’ has only one diff --git a/testsuite/tests/typecheck/should_fail/T13909.stderr b/testsuite/tests/typecheck/should_fail/T13909.stderr index d370d9ed05..02067ba714 100644 --- a/testsuite/tests/typecheck/should_fail/T13909.stderr +++ b/testsuite/tests/typecheck/should_fail/T13909.stderr @@ -1,5 +1,5 @@ -T13909.hs:11:18: error: +T13909.hs:11:18: error: [GHC-91028] • Expecting two more arguments to ‘Hm’ Expected kind ‘k’, but ‘Hm’ has kind ‘forall k -> k -> *’ Cannot equate type variable ‘k’ diff --git a/testsuite/tests/typecheck/should_fail/T13983.stderr b/testsuite/tests/typecheck/should_fail/T13983.stderr index aba88bc9f2..c3253aa771 100644 --- a/testsuite/tests/typecheck/should_fail/T13983.stderr +++ b/testsuite/tests/typecheck/should_fail/T13983.stderr @@ -1,2 +1,2 @@ -T13983.hs:7:25: error: Not in scope: type variable ‘k’ +T13983.hs:7:25: error: [GHC-76037] Not in scope: type variable ‘k’ diff --git a/testsuite/tests/typecheck/should_fail/T14000.stderr b/testsuite/tests/typecheck/should_fail/T14000.stderr index 8b51e37641..69cdc26ff1 100644 --- a/testsuite/tests/typecheck/should_fail/T14000.stderr +++ b/testsuite/tests/typecheck/should_fail/T14000.stderr @@ -1,2 +1,3 @@ -T14000.hs:8:9: error: Variable not in scope: noSuchThing +T14000.hs:8:9: error: [GHC-88464] + Variable not in scope: noSuchThing diff --git a/testsuite/tests/typecheck/should_fail/T14048a.stderr b/testsuite/tests/typecheck/should_fail/T14048a.stderr index 9767d3a45c..595da5e4ad 100644 --- a/testsuite/tests/typecheck/should_fail/T14048a.stderr +++ b/testsuite/tests/typecheck/should_fail/T14048a.stderr @@ -1,4 +1,4 @@ -T14048a.hs:6:1: error: +T14048a.hs:6:1: error: [GHC-55233] • Data type has non-* return kind ‘Constraint’ • In the data declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/T14048b.stderr b/testsuite/tests/typecheck/should_fail/T14048b.stderr index d265193b69..8b4e8295b3 100644 --- a/testsuite/tests/typecheck/should_fail/T14048b.stderr +++ b/testsuite/tests/typecheck/should_fail/T14048b.stderr @@ -1,5 +1,5 @@ -T14048b.hs:7:1: error: +T14048b.hs:7:1: error: [GHC-55233] • Data family has non-TYPE and non-variable return kind ‘Constraint’ • In the data family declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/T14048c.stderr b/testsuite/tests/typecheck/should_fail/T14048c.stderr index e1bb372958..d74333b444 100644 --- a/testsuite/tests/typecheck/should_fail/T14048c.stderr +++ b/testsuite/tests/typecheck/should_fail/T14048c.stderr @@ -1,4 +1,4 @@ -T14048c.hs:9:1: error: +T14048c.hs:9:1: error: [GHC-55233] • Data instance has non-* return kind ‘Constraint’ • In the data instance declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/T14055.stderr b/testsuite/tests/typecheck/should_fail/T14055.stderr index 19e4d59112..c7017b8b56 100644 --- a/testsuite/tests/typecheck/should_fail/T14055.stderr +++ b/testsuite/tests/typecheck/should_fail/T14055.stderr @@ -1,5 +1,5 @@ -T14055.hs:6:18: error: +T14055.hs:6:18: error: [GHC-83865] • Expected kind ‘() -> X’, but ‘t -> ()’ has kind ‘*’ • In the first argument of ‘RollX’, namely ‘(t -> ())’ In the type ‘RollX (t -> ())’ diff --git a/testsuite/tests/typecheck/should_fail/T14232.stderr b/testsuite/tests/typecheck/should_fail/T14232.stderr index a497be7b19..0612940928 100644 --- a/testsuite/tests/typecheck/should_fail/T14232.stderr +++ b/testsuite/tests/typecheck/should_fail/T14232.stderr @@ -1,4 +1,4 @@ -T14232.hs:3:6: error: +T14232.hs:3:6: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘String -> a’ has kind ‘*’ • In the type signature: f :: (String -> a) String -> a diff --git a/testsuite/tests/typecheck/should_fail/T14325.stderr b/testsuite/tests/typecheck/should_fail/T14325.stderr index 6cf71b5e08..787a602209 100644 --- a/testsuite/tests/typecheck/should_fail/T14325.stderr +++ b/testsuite/tests/typecheck/should_fail/T14325.stderr @@ -1,5 +1,5 @@ -T14325.hs:11:9: error: +T14325.hs:11:9: error: [GHC-25897] • Couldn't match type ‘b’ with ‘f b’ arising from a superclass required to satisfy ‘C b (f b)’, arising from a use of ‘foo’ diff --git a/testsuite/tests/typecheck/should_fail/T14390.stderr b/testsuite/tests/typecheck/should_fail/T14390.stderr index 82646d8d8c..f593a6b7aa 100644 --- a/testsuite/tests/typecheck/should_fail/T14390.stderr +++ b/testsuite/tests/typecheck/should_fail/T14390.stderr @@ -1,4 +1,4 @@ -T14390.hs:4:10: error: +T14390.hs:4:10: error: [GHC-97044] • Class ‘~~’ does not support user-specified instances. • In the instance declaration for ‘(~~) Int Int’ diff --git a/testsuite/tests/typecheck/should_fail/T14605.stderr b/testsuite/tests/typecheck/should_fail/T14605.stderr index 04d8b5a67d..3eca58c656 100644 --- a/testsuite/tests/typecheck/should_fail/T14605.stderr +++ b/testsuite/tests/typecheck/should_fail/T14605.stderr @@ -1,5 +1,5 @@ -T14605.hs:14:13: error: +T14605.hs:14:13: error: [GHC-10283] • Couldn't match representation of type ‘x’ with that of ‘()’ arising from a use of ‘coerce’ ‘x’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/should_fail/T14607.stderr b/testsuite/tests/typecheck/should_fail/T14607.stderr index b7d60593e1..7485a6b989 100644 --- a/testsuite/tests/typecheck/should_fail/T14607.stderr +++ b/testsuite/tests/typecheck/should_fail/T14607.stderr @@ -1,11 +1,11 @@ -T14607.hs:22:9: error: +T14607.hs:22:9: error: [GHC-83865] • Expecting one more argument to ‘LamCons a '()’ - Expected a type, but ‘LamCons a '()’ has kind ‘() -> *’ - • In the type signature: mk :: LamCons a '() + Expected a type, but ‘LamCons a '()’ has kind ‘() -> *’ + • In the type signature: mk :: LamCons a '() In the instance declaration for ‘Mk a’ -T14607.hs:22:19: error: +T14607.hs:22:19: error: [GHC-83865] • Expected a type, but ‘'()’ has kind ‘()’ • In the second argument of ‘LamCons’, namely ‘'()’ In the type signature: mk :: LamCons a '() diff --git a/testsuite/tests/typecheck/should_fail/T14618.stderr b/testsuite/tests/typecheck/should_fail/T14618.stderr index 6cf768bbce..0996d4eb74 100644 --- a/testsuite/tests/typecheck/should_fail/T14618.stderr +++ b/testsuite/tests/typecheck/should_fail/T14618.stderr @@ -1,5 +1,5 @@ -T14618.hs:7:14: error: +T14618.hs:7:14: error: [GHC-25897] • Couldn't match expected type ‘b’ with actual type ‘a’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T14761b.stderr b/testsuite/tests/typecheck/should_fail/T14761b.stderr index af557c4725..8cd05c2281 100644 --- a/testsuite/tests/typecheck/should_fail/T14761b.stderr +++ b/testsuite/tests/typecheck/should_fail/T14761b.stderr @@ -1,2 +1,3 @@ -T14761b.hs:5:19: error: Operator applied to too few arguments: ! +T14761b.hs:5:19: error: [GHC-24180] + Operator applied to too few arguments: ! diff --git a/testsuite/tests/typecheck/should_fail/T14884.stderr b/testsuite/tests/typecheck/should_fail/T14884.stderr index d949df2ec6..30e1ffbbfc 100644 --- a/testsuite/tests/typecheck/should_fail/T14884.stderr +++ b/testsuite/tests/typecheck/should_fail/T14884.stderr @@ -1,5 +1,5 @@ -T14884.hs:4:5: error: +T14884.hs:4:5: error: [GHC-88464] • Found hole: _ :: (a0 -> IO ()) -> String -> IO () Where: ‘a0’ is an ambiguous type variable • In the expression: _ print "abc" @@ -31,7 +31,7 @@ T14884.hs:4:5: error: (imported from ‘Prelude’ at T14884.hs:1:8-13 (and originally defined in ‘GHC.Base’)) -T14884.hs:4:7: error: +T14884.hs:4:7: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘print’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/T14904a.stderr b/testsuite/tests/typecheck/should_fail/T14904a.stderr index 95aee86ee4..cd0e6e7bae 100644 --- a/testsuite/tests/typecheck/should_fail/T14904a.stderr +++ b/testsuite/tests/typecheck/should_fail/T14904a.stderr @@ -1,7 +1,7 @@ -T14904a.hs:10:6: error: +T14904a.hs:10:6: error: [GHC-91028] • Expected kind ‘forall (a :: k2). g a’, but ‘f’ has kind ‘k1’ - • Cannot equate type variable ‘k1’ + Cannot equate type variable ‘k1’ with a kind involving polytypes: forall (a :: k2). g a ‘k1’ is a rigid type variable bound by a family instance declaration diff --git a/testsuite/tests/typecheck/should_fail/T14904b.stderr b/testsuite/tests/typecheck/should_fail/T14904b.stderr index 83a9ec15fa..b9f7b75b42 100644 --- a/testsuite/tests/typecheck/should_fail/T14904b.stderr +++ b/testsuite/tests/typecheck/should_fail/T14904b.stderr @@ -1,5 +1,5 @@ -T14904b.hs:9:7: error: +T14904b.hs:9:7: error: [GHC-91028] • Expected kind ‘forall (a :: k1). g a’, but ‘f’ has kind ‘k0’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall (a :: k1). g a diff --git a/testsuite/tests/typecheck/should_fail/T15067.stderr b/testsuite/tests/typecheck/should_fail/T15067.stderr index 811f3a6602..64d322f927 100644 --- a/testsuite/tests/typecheck/should_fail/T15067.stderr +++ b/testsuite/tests/typecheck/should_fail/T15067.stderr @@ -1,5 +1,5 @@ -T15067.hs:9:14: error: +T15067.hs:9:14: error: [GHC-39999] • No instance for ‘Typeable (# | #)’ arising from a use of ‘typeRep’ GHC can't yet do polykinded diff --git a/testsuite/tests/typecheck/should_fail/T15330.stderr b/testsuite/tests/typecheck/should_fail/T15330.stderr index 43e6b473eb..19ec29e90f 100644 --- a/testsuite/tests/typecheck/should_fail/T15330.stderr +++ b/testsuite/tests/typecheck/should_fail/T15330.stderr @@ -1,5 +1,5 @@ -T15330.hs:12:6: error: +T15330.hs:12:6: error: [GHC-83865] • Couldn't match type: [Char] with: Proxy (T 'True) Expected: Proxy (T 'True) @@ -7,7 +7,7 @@ T15330.hs:12:6: error: • In the expression: "foo" In an equation for ‘f1’: f1 = "foo" -T15330.hs:16:6: error: +T15330.hs:16:6: error: [GHC-83865] • Couldn't match type: [Char] with: Proxy (t 'True) Expected: Proxy (t 'True) diff --git a/testsuite/tests/typecheck/should_fail/T15361.stderr b/testsuite/tests/typecheck/should_fail/T15361.stderr index d668994f3f..961466bec0 100644 --- a/testsuite/tests/typecheck/should_fail/T15361.stderr +++ b/testsuite/tests/typecheck/should_fail/T15361.stderr @@ -1,5 +1,5 @@ -T15361.hs:13:13: error: +T15361.hs:13:13: error: [GHC-25897] • Could not deduce ‘a ~ c’ from the context: b ~ a bound by a pattern with constructor: @@ -21,7 +21,7 @@ T15361.hs:13:13: error: • Relevant bindings include foo :: (a :~~: b) -> a :~~: c (bound at T15361.hs:13:1) -T15361.hs:20:27: error: +T15361.hs:20:27: error: [GHC-39999] • Could not deduce ‘Show a’ arising from a use of ‘show’ from the context: Ord a bound by a pattern with constructor: diff --git a/testsuite/tests/typecheck/should_fail/T15592a.stderr b/testsuite/tests/typecheck/should_fail/T15592a.stderr index 5002b4771d..da9ed96601 100644 --- a/testsuite/tests/typecheck/should_fail/T15592a.stderr +++ b/testsuite/tests/typecheck/should_fail/T15592a.stderr @@ -1,5 +1,5 @@ -T15592a.hs:8:22: error: +T15592a.hs:8:22: error: [GHC-20967] • Cannot apply function of kind ‘Proxy j -> Proxy k -> k2 -> Constraint’ to visible kind argument ‘j’ diff --git a/testsuite/tests/typecheck/should_fail/T15629.stderr b/testsuite/tests/typecheck/should_fail/T15629.stderr index f8985982a4..b09a6112d3 100644 --- a/testsuite/tests/typecheck/should_fail/T15629.stderr +++ b/testsuite/tests/typecheck/should_fail/T15629.stderr @@ -1,5 +1,5 @@ -T15629.hs:27:31: error: +T15629.hs:27:31: error: [GHC-25897] • Couldn't match kind ‘z’ with ‘ab’ Expected kind ‘F x ab ~> F x ab’, but ‘Comp (F1Sym :: x ~> F x z) F2Sym’ has kind ‘TyFun diff --git a/testsuite/tests/typecheck/should_fail/T15648.stderr b/testsuite/tests/typecheck/should_fail/T15648.stderr index acfcaf8d1c..a8df34b3f6 100644 --- a/testsuite/tests/typecheck/should_fail/T15648.stderr +++ b/testsuite/tests/typecheck/should_fail/T15648.stderr @@ -1,5 +1,5 @@ -T15648.hs:23:21: error: +T15648.hs:23:21: error: [GHC-83865] • Couldn't match type: (a0 GHC.Prim.~# b0) -> JankyEquality a0 b0 with: JankyEquality a a Expected: JankyEquality a b @@ -11,7 +11,7 @@ T15648.hs:23:21: error: legitToJank :: LegitEquality a b -> JankyEquality a b (bound at T15648.hs:23:1) -T15648.hs:30:33: error: +T15648.hs:30:33: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘b’ ‘b’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T15712.stderr b/testsuite/tests/typecheck/should_fail/T15712.stderr index 8031f5f0da..ac4f790214 100644 --- a/testsuite/tests/typecheck/should_fail/T15712.stderr +++ b/testsuite/tests/typecheck/should_fail/T15712.stderr @@ -1,5 +1,5 @@ -T15712.hs:19:16: error: +T15712.hs:19:16: error: [GHC-83865] • Expecting one more argument to ‘GEndo’ Expected kind ‘* -> *’, but ‘GEndo’ has kind ‘(* -> *) -> * -> *’ • In the first argument of ‘Codensity’, namely ‘GEndo’ diff --git a/testsuite/tests/typecheck/should_fail/T15767.stderr b/testsuite/tests/typecheck/should_fail/T15767.stderr index 7c9dc3329a..8c915c0aa3 100644 --- a/testsuite/tests/typecheck/should_fail/T15767.stderr +++ b/testsuite/tests/typecheck/should_fail/T15767.stderr @@ -1,5 +1,5 @@ -T15767.hs:7:5: error: +T15767.hs:7:5: error: [GHC-39999] • No instance for ‘C () b0’ arising from a use of ‘x’ • In the expression: x In an equation for ‘y’: diff --git a/testsuite/tests/typecheck/should_fail/T15793.stderr b/testsuite/tests/typecheck/should_fail/T15793.stderr index d160947e3b..462bed1c9c 100644 --- a/testsuite/tests/typecheck/should_fail/T15793.stderr +++ b/testsuite/tests/typecheck/should_fail/T15793.stderr @@ -1,5 +1,5 @@ -T15793.hs:18:3: error: +T15793.hs:18:3: error: [GHC-45474] • Illegal oversaturated visible kind argument: ‘@a’ • In the equations for closed type family ‘F2’ In the type family declaration for ‘F2’ diff --git a/testsuite/tests/typecheck/should_fail/T15797.stderr b/testsuite/tests/typecheck/should_fail/T15797.stderr index 04c2a5fc50..c3b159c95d 100644 --- a/testsuite/tests/typecheck/should_fail/T15797.stderr +++ b/testsuite/tests/typecheck/should_fail/T15797.stderr @@ -1,5 +1,5 @@ -T15797.hs:26:9: error: +T15797.hs:26:9: error: [GHC-83865] • Expecting two more arguments to ‘EQ @ob’ Expected a type, but ‘EQ @ob’ has kind ‘ob -> ob -> *’ • In the first argument of ‘Ríki’, namely ‘(EQ @ob)’ diff --git a/testsuite/tests/typecheck/should_fail/T15799.stderr b/testsuite/tests/typecheck/should_fail/T15799.stderr index af44e0a8ed..4e70fcce12 100644 --- a/testsuite/tests/typecheck/should_fail/T15799.stderr +++ b/testsuite/tests/typecheck/should_fail/T15799.stderr @@ -1,5 +1,5 @@ -T15799.hs:46:62: error: +T15799.hs:46:62: error: [GHC-83865] • Couldn't match kind ‘TypeLits.Natural’ with ‘Op Nat’ Expected kind ‘Op Nat’, but ‘UnOp b’ has kind ‘Nat’ • In the first argument of ‘(<=)’, namely ‘UnOp b’ diff --git a/testsuite/tests/typecheck/should_fail/T15801.stderr b/testsuite/tests/typecheck/should_fail/T15801.stderr index 2209d72ab8..9c7cdabeef 100644 --- a/testsuite/tests/typecheck/should_fail/T15801.stderr +++ b/testsuite/tests/typecheck/should_fail/T15801.stderr @@ -1,5 +1,5 @@ -T15801.hs:52:10: error: +T15801.hs:52:10: error: [GHC-18872] • Couldn't match representation of type: UnOp op_a -> UnOp b with that of: op_a --> b arising from the superclasses of an instance declaration diff --git a/testsuite/tests/typecheck/should_fail/T15816.stderr b/testsuite/tests/typecheck/should_fail/T15816.stderr index 90bf2122d6..e3c2505afd 100644 --- a/testsuite/tests/typecheck/should_fail/T15816.stderr +++ b/testsuite/tests/typecheck/should_fail/T15816.stderr @@ -1,5 +1,5 @@ -T15816.hs:8:1: error: +T15816.hs:8:1: error: [GHC-20967] • Cannot apply function of kind ‘*’ to visible kind argument ‘Int’ • In the data instance declaration for ‘U’ diff --git a/testsuite/tests/typecheck/should_fail/T15862.stderr b/testsuite/tests/typecheck/should_fail/T15862.stderr index aeb0f73b9b..76bdaee542 100644 --- a/testsuite/tests/typecheck/should_fail/T15862.stderr +++ b/testsuite/tests/typecheck/should_fail/T15862.stderr @@ -1,5 +1,5 @@ -T15862.hs:16:16: error: +T15862.hs:16:16: error: [GHC-91028] • Expected kind ‘k0’, but ‘MkFoo’ has kind ‘(forall a. a) -> Foo’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: (forall a. a) -> Foo diff --git a/testsuite/tests/typecheck/should_fail/T15883.stderr b/testsuite/tests/typecheck/should_fail/T15883.stderr index c66d510932..b0c28a2eed 100644 --- a/testsuite/tests/typecheck/should_fail/T15883.stderr +++ b/testsuite/tests/typecheck/should_fail/T15883.stderr @@ -1,5 +1,5 @@ -T15883.hs:9:1: error: +T15883.hs:9:1: error: [GHC-55233] • Newtype has non-* return kind ‘TYPE rep’ • In the newtype declaration for ‘Foo’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/T15883b.stderr b/testsuite/tests/typecheck/should_fail/T15883b.stderr index 0e03d99a37..a4a3df67ee 100644 --- a/testsuite/tests/typecheck/should_fail/T15883b.stderr +++ b/testsuite/tests/typecheck/should_fail/T15883b.stderr @@ -1,5 +1,5 @@ -T15883b.hs:14:1: error: +T15883b.hs:14:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘==’ prevents the constraint ‘(Eq a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/T15883c.stderr b/testsuite/tests/typecheck/should_fail/T15883c.stderr index 4f4b056386..71d5914408 100644 --- a/testsuite/tests/typecheck/should_fail/T15883c.stderr +++ b/testsuite/tests/typecheck/should_fail/T15883c.stderr @@ -1,10 +1,10 @@ -T15883c.hs:14:1: error: +T15883c.hs:14:1: error: [GHC-39999] • No instance for ‘Eq (Foo LiftedRep)’ arising from the superclasses of an instance declaration • In the instance declaration for ‘Ord (Foo LiftedRep)’ -T15883c.hs:14:1: error: +T15883c.hs:14:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘compare’ prevents the constraint ‘(Ord a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -21,7 +21,7 @@ T15883c.hs:14:1: error: in a derived instance for ‘Ord (Foo LiftedRep)’: To see the code I am typechecking, use -ddump-deriv -T15883c.hs:14:1: error: +T15883c.hs:14:1: error: [GHC-39999] • Ambiguous type variable ‘a1’ arising from a use of ‘<’ prevents the constraint ‘(Ord a1)’ from being solved. Probable fix: use a type annotation to specify what ‘a1’ should be. diff --git a/testsuite/tests/typecheck/should_fail/T15883d.stderr b/testsuite/tests/typecheck/should_fail/T15883d.stderr index eea1ccac2d..c6bd38b340 100644 --- a/testsuite/tests/typecheck/should_fail/T15883d.stderr +++ b/testsuite/tests/typecheck/should_fail/T15883d.stderr @@ -1,5 +1,5 @@ -T15883d.hs:14:1: error: +T15883d.hs:14:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘showsPrec’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/T15883e.stderr b/testsuite/tests/typecheck/should_fail/T15883e.stderr index 947e45270f..5c99818790 100644 --- a/testsuite/tests/typecheck/should_fail/T15883e.stderr +++ b/testsuite/tests/typecheck/should_fail/T15883e.stderr @@ -1,5 +1,5 @@ -T15883e.hs:16:1: error: +T15883e.hs:16:1: error: [GHC-39999] • Ambiguous type variable ‘d0’ arising from a use of ‘k’ prevents the constraint ‘(Data d0)’ from being solved. Probable fix: use a type annotation to specify what ‘d0’ should be. @@ -18,13 +18,13 @@ T15883e.hs:16:1: error: To see the code I am typechecking, use -ddump-deriv In the instance declaration for ‘Data (Foo LiftedRep)’ -T15883e.hs:16:1: error: +T15883e.hs:16:1: error: [GHC-46956] • Couldn't match expected type ‘a’ with actual type ‘d0’ - because type variable ‘a’ would escape its scope - This (rigid, skolem) type variable is bound by - a type expected by the context: - forall a. a - at T15883e.hs:16:1-52 + • because type variable ‘a’ would escape its scope + This (rigid, skolem) type variable is bound by + a type expected by the context: + forall a. a + at T15883e.hs:16:1-52 • In the first argument of ‘MkFoo’, namely ‘a1’ In the expression: MkFoo a1 In the first argument of ‘z’, namely ‘(\ a1 -> MkFoo a1)’ @@ -33,7 +33,7 @@ T15883e.hs:16:1: error: To see the code I am typechecking, use -ddump-deriv • Relevant bindings include a1 :: d0 (bound at T15883e.hs:16:1) -T15883e.hs:16:1: error: +T15883e.hs:16:1: error: [GHC-39999] • Ambiguous type variable ‘b0’ arising from a use of ‘k’ prevents the constraint ‘(Data b0)’ from being solved. Probable fix: use a type annotation to specify what ‘b0’ should be. @@ -52,13 +52,13 @@ T15883e.hs:16:1: error: To see the code I am typechecking, use -ddump-deriv In the instance declaration for ‘Data (Foo LiftedRep)’ -T15883e.hs:16:1: error: +T15883e.hs:16:1: error: [GHC-46956] • Couldn't match expected type ‘a’ with actual type ‘b0’ - because type variable ‘a’ would escape its scope - This (rigid, skolem) type variable is bound by - a type expected by the context: - forall a. a - at T15883e.hs:16:1-52 + • because type variable ‘a’ would escape its scope + This (rigid, skolem) type variable is bound by + a type expected by the context: + forall a. a + at T15883e.hs:16:1-52 • In the first argument of ‘MkFoo’, namely ‘a1’ In the expression: MkFoo a1 In the first argument of ‘z’, namely ‘(\ a1 -> MkFoo a1)’ diff --git a/testsuite/tests/typecheck/should_fail/T1595.stderr b/testsuite/tests/typecheck/should_fail/T1595.stderr index 2f17fb8ffb..db4205d5e3 100644 --- a/testsuite/tests/typecheck/should_fail/T1595.stderr +++ b/testsuite/tests/typecheck/should_fail/T1595.stderr @@ -1,6 +1,6 @@ -T1595.hs:8:15: error: +T1595.hs:8:15: error: [GHC-76037] Not in scope: type constructor or class ‘DoesNotExist’ -T1595.hs:13:22: error: +T1595.hs:13:22: error: [GHC-76037] Not in scope: type constructor or class ‘DoesNotExist’ diff --git a/testsuite/tests/typecheck/should_fail/T15962.stderr b/testsuite/tests/typecheck/should_fail/T15962.stderr index c69bdf6cfc..a6f4034277 100644 --- a/testsuite/tests/typecheck/should_fail/T15962.stderr +++ b/testsuite/tests/typecheck/should_fail/T15962.stderr @@ -1,5 +1,5 @@ -T15962.hs:28:11: error: +T15962.hs:28:11: error: [GHC-88464] • Found hole: _ :: Big ks -> Big (Eval (Map Dual ks)) Where: ‘ks’ is a rigid type variable bound by the type signature for: @@ -14,5 +14,5 @@ T15962.hs:28:11: error: dualBig :: Big ks -> Big (Eval (Map Dual ks)) (bound at T15962.hs:28:1) -T15962.hs:34:12: error: +T15962.hs:34:12: error: [GHC-88464] Variable not in scope: iDontExist :: Big ('Conjunction : ks) diff --git a/testsuite/tests/typecheck/should_fail/T16059a.stderr b/testsuite/tests/typecheck/should_fail/T16059a.stderr index 2768220653..3d7b3f67dc 100644 --- a/testsuite/tests/typecheck/should_fail/T16059a.stderr +++ b/testsuite/tests/typecheck/should_fail/T16059a.stderr @@ -1,9 +1,9 @@ -T16059a.hs:8:6: error: +T16059a.hs:8:6: error: [GHC-01259] • Illegal constraint in a kind: Eq b => b • In the type signature: f :: forall b (a :: Eq b => b). Int -T16059a.hs:11:6: error: +T16059a.hs:11:6: error: [GHC-01259] • Illegal constraint in a kind: Eq b => b • In the expansion of type synonym ‘Foo’ In the type signature: g :: forall b (a :: Foo b). Int diff --git a/testsuite/tests/typecheck/should_fail/T16059c.stderr b/testsuite/tests/typecheck/should_fail/T16059c.stderr index 3beef81412..626f583186 100644 --- a/testsuite/tests/typecheck/should_fail/T16059c.stderr +++ b/testsuite/tests/typecheck/should_fail/T16059c.stderr @@ -1,5 +1,5 @@ -T16059c.hs:6:6: error: +T16059c.hs:6:6: error: [GHC-91510] • Illegal polymorphic type: forall a1. a1 • In the expansion of type synonym ‘Foo’ In the type signature: f :: Foo -> a -> f diff --git a/testsuite/tests/typecheck/should_fail/T16059d.stderr b/testsuite/tests/typecheck/should_fail/T16059d.stderr index 4c78c037f4..af4c881a9c 100644 --- a/testsuite/tests/typecheck/should_fail/T16059d.stderr +++ b/testsuite/tests/typecheck/should_fail/T16059d.stderr @@ -1,6 +1,6 @@ -T16059d.hs:5:1: error: +T16059d.hs:5:1: error: [GHC-19590] • Illegal unboxed tuple type as function argument: (# #) • In the expansion of type synonym ‘Bar’ In the type synonym declaration for ‘Bar'’ - Suggested fix: Perhaps you intended to use UnboxedTuples
\ No newline at end of file + Suggested fix: Perhaps you intended to use UnboxedTuples diff --git a/testsuite/tests/typecheck/should_fail/T16059e.stderr b/testsuite/tests/typecheck/should_fail/T16059e.stderr index 8128fb6996..e98712f8db 100644 --- a/testsuite/tests/typecheck/should_fail/T16059e.stderr +++ b/testsuite/tests/typecheck/should_fail/T16059e.stderr @@ -1,5 +1,5 @@ -T16059e.hs:15:6: error: +T16059e.hs:15:6: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the expansion of type synonym ‘Foo’ In the expansion of type synonym ‘Const’ diff --git a/testsuite/tests/typecheck/should_fail/T16074.stderr b/testsuite/tests/typecheck/should_fail/T16074.stderr index 10b263efcb..b612cbefed 100644 --- a/testsuite/tests/typecheck/should_fail/T16074.stderr +++ b/testsuite/tests/typecheck/should_fail/T16074.stderr @@ -1,5 +1,5 @@ -T16074.hs:10:7: error: +T16074.hs:10:7: error: [GHC-25897] • Couldn't match type ‘a’ with ‘b’ Expected: TYPE a :~: TYPE b Actual: TYPE a :~: TYPE a diff --git a/testsuite/tests/typecheck/should_fail/T16204c.stderr b/testsuite/tests/typecheck/should_fail/T16204c.stderr index 731a873423..df0e1675b7 100644 --- a/testsuite/tests/typecheck/should_fail/T16204c.stderr +++ b/testsuite/tests/typecheck/should_fail/T16204c.stderr @@ -1,5 +1,5 @@ -T16204c.hs:16:8: error: +T16204c.hs:16:8: error: [GHC-83865] • Couldn't match type ‘Rep’ with ‘*’ Expected: Sing @(*) a Actual: Sing @Rep a0 diff --git a/testsuite/tests/typecheck/should_fail/T16255.stderr b/testsuite/tests/typecheck/should_fail/T16255.stderr index ba23f0e466..e4867cba96 100644 --- a/testsuite/tests/typecheck/should_fail/T16255.stderr +++ b/testsuite/tests/typecheck/should_fail/T16255.stderr @@ -1,10 +1,10 @@ -T16255.hs:14:3: error: +T16255.hs:14:3: error: [GHC-45474] • Illegal oversaturated visible kind argument: ‘@Bool’ • In the equations for closed type family ‘F1’ In the type family declaration for ‘F1’ -T16255.hs:22:3: error: +T16255.hs:22:3: error: [GHC-45474] • Illegal oversaturated visible kind argument: ‘@Symbol’ • In the equations for closed type family ‘F2’ In the type family declaration for ‘F2’ diff --git a/testsuite/tests/typecheck/should_fail/T1633.stderr b/testsuite/tests/typecheck/should_fail/T1633.stderr index 5d9dcc44f5..83600c40b0 100644 --- a/testsuite/tests/typecheck/should_fail/T1633.stderr +++ b/testsuite/tests/typecheck/should_fail/T1633.stderr @@ -1,5 +1,5 @@ -T1633.hs:8:18: error: +T1633.hs:8:18: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Bool’ has kind ‘*’ • In the first argument of ‘Functor’, namely ‘Bool’ In the instance declaration for ‘Functor Bool’ diff --git a/testsuite/tests/typecheck/should_fail/T16414.stderr b/testsuite/tests/typecheck/should_fail/T16414.stderr index 57a31ffd4b..88f2db430f 100644 --- a/testsuite/tests/typecheck/should_fail/T16414.stderr +++ b/testsuite/tests/typecheck/should_fail/T16414.stderr @@ -1,5 +1,5 @@ -T16414.hs:15:6: error: +T16414.hs:15:6: error: [GHC-43085] • Overlapping instances for AllZip2 f0 arising from a use of ‘f2’ Matching givens (or their superclasses): AllZip2 I diff --git a/testsuite/tests/typecheck/should_fail/T16453E2.stderr b/testsuite/tests/typecheck/should_fail/T16453E2.stderr index b7beedb511..6dbee3a635 100644 --- a/testsuite/tests/typecheck/should_fail/T16453E2.stderr +++ b/testsuite/tests/typecheck/should_fail/T16453E2.stderr @@ -1,5 +1,5 @@ -T16453E2.hs:1:28: error: +T16453E2.hs:1:28: error: [GHC-69158] Conflicting exports for ‘main’: ‘T16453T.main’ exports ‘T16453T.main’ imported from ‘T16453T’ at T16453E2.hs:2:1-14 diff --git a/testsuite/tests/typecheck/should_fail/T16456.stderr b/testsuite/tests/typecheck/should_fail/T16456.stderr index 5e69b9352a..b0c66e496b 100644 --- a/testsuite/tests/typecheck/should_fail/T16456.stderr +++ b/testsuite/tests/typecheck/should_fail/T16456.stderr @@ -1,5 +1,5 @@ -T16456.hs:7:7: error: +T16456.hs:7:7: error: [GHC-88464] • Found hole: _ :: T Int • In an equation for ‘foo’: foo = _ • Relevant bindings include foo :: T Int (bound at T16456.hs:7:1) diff --git a/testsuite/tests/typecheck/should_fail/T16512a.stderr b/testsuite/tests/typecheck/should_fail/T16512a.stderr index a4d979948f..e89900b083 100644 --- a/testsuite/tests/typecheck/should_fail/T16512a.stderr +++ b/testsuite/tests/typecheck/should_fail/T16512a.stderr @@ -1,5 +1,5 @@ -T16512a.hs:41:25: error: +T16512a.hs:41:25: error: [GHC-25897] • Couldn't match type ‘as’ with ‘a : as’ Expected: AST (ListVariadic (a : as) b) Actual: AST (ListVariadic as (a -> b)) diff --git a/testsuite/tests/typecheck/should_fail/T16512b.stderr b/testsuite/tests/typecheck/should_fail/T16512b.stderr index f519938636..2335aa66fd 100644 --- a/testsuite/tests/typecheck/should_fail/T16512b.stderr +++ b/testsuite/tests/typecheck/should_fail/T16512b.stderr @@ -1,5 +1,5 @@ -T16512b.hs:6:3: error: +T16512b.hs:6:3: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type variable ‘a’ cannot be inferred from the right-hand side. In the type family equation: diff --git a/testsuite/tests/typecheck/should_fail/T16517.stderr b/testsuite/tests/typecheck/should_fail/T16517.stderr index 252e8ad793..ea9aee6581 100644 --- a/testsuite/tests/typecheck/should_fail/T16517.stderr +++ b/testsuite/tests/typecheck/should_fail/T16517.stderr @@ -1,5 +1,5 @@ -T16517.hs:5:29: error: +T16517.hs:5:29: error: [GHC-25897] • Expected kind ‘k1’, but ‘a’ has kind ‘k’ ‘k1’ is a rigid type variable bound by the type signature for ‘m’ diff --git a/testsuite/tests/typecheck/should_fail/T16627.stderr b/testsuite/tests/typecheck/should_fail/T16627.stderr index b10488f170..6014caea07 100644 --- a/testsuite/tests/typecheck/should_fail/T16627.stderr +++ b/testsuite/tests/typecheck/should_fail/T16627.stderr @@ -1,5 +1,5 @@ -T16627.hs:11:15: error: +T16627.hs:11:15: error: [GHC-39999] • No instance for ‘Typeable r1’ arising from a use of ‘typeRep’ • In the first argument of ‘mkTrApp’, namely ‘typeRep’ In the first argument of ‘mkTrApp’, namely ‘typeRep `mkTrApp` a’ diff --git a/testsuite/tests/typecheck/should_fail/T16646Fail.stderr b/testsuite/tests/typecheck/should_fail/T16646Fail.stderr index 9455dac27a..10386c67e9 100644 --- a/testsuite/tests/typecheck/should_fail/T16646Fail.stderr +++ b/testsuite/tests/typecheck/should_fail/T16646Fail.stderr @@ -1,5 +1,5 @@ -T16646Fail.hs:16:5: error: +T16646Fail.hs:16:5: error: [GHC-39999] • No instance for ‘WithDict cls meth’ arising from a use of ‘withDict’ Possible fix: @@ -9,7 +9,7 @@ T16646Fail.hs:16:5: error: • In the expression: withDict @cls @meth In an equation for ‘f’: f = withDict @cls @meth -T16646Fail.hs:22:5: error: +T16646Fail.hs:22:5: error: [GHC-39999] • No instance for ‘WithDict (C a) (Maybe a)’ arising from a use of ‘withDict’ • In the expression: withDict @(C a) @(Maybe a) diff --git a/testsuite/tests/typecheck/should_fail/T16646Fail2.stderr b/testsuite/tests/typecheck/should_fail/T16646Fail2.stderr index 7a8178136c..2e6b506406 100644 --- a/testsuite/tests/typecheck/should_fail/T16646Fail2.stderr +++ b/testsuite/tests/typecheck/should_fail/T16646Fail2.stderr @@ -1,5 +1,5 @@ -T16646Fail2.hs:19:13: error: +T16646Fail2.hs:19:13: error: [GHC-18872] • Couldn't match type: b0 -> a with: forall (proxy :: * -> *). proxy Any -> a arising from a use of ‘withDict’ diff --git a/testsuite/tests/typecheck/should_fail/T16821.stderr b/testsuite/tests/typecheck/should_fail/T16821.stderr index 51eaf52fd7..e76ed6e818 100644 --- a/testsuite/tests/typecheck/should_fail/T16821.stderr +++ b/testsuite/tests/typecheck/should_fail/T16821.stderr @@ -1,4 +1,4 @@ -T16821.hs:12:1: error: +T16821.hs:12:1: error: [GHC-55233] • Newtype has non-TYPE return kind ‘Id (*)’ • In the newtype declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_fail/T16829a.stderr b/testsuite/tests/typecheck/should_fail/T16829a.stderr index f53d6ccfd6..f98154f9d0 100644 --- a/testsuite/tests/typecheck/should_fail/T16829a.stderr +++ b/testsuite/tests/typecheck/should_fail/T16829a.stderr @@ -1,5 +1,5 @@ -T16829a.hs:9:1: error: +T16829a.hs:9:1: error: [GHC-55233] • Newtype has non-* return kind ‘TYPE 'IntRep’ • In the newtype declaration for ‘T’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/T16829b.stderr b/testsuite/tests/typecheck/should_fail/T16829b.stderr index 9d4c5057ca..9aad973311 100644 --- a/testsuite/tests/typecheck/should_fail/T16829b.stderr +++ b/testsuite/tests/typecheck/should_fail/T16829b.stderr @@ -1,5 +1,5 @@ -T16829b.hs:10:1: error: +T16829b.hs:10:1: error: [GHC-55233] • Newtype instance has non-* return kind ‘TYPE 'IntRep’ • In the newtype instance declaration for ‘T’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/T17021b.stderr b/testsuite/tests/typecheck/should_fail/T17021b.stderr index 8a07f2f534..325dce8dfc 100644 --- a/testsuite/tests/typecheck/should_fail/T17021b.stderr +++ b/testsuite/tests/typecheck/should_fail/T17021b.stderr @@ -1,4 +1,4 @@ -T17021b.hs:10:1: error: +T17021b.hs:10:1: error: [GHC-55233] • Data instance has non-* return kind ‘F Int’ • In the data instance declaration for ‘Fix’ diff --git a/testsuite/tests/typecheck/should_fail/T17077.stderr b/testsuite/tests/typecheck/should_fail/T17077.stderr index 3f27d19c70..d20a2226be 100644 --- a/testsuite/tests/typecheck/should_fail/T17077.stderr +++ b/testsuite/tests/typecheck/should_fail/T17077.stderr @@ -1,5 +1,5 @@ -T17077.hs:7:13: error: +T17077.hs:7:13: error: [GHC-91028] • Expected kind ‘forall (k :: k1). a’, but ‘z’ has kind ‘k0’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall (k2 :: k1). a diff --git a/testsuite/tests/typecheck/should_fail/T17139.stderr b/testsuite/tests/typecheck/should_fail/T17139.stderr index d89b166fdc..f8ab95f5f8 100644 --- a/testsuite/tests/typecheck/should_fail/T17139.stderr +++ b/testsuite/tests/typecheck/should_fail/T17139.stderr @@ -1,5 +1,5 @@ -T17139.hs:15:16: error: +T17139.hs:15:16: error: [GHC-88464] • Found hole: _ :: (a -> b0) -> f a -> TypeFam f b0 Where: ‘b0’ is an ambiguous type variable ‘a’, ‘f’ are rigid type variables bound by @@ -15,7 +15,7 @@ T17139.hs:15:16: error: f :: a -> b (bound at T17139.hs:15:6) lift :: (a -> b) -> TypeFam f (a -> b) (bound at T17139.hs:15:1) -T17139.hs:15:19: error: +T17139.hs:15:19: error: [GHC-25897] • Couldn't match type ‘b’ with ‘a -> b0’ Expected: a -> a -> b0 Actual: a -> b diff --git a/testsuite/tests/typecheck/should_fail/T17173.stderr b/testsuite/tests/typecheck/should_fail/T17173.stderr index b5bd059bac..859b713f80 100644 --- a/testsuite/tests/typecheck/should_fail/T17173.stderr +++ b/testsuite/tests/typecheck/should_fail/T17173.stderr @@ -1,5 +1,5 @@ -T17173.hs:6:7: error: +T17173.hs:6:7: error: [GHC-95781] • Cannot apply expression of type ‘a0 -> a0’ to a visible type argument ‘Bool’ • In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T17213.stderr b/testsuite/tests/typecheck/should_fail/T17213.stderr index abfa600452..ec2078d7ba 100644 --- a/testsuite/tests/typecheck/should_fail/T17213.stderr +++ b/testsuite/tests/typecheck/should_fail/T17213.stderr @@ -1,5 +1,5 @@ -T17213.hs:6:1: error: +T17213.hs:6:1: error: [GHC-91510] • Illegal polymorphic type: forall a. a -> a • When checking the inferred type g :: (forall a. a -> a) -> Int diff --git a/testsuite/tests/typecheck/should_fail/T17355.stderr b/testsuite/tests/typecheck/should_fail/T17355.stderr index 5212ef8787..36bc73aa60 100644 --- a/testsuite/tests/typecheck/should_fail/T17355.stderr +++ b/testsuite/tests/typecheck/should_fail/T17355.stderr @@ -1,9 +1,9 @@ -T17355.hs:9:10: error: +T17355.hs:9:10: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the instance declaration for ‘Generic (forall a. a)’ -T17355.hs:10:10: error: +T17355.hs:10:10: error: [GHC-91510] • Illegal polymorphic type: forall a. a -> a • In the instance declaration for ‘HasField "myPoly" Foo (forall a. a -> a)’ diff --git a/testsuite/tests/typecheck/should_fail/T17563.stderr b/testsuite/tests/typecheck/should_fail/T17563.stderr index 08c077fb7c..7f6462b839 100644 --- a/testsuite/tests/typecheck/should_fail/T17563.stderr +++ b/testsuite/tests/typecheck/should_fail/T17563.stderr @@ -1,5 +1,5 @@ -T17563.hs:8:9: error: +T17563.hs:8:9: error: [GHC-80003] • Non type-variable argument in the constraint: Num (T a x) • In the quantified constraint ‘forall x. Num (T a x)’ In the type signature: blah :: (forall x. Num (T a x)) => T a b diff --git a/testsuite/tests/typecheck/should_fail/T17566b.stderr b/testsuite/tests/typecheck/should_fail/T17566b.stderr index 50e788d723..d1a95eceef 100644 --- a/testsuite/tests/typecheck/should_fail/T17566b.stderr +++ b/testsuite/tests/typecheck/should_fail/T17566b.stderr @@ -1,4 +1,4 @@ -T17566b.hs:7:12: error: +T17566b.hs:7:12: error: [GHC-17370] • Different names for the same type variable: ‘k1’ and ‘k2’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/typecheck/should_fail/T17566c.stderr b/testsuite/tests/typecheck/should_fail/T17566c.stderr index 16d82cf26a..ace4636302 100644 --- a/testsuite/tests/typecheck/should_fail/T17566c.stderr +++ b/testsuite/tests/typecheck/should_fail/T17566c.stderr @@ -1,5 +1,5 @@ -T17566c.hs:11:12: error: +T17566c.hs:11:12: error: [GHC-17370] • Different names for the same type variable: ‘k’ bound at T17566c.hs:10:12 ‘k’ bound at T17566c.hs:11:12 diff --git a/testsuite/tests/typecheck/should_fail/T17773.stderr b/testsuite/tests/typecheck/should_fail/T17773.stderr index 22b3d5577e..66dd78d449 100644 --- a/testsuite/tests/typecheck/should_fail/T17773.stderr +++ b/testsuite/tests/typecheck/should_fail/T17773.stderr @@ -1,5 +1,5 @@ -T17773.hs:16:22: error: +T17773.hs:16:22: error: [GHC-88464] • Found hole: _Refl :: Mzero x y :~: (x <|> y) Where: ‘x’, ‘f’, ‘k’, ‘a’, ‘y’ are rigid type variables bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T17775.stderr b/testsuite/tests/typecheck/should_fail/T17775.stderr index 2dc0448ab8..56d89f1c76 100644 --- a/testsuite/tests/typecheck/should_fail/T17775.stderr +++ b/testsuite/tests/typecheck/should_fail/T17775.stderr @@ -1,5 +1,5 @@ -T17775.hs:15:5: error: +T17775.hs:15:5: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘Show Int => ()’ Expected: Int -> Show Int => () Actual: Int -> Char diff --git a/testsuite/tests/typecheck/should_fail/T18127a.stderr b/testsuite/tests/typecheck/should_fail/T18127a.stderr index 60dcb3e121..67fbf0e5fc 100644 --- a/testsuite/tests/typecheck/should_fail/T18127a.stderr +++ b/testsuite/tests/typecheck/should_fail/T18127a.stderr @@ -1,5 +1,5 @@ -T18127a.hs:5:5: error: +T18127a.hs:5:5: error: [GHC-91028] • Couldn't match expected type ‘(forall a. a) -> ()’ with actual type ‘a1’ Cannot instantiate unification variable ‘a1’ @@ -7,7 +7,7 @@ T18127a.hs:5:5: error: • In the expression: undefined In an equation for ‘a’: a = undefined -T18127a.hs:8:5: error: +T18127a.hs:8:5: error: [GHC-91028] • Couldn't match expected type ‘(Show a => a) -> ()’ with actual type ‘a3’ Cannot instantiate unification variable ‘a3’ @@ -17,14 +17,14 @@ T18127a.hs:8:5: error: • Relevant bindings include b :: (Show a => a) -> () (bound at T18127a.hs:8:1) -T18127a.hs:12:5: error: +T18127a.hs:12:5: error: [GHC-91028] • Couldn't match expected type ‘C -> ()’ with actual type ‘a0’ Cannot instantiate unification variable ‘a0’ with a type involving polytypes: C -> () • In the expression: undefined In an equation for ‘c’: c = undefined -T18127a.hs:16:5: error: +T18127a.hs:16:5: error: [GHC-91028] • Couldn't match expected type ‘D a -> ()’ with actual type ‘a2’ Cannot instantiate unification variable ‘a2’ with a type involving polytypes: D a -> () diff --git a/testsuite/tests/typecheck/should_fail/T18357a.stderr b/testsuite/tests/typecheck/should_fail/T18357a.stderr index f60e09922a..1b32a63b8b 100644 --- a/testsuite/tests/typecheck/should_fail/T18357a.stderr +++ b/testsuite/tests/typecheck/should_fail/T18357a.stderr @@ -1,5 +1,5 @@ -T18357a.hs:9:10: error: +T18357a.hs:9:10: error: [GHC-25897] • Couldn't match kind ‘r’ with ‘LiftedRep’ Expected a type, but ‘Int’ has kind ‘*’ • In the type ‘Int’ diff --git a/testsuite/tests/typecheck/should_fail/T18398.stderr b/testsuite/tests/typecheck/should_fail/T18398.stderr index a7b8e256c1..e9824e5b50 100644 --- a/testsuite/tests/typecheck/should_fail/T18398.stderr +++ b/testsuite/tests/typecheck/should_fail/T18398.stderr @@ -1,11 +1,11 @@ -T18398.hs:13:34: error: +T18398.hs:13:34: error: [GHC-39999] • No instance for ‘C Ex p0’ arising from a use of ‘meth’ • In the expression: meth x y In a case alternative: MkEx _ -> meth x y In the expression: case x of MkEx _ -> meth x y -T18398.hs:13:70: error: +T18398.hs:13:70: error: [GHC-39999] • No instance for ‘C Ex p0’ arising from a use of ‘meth’ • In the expression: meth x z In a case alternative: MkEx _ -> meth x z diff --git a/testsuite/tests/typecheck/should_fail/T18406.stderr b/testsuite/tests/typecheck/should_fail/T18406.stderr index 1e95326887..5e411b0c74 100644 --- a/testsuite/tests/typecheck/should_fail/T18406.stderr +++ b/testsuite/tests/typecheck/should_fail/T18406.stderr @@ -1,5 +1,5 @@ -T18406.hs:8:7: error: +T18406.hs:8:7: error: [GHC-39999] • No instance for ‘C Bool b0’ arising from a use of ‘op’ • In the expression: op True x In an equation for ‘f’: f x = op True x diff --git a/testsuite/tests/typecheck/should_fail/T18640a.stderr b/testsuite/tests/typecheck/should_fail/T18640a.stderr index edc9a83c25..bffd569321 100644 --- a/testsuite/tests/typecheck/should_fail/T18640a.stderr +++ b/testsuite/tests/typecheck/should_fail/T18640a.stderr @@ -1,5 +1,5 @@ -T18640a.hs:11:1: error: +T18640a.hs:11:1: error: [GHC-25897] • Couldn't match kind ‘a’ with ‘*’ Expected: forall (b :: k). * -> * Actual: forall (b :: k). * -> a diff --git a/testsuite/tests/typecheck/should_fail/T18640b.stderr b/testsuite/tests/typecheck/should_fail/T18640b.stderr index 2a84295a73..2aff30e516 100644 --- a/testsuite/tests/typecheck/should_fail/T18640b.stderr +++ b/testsuite/tests/typecheck/should_fail/T18640b.stderr @@ -1,5 +1,5 @@ -T18640b.hs:14:10: error: +T18640b.hs:14:10: error: [GHC-25897] • Couldn't match kind ‘k’ with ‘a’ Expected kind ‘forall b -> a’, but ‘F1’ has kind ‘forall k -> k’ ‘k’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/should_fail/T18640c.stderr b/testsuite/tests/typecheck/should_fail/T18640c.stderr index 447882717f..d1fc774db0 100644 --- a/testsuite/tests/typecheck/should_fail/T18640c.stderr +++ b/testsuite/tests/typecheck/should_fail/T18640c.stderr @@ -1,5 +1,5 @@ -T18640c.hs:14:11: error: +T18640c.hs:14:11: error: [GHC-25897] • Couldn't match kind ‘x’ with ‘*’ Expected kind ‘forall (k1 :: k) -> x’, but ‘F1’ has kind ‘forall (k1 :: k) -> *’ diff --git a/testsuite/tests/typecheck/should_fail/T18714.stderr b/testsuite/tests/typecheck/should_fail/T18714.stderr index e038e603e1..692eb6b1d5 100644 --- a/testsuite/tests/typecheck/should_fail/T18714.stderr +++ b/testsuite/tests/typecheck/should_fail/T18714.stderr @@ -1,5 +1,5 @@ -T18714.hs:11:14: error: +T18714.hs:11:14: error: [GHC-01259] • Illegal constraint in a kind: forall a. Show a => a -> a • In the first argument of ‘Id’, namely ‘(Any :: forall a. Show a => a -> a)’ diff --git a/testsuite/tests/typecheck/should_fail/T18851.stderr b/testsuite/tests/typecheck/should_fail/T18851.stderr index 613435041c..54f3836e31 100644 --- a/testsuite/tests/typecheck/should_fail/T18851.stderr +++ b/testsuite/tests/typecheck/should_fail/T18851.stderr @@ -1,5 +1,5 @@ -T18851.hs:35:5: error: +T18851.hs:35:5: error: [GHC-18872] • Couldn't match type ‘B’ with ‘A’ arising from a superclass required to satisfy ‘C int0 A’, arising from a use of ‘f’ diff --git a/testsuite/tests/typecheck/should_fail/T18851b.stderr b/testsuite/tests/typecheck/should_fail/T18851b.stderr index 3b8dd1d801..4fc6325524 100644 --- a/testsuite/tests/typecheck/should_fail/T18851b.stderr +++ b/testsuite/tests/typecheck/should_fail/T18851b.stderr @@ -1,5 +1,5 @@ -T18851b.hs:27:5: error: +T18851b.hs:27:5: error: [GHC-18872] • Couldn't match type ‘A’ with ‘B’ arising from a functional dependency between constraints: ‘C Int B’ arising from a use of ‘f’ at T18851b.hs:27:5 diff --git a/testsuite/tests/typecheck/should_fail/T18851c.stderr b/testsuite/tests/typecheck/should_fail/T18851c.stderr index 4e44759e53..58c15d1b77 100644 --- a/testsuite/tests/typecheck/should_fail/T18851c.stderr +++ b/testsuite/tests/typecheck/should_fail/T18851c.stderr @@ -1,5 +1,5 @@ -T18851c.hs:25:27: error: +T18851c.hs:25:27: error: [GHC-25897] • Could not deduce ‘n2 ~ n1’ arising from reasoning about an injective type family using constraints: ‘Plus1 n2 ~ n’ diff --git a/testsuite/tests/typecheck/should_fail/T18869.stderr b/testsuite/tests/typecheck/should_fail/T18869.stderr index 12e8d6f0a3..c0e8cdded1 100644 --- a/testsuite/tests/typecheck/should_fail/T18869.stderr +++ b/testsuite/tests/typecheck/should_fail/T18869.stderr @@ -1,23 +1,23 @@ -T18869.hs:10:11: error: +T18869.hs:10:11: error: [GHC-95909] • Constructor ‘MkFoo’ does not have the required strict field(s): foo :: a0 • In the expression: MkFoo {} In an equation for ‘testFoo’: testFoo = MkFoo {} -T18869.hs:16:11: error: +T18869.hs:16:11: error: [GHC-95909] • Constructor ‘MkBar’ does not have the required strict field(s): bar :: a0 • In the expression: MkBar {} In an equation for ‘testBar’: testBar = MkBar {} -T18869.hs:22:11: error: +T18869.hs:22:11: error: [GHC-95909] • Constructor ‘MkBaz’ does not have the required strict field(s): baz2 :: Bool • In the expression: MkBaz {baz1 = False} In an equation for ‘testBaz’: testBaz = MkBaz {baz1 = False} -T18869.hs:30:12: error: +T18869.hs:30:12: error: [GHC-95909] • Constructor ‘MkQuux’ does not have the required strict field(s): quux :: TQuux Int • In the expression: MkQuux {} diff --git a/testsuite/tests/typecheck/should_fail/T18939_Fail.stderr b/testsuite/tests/typecheck/should_fail/T18939_Fail.stderr index 0fc705f46b..d49c7dcc9d 100644 --- a/testsuite/tests/typecheck/should_fail/T18939_Fail.stderr +++ b/testsuite/tests/typecheck/should_fail/T18939_Fail.stderr @@ -1,5 +1,5 @@ -T18939_Fail.hs:6:1: error: +T18939_Fail.hs:6:1: error: [GHC-91510] • Illegal polymorphic type: forall a -> a • In the data type declaration for ‘F’ - Suggested fix: Perhaps you intended to use RankNTypes
\ No newline at end of file + Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/T1897a.stderr b/testsuite/tests/typecheck/should_fail/T1897a.stderr index 416fcd93f0..1c5413e4b2 100644 --- a/testsuite/tests/typecheck/should_fail/T1897a.stderr +++ b/testsuite/tests/typecheck/should_fail/T1897a.stderr @@ -1,5 +1,5 @@ -T1897a.hs:9:1: error: +T1897a.hs:9:1: error: [GHC-39999] • Could not deduce ‘Wob a0 b’ from the context: Wob a b bound by the inferred type for ‘foo’: diff --git a/testsuite/tests/typecheck/should_fail/T1899.stderr b/testsuite/tests/typecheck/should_fail/T1899.stderr index 451a4444e1..d0dd4d8736 100644 --- a/testsuite/tests/typecheck/should_fail/T1899.stderr +++ b/testsuite/tests/typecheck/should_fail/T1899.stderr @@ -1,5 +1,5 @@ -T1899.hs:12:29: error: +T1899.hs:12:29: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Proposition a0’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/should_fail/T19142.stderr b/testsuite/tests/typecheck/should_fail/T19142.stderr index fc94a4166f..7a7956a27e 100644 --- a/testsuite/tests/typecheck/should_fail/T19142.stderr +++ b/testsuite/tests/typecheck/should_fail/T19142.stderr @@ -1,12 +1,12 @@ -T19142.hs:14:15: error: +T19142.hs:14:15: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the first argument of ‘Maybe’, namely ‘Maybe’ In the type ‘Maybe Maybe’ In a pattern type signature: Maybe Maybe -T19142.hs:20:12: error: +T19142.hs:20:12: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the type ‘Int’ In the expression: foo @Int diff --git a/testsuite/tests/typecheck/should_fail/T19187.stderr b/testsuite/tests/typecheck/should_fail/T19187.stderr index 81ddb2ddd0..7740d9ebe0 100644 --- a/testsuite/tests/typecheck/should_fail/T19187.stderr +++ b/testsuite/tests/typecheck/should_fail/T19187.stderr @@ -1,5 +1,5 @@ -T19187.hs:8:10: error: +T19187.hs:8:10: error: [GHC-80003] • Non type-variable argument in the constraint: Eq Int • In the instance declaration for ‘Eq T’ Suggested fix: Perhaps you intended to use FlexibleContexts diff --git a/testsuite/tests/typecheck/should_fail/T19346.stderr b/testsuite/tests/typecheck/should_fail/T19346.stderr index d9cb0632e9..c797893233 100644 --- a/testsuite/tests/typecheck/should_fail/T19346.stderr +++ b/testsuite/tests/typecheck/should_fail/T19346.stderr @@ -1,5 +1,5 @@ -T19346.hs:6:11: error: +T19346.hs:6:11: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Bool’ • In the first argument of ‘MkT’, namely ‘x’ In the expression: MkT x diff --git a/testsuite/tests/typecheck/should_fail/T19364.stderr b/testsuite/tests/typecheck/should_fail/T19364.stderr index ffd5ad2bf7..085380ccbb 100644 --- a/testsuite/tests/typecheck/should_fail/T19364.stderr +++ b/testsuite/tests/typecheck/should_fail/T19364.stderr @@ -1,5 +1,5 @@ -T19364.hs:9:12: error: +T19364.hs:9:12: error: [GHC-83865] • Couldn't match type ‘[Char]’ with ‘Bool’ Expected: Foo Actual: String diff --git a/testsuite/tests/typecheck/should_fail/T19415.stderr b/testsuite/tests/typecheck/should_fail/T19415.stderr index 899137c427..075d10bd97 100644 --- a/testsuite/tests/typecheck/should_fail/T19415.stderr +++ b/testsuite/tests/typecheck/should_fail/T19415.stderr @@ -1,5 +1,5 @@ -T19415.hs:27:8: error: +T19415.hs:27:8: error: [GHC-18872] • Couldn't match type ‘[Char]’ with ‘Char’ arising from a functional dependency between: constraint ‘SetField "name" (Pet a0) (Pet b) Char’ diff --git a/testsuite/tests/typecheck/should_fail/T19915.stderr b/testsuite/tests/typecheck/should_fail/T19915.stderr index 7f75999605..a6ce93a7c4 100644 --- a/testsuite/tests/typecheck/should_fail/T19915.stderr +++ b/testsuite/tests/typecheck/should_fail/T19915.stderr @@ -1,4 +1,4 @@ -T19915.hs:5:10: error: +T19915.hs:5:10: error: [GHC-97044] • Class ‘WithDict’ does not support user-specified instances. • In the instance declaration for ‘WithDict a b’ diff --git a/testsuite/tests/typecheck/should_fail/T19977a.stderr b/testsuite/tests/typecheck/should_fail/T19977a.stderr index 3bce358d49..fec298099e 100644 --- a/testsuite/tests/typecheck/should_fail/T19977a.stderr +++ b/testsuite/tests/typecheck/should_fail/T19977a.stderr @@ -1,5 +1,5 @@ -T19977a.hs:11:7: error: +T19977a.hs:11:7: error: [GHC-39999] • Could not deduce ‘Show a’ arising from a use of ‘f’ from the context: Show [a] bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T19977b.stderr b/testsuite/tests/typecheck/should_fail/T19977b.stderr index d773791a2d..6a5b6a1443 100644 --- a/testsuite/tests/typecheck/should_fail/T19977b.stderr +++ b/testsuite/tests/typecheck/should_fail/T19977b.stderr @@ -1,5 +1,5 @@ -T19977b.hs:21:5: error: +T19977b.hs:21:5: error: [GHC-39999] • Could not deduce ‘C a’ arising from a use of ‘h’ from the context: D a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T19978.stderr b/testsuite/tests/typecheck/should_fail/T19978.stderr index 68796e058a..4328b1adda 100644 --- a/testsuite/tests/typecheck/should_fail/T19978.stderr +++ b/testsuite/tests/typecheck/should_fail/T19978.stderr @@ -1,5 +1,5 @@ -T19978.hs:8:7: error: +T19978.hs:8:7: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘Bool’ • imported from ‘Prelude’ at T19978.hs:3:8-13 (and originally defined in ‘GHC.Types’) @@ -8,11 +8,11 @@ T19978.hs:8:7: error: • In the expression: Bool In an equation for ‘ex1’: ex1 = Bool -T19978.hs:14:7: error: +T19978.hs:14:7: error: [GHC-88464] Data constructor not in scope: Let Suggested fix: Perhaps use ‘Left’ (imported from Prelude) -T19978.hs:21:7: error: +T19978.hs:21:7: error: [GHC-31891] • Illegal term-level use of the type variable ‘mytv’ • bound at T19978.hs:20:15 • Perhaps use one of these: diff --git a/testsuite/tests/typecheck/should_fail/T20043.stderr b/testsuite/tests/typecheck/should_fail/T20043.stderr index cafb93bd04..ffa4f544d7 100644 --- a/testsuite/tests/typecheck/should_fail/T20043.stderr +++ b/testsuite/tests/typecheck/should_fail/T20043.stderr @@ -1,5 +1,5 @@ -T20043.hs:20:24: error: +T20043.hs:20:24: error: [GHC-83865] • Expected kind ‘GHC.Types.RuntimeRep’, but ‘a’ has kind ‘*’ • In the type ‘a’ In the expression: undefined @a diff --git a/testsuite/tests/typecheck/should_fail/T20064.stderr b/testsuite/tests/typecheck/should_fail/T20064.stderr index 1f743bb075..ab0d333844 100644 --- a/testsuite/tests/typecheck/should_fail/T20064.stderr +++ b/testsuite/tests/typecheck/should_fail/T20064.stderr @@ -1,5 +1,5 @@ -T20064.hs:14:7: error: +T20064.hs:14:7: error: [GHC-39999] • No instance for ‘C Int b0’ arising from a use of ‘meth’ • In the expression: meth ab In an equation for ‘foo’: foo = meth ab diff --git a/testsuite/tests/typecheck/should_fail/T20122.stderr b/testsuite/tests/typecheck/should_fail/T20122.stderr index d810d1433f..8884ca6fa8 100644 --- a/testsuite/tests/typecheck/should_fail/T20122.stderr +++ b/testsuite/tests/typecheck/should_fail/T20122.stderr @@ -1,5 +1,5 @@ -T20122.hs:11:7: error: +T20122.hs:11:7: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘test’ prevents the constraint ‘(Testable a0)’ from being solved. Relevant bindings include diff --git a/testsuite/tests/typecheck/should_fail/T20189.stderr b/testsuite/tests/typecheck/should_fail/T20189.stderr index df67fa4066..077f57d6d5 100644 --- a/testsuite/tests/typecheck/should_fail/T20189.stderr +++ b/testsuite/tests/typecheck/should_fail/T20189.stderr @@ -1,5 +1,5 @@ -T20189.hs:6:5: error: +T20189.hs:6:5: error: [GHC-88464] • Found hole: _ :: t Where: ‘t’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T20241b.stderr b/testsuite/tests/typecheck/should_fail/T20241b.stderr index 7b742e7905..76106b2fb6 100644 --- a/testsuite/tests/typecheck/should_fail/T20241b.stderr +++ b/testsuite/tests/typecheck/should_fail/T20241b.stderr @@ -1,12 +1,12 @@ -T20241b.hs:16:8: error: +T20241b.hs:16:8: error: [GHC-47403] • Boom • In the type signature: foo :: ((TypeError (Text "Boom") :: (Type -> Type) -> Type -> Constraint) IO) a => Proxy a -> () -T20241b.hs:20:8: error: +T20241b.hs:20:8: error: [GHC-47403] • Boom • In the type signature: bar :: ((c :: Constraint diff --git a/testsuite/tests/typecheck/should_fail/T20443b.stderr b/testsuite/tests/typecheck/should_fail/T20443b.stderr index 050b945db0..48f0664d91 100644 --- a/testsuite/tests/typecheck/should_fail/T20443b.stderr +++ b/testsuite/tests/typecheck/should_fail/T20443b.stderr @@ -1,5 +1,5 @@ -T20443b.hs:13:4: error: +T20443b.hs:13:4: error: [GHC-01629] • Too many type arguments in constructor pattern for ‘Proxy’ Expected no more than 1; got 2 • In the pattern: Proxy @Type @Int diff --git a/testsuite/tests/typecheck/should_fail/T20542.stderr b/testsuite/tests/typecheck/should_fail/T20542.stderr index 14fb60848c..85565d273b 100644 --- a/testsuite/tests/typecheck/should_fail/T20542.stderr +++ b/testsuite/tests/typecheck/should_fail/T20542.stderr @@ -1,5 +1,5 @@ -T20542.hs:17:7: error: +T20542.hs:17:7: error: [GHC-43085] • Overlapping instances for Foo String String arising from a use of ‘foo’ Matching instances: diff --git a/testsuite/tests/typecheck/should_fail/T20768_fail.stderr b/testsuite/tests/typecheck/should_fail/T20768_fail.stderr index 86bb3b5216..7546223830 100644 --- a/testsuite/tests/typecheck/should_fail/T20768_fail.stderr +++ b/testsuite/tests/typecheck/should_fail/T20768_fail.stderr @@ -1,31 +1,31 @@ -T20768_fail.hs:7:16: - Couldn't match expected type ‘Bool’ with actual type ‘Char’ - In the expression: 'c' +T20768_fail.hs:7:16: error: [GHC-83865] + • Couldn't match expected type ‘Bool’ with actual type ‘Char’ + • In the expression: 'c' In a stmt of a pattern guard for - a /cases alternative: + a \cases alternative: 'c' - In a /cases alternative: | 'c' -> "foo" + In a \cases alternative: | 'c' -> "foo" -T20768_fail.hs:9:1: - Couldn't match expected type: IO t0 +T20768_fail.hs:9:1: error: [GHC-83865] + • Couldn't match expected type: IO t0 with actual type: a0 -> m0 () - When checking the type of the IO action ‘main’ + • When checking the type of the IO action ‘main’ -T20768_fail.hs:11:11: - /cases alternatives have different numbers of arguments +T20768_fail.hs:11:11: error: [GHC-91938] + • \cases alternatives have different numbers of arguments T20768_fail.hs:11:18-33 T20768_fail.hs:12:18-31 - In the second argument of ‘(&)’, namely - ‘/cases + • In the second argument of ‘(&)’, namely + ‘\cases 1 2 -> return () 1 -> return ()’ In the expression: - 1 & /cases + 1 & \cases 1 2 -> return () 1 -> return () In an equation for ‘foo’: foo - = 1 & /cases + = 1 & \cases 1 2 -> return () 1 -> return () diff --git a/testsuite/tests/typecheck/should_fail/T21130.stderr b/testsuite/tests/typecheck/should_fail/T21130.stderr index d1d018bc9f..2f7d8bbf10 100644 --- a/testsuite/tests/typecheck/should_fail/T21130.stderr +++ b/testsuite/tests/typecheck/should_fail/T21130.stderr @@ -1,34 +1,34 @@ -T21130.hs:10:6: - Found hole: _ :: t0 -> Int +T21130.hs:10:6: error: [GHC-88464] + • Found hole: _ :: t0 -> Int Where: ‘t0’ is an ambiguous type variable - In the expression: (_ f) :: Int + • In the expression: (_ f) :: Int In an equation for ‘x’: x = (_ f) :: Int - Relevant bindings include x :: Int (bound at T21130.hs:10:1) - Valid hole fits include - head :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a - with head @Int + • Relevant bindings include x :: Int (bound at T21130.hs:10:1) + Valid hole fits include + head :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a + with head @Int (imported from ‘Prelude’ at T21130.hs:2:8-13 (and originally defined in ‘GHC.List’)) - last :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a - with last @Int + last :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a + with last @Int (imported from ‘Prelude’ at T21130.hs:2:8-13 (and originally defined in ‘GHC.List’)) - read :: forall a. Read a => String -> a - with read @Int + read :: forall a. Read a => String -> a + with read @Int (imported from ‘Prelude’ at T21130.hs:2:8-13 (and originally defined in ‘Text.Read’)) - T21130.hs:10:8: - Ambiguous type variable ‘t0’ arising from a use of ‘f’ +T21130.hs:10:8: error: [GHC-39999] + • Ambiguous type variable ‘t0’ arising from a use of ‘f’ prevents the constraint ‘(Enum (Item t0))’ from being solved. Probable fix: use a type annotation to specify what ‘t0’ should be. - Potentially matching instances: + Potentially matching instances: instance Enum Ordering -- Defined in ‘GHC.Enum’ instance Enum Integer -- Defined in ‘GHC.Enum’ - ...plus N others - ...plus N instances involving out-of-scope types - (use -fprint-potential-instances to see them all) - In the first argument of ‘_’, namely ‘f’ - In the expression: (_ f) :: Int + ...plus 8 others + ...plus five instances involving out-of-scope types + (use -fprint-potential-instances to see them all) + • In the first argument of ‘_’, namely ‘f’ + In the expression: (_ f) :: Int In an equation for ‘x’: x = (_ f) :: Int diff --git a/testsuite/tests/typecheck/should_fail/T21158.stderr b/testsuite/tests/typecheck/should_fail/T21158.stderr index 88394ad2e9..fe5002d6c4 100644 --- a/testsuite/tests/typecheck/should_fail/T21158.stderr +++ b/testsuite/tests/typecheck/should_fail/T21158.stderr @@ -1,11 +1,11 @@ -T21158.hs:12:14: error: +T21158.hs:12:14: error: [GHC-83865] • Couldn't match type: F b0 with: F b Expected: [F b] Actual: [F b0] - NB: ‘F’ is a non-injective type family - The type variable ‘b0’ is ambiguous + NB: ‘F’ is a non-injective type family + The type variable ‘b0’ is ambiguous • In a record update at field ‘x’, with type constructor ‘T’ and data constructor ‘MkT’. @@ -14,13 +14,13 @@ T21158.hs:12:14: error: • Relevant bindings include foo1 :: [Int] -> T b (bound at T21158.hs:12:1) -T21158.hs:15:49: error: +T21158.hs:15:49: error: [GHC-83865] • Couldn't match type: F b1 with: F b Expected: [F b] Actual: [F b1] - NB: ‘F’ is a non-injective type family - The type variable ‘b1’ is ambiguous + NB: ‘F’ is a non-injective type family + The type variable ‘b1’ is ambiguous • In the second argument of ‘MkT’, namely ‘y’ In the expression: MkT newx y In a case alternative: MkT x y -> MkT newx y diff --git a/testsuite/tests/typecheck/should_fail/T21327.stderr b/testsuite/tests/typecheck/should_fail/T21327.stderr index 3756d2e3ae..98ea237018 100644 --- a/testsuite/tests/typecheck/should_fail/T21327.stderr +++ b/testsuite/tests/typecheck/should_fail/T21327.stderr @@ -1,8 +1,8 @@ -T21327.hs:7:11: - Couldn't match a lifted type with an unlifted type +T21327.hs:7:11: error: [GHC-18872] + • Couldn't match a lifted type with an unlifted type When matching types t0 :: * Int# :: TYPE 'IntRep - In the expression: ?p :: Int# + • In the expression: ?p :: Int# In an equation for ‘foo’: foo () = (?p :: Int#) diff --git a/testsuite/tests/typecheck/should_fail/T21338.stderr b/testsuite/tests/typecheck/should_fail/T21338.stderr index 754763ed23..4fed65d7af 100644 --- a/testsuite/tests/typecheck/should_fail/T21338.stderr +++ b/testsuite/tests/typecheck/should_fail/T21338.stderr @@ -1,31 +1,23 @@ -T21338.hs:38:24: - Couldn't match type ‘flds0’ with ‘flds’ +T21338.hs:38:24: error: [GHC-83865] + • Couldn't match type ‘flds0’ with ‘flds’ Expected: NP (K String) flds Actual: NP (K String) flds0 - ‘flds0’ is untouchable - inside the constraints: All flds0 - bound by a pattern with constructor: - Record :: forall (xs :: [*]). - All xs => - NP (K String) xs -> ConstructorInfo xs, - in a case alternative - at T21338.hs:38:3-11 - ‘flds’ is a rigid type variable bound by - the type signature for: - fieldNames :: forall a (flds :: [*]). NP (K String) flds - at T21338.hs:36:1-57 - In the second argument of ‘hmap’, namely ‘np’ + ‘flds’ is a rigid type variable bound by + the type signature for: + fieldNames :: forall a (flds :: [*]). NP (K String) flds + at T21338.hs:36:1-57 + • In the second argument of ‘hmap’, namely ‘np’ In the expression: hmap id np In a case alternative: Record np -> hmap id np - Relevant bindings include + • Relevant bindings include np :: NP (K String) flds0 (bound at T21338.hs:38:10) fieldNames :: NP (K String) flds (bound at T21338.hs:37:1) -T21338.hs:39:8: - Cannot apply expression of type ‘h0 f0 xs0 -> h0 g0 xs0’ +T21338.hs:39:8: error: [GHC-95781] + • Cannot apply expression of type ‘h0 f0 xs0 -> h0 g0 xs0’ to a visible type argument ‘flds’ - In the expression: hmap undefined @flds + • In the expression: hmap undefined @flds In a case alternative: _ -> hmap undefined @flds In the expression: case foo @a of diff --git a/testsuite/tests/typecheck/should_fail/T21583.stderr b/testsuite/tests/typecheck/should_fail/T21583.stderr index a250419f09..13ad0f96f3 100644 --- a/testsuite/tests/typecheck/should_fail/T21583.stderr +++ b/testsuite/tests/typecheck/should_fail/T21583.stderr @@ -1,21 +1,26 @@ -T21583.hs:14:23: error: [-Wstar-is-type (in -Wall, -Wcompat), -Werror=star-is-type] + +T21583.hs:14:23: error: [GHC-39567] [-Wstar-is-type (in -Wall, -Wcompat), Werror=star-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead. -T21583.hs:14:28: error: [-Wstar-is-type (in -Wall, -Wcompat), -Werror=star-is-type] + +T21583.hs:14:28: error: [GHC-39567] [-Wstar-is-type (in -Wall, -Wcompat), Werror=star-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead. + T21583.hs:56:10: warning: [-Wmissing-methods (in -Wdefault)] • No explicit implementation for ‘fmap’ • In the instance declaration for ‘Functor (SplitFunctor g f)’ + T21583.hs:58:10: warning: [-Wmissing-methods (in -Wdefault)] • No explicit implementation for either ‘foldMap’ or ‘foldr’ • In the instance declaration for ‘Foldable (SplitFunctor g f)’ + T21583.hs:60:10: warning: [-Wmissing-methods (in -Wdefault)] • No explicit implementation for either ‘traverse’ or ‘sequenceA’ diff --git a/testsuite/tests/typecheck/should_fail/T2307.stderr b/testsuite/tests/typecheck/should_fail/T2307.stderr index 80171d3b00..733320eb12 100644 --- a/testsuite/tests/typecheck/should_fail/T2307.stderr +++ b/testsuite/tests/typecheck/should_fail/T2307.stderr @@ -1,5 +1,5 @@ -T2307.hs:11:11: +T2307.hs:11:11: error: [GHC-46208] Functional dependencies conflict between instance declarations: instance [incoherent] C Int (Maybe String) Float -- Defined at T2307.hs:11:11 diff --git a/testsuite/tests/typecheck/should_fail/T2354.stderr b/testsuite/tests/typecheck/should_fail/T2354.stderr index e21eca081e..f374c7dcde 100644 --- a/testsuite/tests/typecheck/should_fail/T2354.stderr +++ b/testsuite/tests/typecheck/should_fail/T2354.stderr @@ -1,6 +1,6 @@ -T2354.hs:4:3: error: +T2354.hs:4:3: error: [GHC-28587] The NOINLINE pragma for default method ‘toInt’ lacks an accompanying binding -T2354.hs:6:3: error: +T2354.hs:6:3: error: [GHC-28587] The NOINLINE pragma for default method ‘fromInt’ lacks an accompanying binding diff --git a/testsuite/tests/typecheck/should_fail/T2414.stderr b/testsuite/tests/typecheck/should_fail/T2414.stderr index 1d89247489..cf451c446f 100644 --- a/testsuite/tests/typecheck/should_fail/T2414.stderr +++ b/testsuite/tests/typecheck/should_fail/T2414.stderr @@ -1,5 +1,5 @@ -T2414.hs:9:13: error: +T2414.hs:9:13: error: [GHC-27958] • Couldn't match type ‘b0’ with ‘(Bool, b0)’ Expected: b0 -> Maybe (Bool, b0) Actual: b0 -> Maybe b0 diff --git a/testsuite/tests/typecheck/should_fail/T2534.stderr b/testsuite/tests/typecheck/should_fail/T2534.stderr index 24cee873c8..2c3656c6a1 100644 --- a/testsuite/tests/typecheck/should_fail/T2534.stderr +++ b/testsuite/tests/typecheck/should_fail/T2534.stderr @@ -1,5 +1,5 @@ -T2534.hs:3:19: error: +T2534.hs:3:19: error: [GHC-83865] • Couldn't match expected type: a -> a -> b with actual type: [a0] • In the second argument of ‘foldr’, namely ‘[]’ diff --git a/testsuite/tests/typecheck/should_fail/T2538.stderr b/testsuite/tests/typecheck/should_fail/T2538.stderr index bbc2c7ee94..0eb8a95d33 100644 --- a/testsuite/tests/typecheck/should_fail/T2538.stderr +++ b/testsuite/tests/typecheck/should_fail/T2538.stderr @@ -1,15 +1,15 @@ -T2538.hs:7:6: error: +T2538.hs:7:6: error: [GHC-91510] • Illegal qualified type: Eq a => a -> a • In the type signature: f :: (Eq a => a -> a) -> Int Suggested fix: Perhaps you intended to use RankNTypes -T2538.hs:10:6: error: +T2538.hs:10:6: error: [GHC-91510] • Illegal qualified type: Eq a => a -> a • In the type signature: g :: [Eq a => a -> a] -> Int Suggested fix: Perhaps you intended to use ImpredicativeTypes -T2538.hs:13:6: error: +T2538.hs:13:6: error: [GHC-91510] • Illegal qualified type: Eq a => a -> a • In the type signature: h :: Ix (Eq a => a -> a) => Int Suggested fix: Perhaps you intended to use ImpredicativeTypes diff --git a/testsuite/tests/typecheck/should_fail/T2688.stderr b/testsuite/tests/typecheck/should_fail/T2688.stderr index 748ec505f3..8cdd9e8eb4 100644 --- a/testsuite/tests/typecheck/should_fail/T2688.stderr +++ b/testsuite/tests/typecheck/should_fail/T2688.stderr @@ -1,5 +1,5 @@ -T2688.hs:8:22: error: +T2688.hs:8:22: error: [GHC-25897] • Couldn't match expected type ‘v’ with actual type ‘s’ ‘s’ is a rigid type variable bound by the class declaration for ‘VectorSpace’ diff --git a/testsuite/tests/typecheck/should_fail/T2714.stderr b/testsuite/tests/typecheck/should_fail/T2714.stderr index 215ad495cf..fdb328eb1c 100644 --- a/testsuite/tests/typecheck/should_fail/T2714.stderr +++ b/testsuite/tests/typecheck/should_fail/T2714.stderr @@ -1,5 +1,5 @@ -T2714.hs:8:7: error: +T2714.hs:8:7: error: [GHC-25897] • Couldn't match type ‘c’ with ‘f0 (a -> b)’ Expected: c -> a Actual: f0 (a -> b) -> f0 b diff --git a/testsuite/tests/typecheck/should_fail/T2806.stderr b/testsuite/tests/typecheck/should_fail/T2806.stderr index 02a4d81c15..ee1ff09df0 100644 --- a/testsuite/tests/typecheck/should_fail/T2806.stderr +++ b/testsuite/tests/typecheck/should_fail/T2806.stderr @@ -1,5 +1,5 @@ -T2806.hs:13:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +T2806.hs:13:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (I# _x) = 4 diff --git a/testsuite/tests/typecheck/should_fail/T2846b.stderr b/testsuite/tests/typecheck/should_fail/T2846b.stderr index 95b30407f2..1a59b51b53 100644 --- a/testsuite/tests/typecheck/should_fail/T2846b.stderr +++ b/testsuite/tests/typecheck/should_fail/T2846b.stderr @@ -1,5 +1,5 @@ -T2846b.hs:5:11: error: +T2846b.hs:5:11: error: [GHC-91028] • Couldn't match expected type ‘a1’ with actual type ‘[Num a0 => a0]’ Cannot instantiate unification variable ‘a1’ diff --git a/testsuite/tests/typecheck/should_fail/T2994.stderr b/testsuite/tests/typecheck/should_fail/T2994.stderr index a3ae3bc4d2..bfc4bf916e 100644 --- a/testsuite/tests/typecheck/should_fail/T2994.stderr +++ b/testsuite/tests/typecheck/should_fail/T2994.stderr @@ -1,23 +1,23 @@ -T2994.hs:12:10: error: +T2994.hs:12:10: error: [GHC-83865] • Expecting one more argument to ‘MonadReader Int’ Expected a constraint, but ‘MonadReader Int’ has kind ‘* -> Constraint’ • In the instance declaration for ‘MonadReader Int’ -T2994.hs:14:10: error: +T2994.hs:14:10: error: [GHC-83865] • Expecting one more argument to ‘MonadReader (Reader' r)’ Expected a constraint, but ‘MonadReader (Reader' r)’ has kind ‘* -> Constraint’ • In the instance declaration for ‘MonadReader (Reader' r)’ -T2994.hs:14:23: error: +T2994.hs:14:23: error: [GHC-83865] • Expecting one more argument to ‘Reader' r’ Expected a type, but ‘Reader' r’ has kind ‘* -> *’ • In the first argument of ‘MonadReader’, namely ‘(Reader' r)’ In the instance declaration for ‘MonadReader (Reader' r)’ -T2994.hs:16:10: error: +T2994.hs:16:10: error: [GHC-83865] • Expected kind ‘(* -> *) -> Constraint’, but ‘MonadReader r r’ has kind ‘Constraint’ • In the instance declaration for ‘MonadReader r r (Reader' r)’ diff --git a/testsuite/tests/typecheck/should_fail/T3155.stderr b/testsuite/tests/typecheck/should_fail/T3155.stderr index ed7c4160e2..7c2ad8ce6f 100644 --- a/testsuite/tests/typecheck/should_fail/T3155.stderr +++ b/testsuite/tests/typecheck/should_fail/T3155.stderr @@ -1,5 +1,5 @@ -T3155.hs:14:9: error: +T3155.hs:14:9: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/T3176.stderr b/testsuite/tests/typecheck/should_fail/T3176.stderr index d2867df4a1..d8b102dc68 100644 --- a/testsuite/tests/typecheck/should_fail/T3176.stderr +++ b/testsuite/tests/typecheck/should_fail/T3176.stderr @@ -1,5 +1,5 @@ -T3176.hs:9:27: error: +T3176.hs:9:27: error: [GHC-55876] • Cannot use record selector ‘unES’ as a function due to escaped type variables • In the first argument of ‘($)’, namely ‘unES’ In the second argument of ‘($)’, namely ‘unES $ f t’ diff --git a/testsuite/tests/typecheck/should_fail/T3323.stderr b/testsuite/tests/typecheck/should_fail/T3323.stderr index 9d55fcd7fd..cb2d52f21d 100644 --- a/testsuite/tests/typecheck/should_fail/T3323.stderr +++ b/testsuite/tests/typecheck/should_fail/T3323.stderr @@ -1,5 +1,5 @@ -T3323.hs:18:7: error: +T3323.hs:18:7: error: [GHC-39999] • Could not deduce ‘GHC.IO.Device.RawIO dev0’ from the context: (GHC.IO.Device.RawIO dev, GHC.IO.Device.IODevice dev, GHC.IO.BufferedIO.BufferedIO dev, diff --git a/testsuite/tests/typecheck/should_fail/T3406.stderr b/testsuite/tests/typecheck/should_fail/T3406.stderr index 70791b2cdc..e037dd4b0f 100644 --- a/testsuite/tests/typecheck/should_fail/T3406.stderr +++ b/testsuite/tests/typecheck/should_fail/T3406.stderr @@ -1,5 +1,5 @@ -T3406.hs:11:28: error: +T3406.hs:11:28: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘a -> Int’ Expected: a -> ItemColID a b Actual: ItemColID a1 b1 diff --git a/testsuite/tests/typecheck/should_fail/T3540.stderr b/testsuite/tests/typecheck/should_fail/T3540.stderr index 0fdb88b313..4ab1495419 100644 --- a/testsuite/tests/typecheck/should_fail/T3540.stderr +++ b/testsuite/tests/typecheck/should_fail/T3540.stderr @@ -1,20 +1,20 @@ -T3540.hs:4:12: error: +T3540.hs:4:12: error: [GHC-83865] • Expected a type, but ‘a ~ Int’ has kind ‘Constraint’ • In the type signature: thing :: (a ~ Int) -T3540.hs:7:20: error: +T3540.hs:7:20: error: [GHC-83865] • Expected a type, but ‘a ~ Int’ has kind ‘Constraint’ • In the type signature: thing1 :: Int -> (a ~ Int) -T3540.hs:10:13: error: +T3540.hs:10:13: error: [GHC-83865] • Expected a type, but ‘a ~ Int’ has kind ‘Constraint’ • In the type signature: thing2 :: (a ~ Int) -> Int -T3540.hs:13:12: error: +T3540.hs:13:12: error: [GHC-83865] • Expected a type, but ‘?dude :: Int’ has kind ‘Constraint’ • In the type signature: thing3 :: (?dude :: Int) -> Int -T3540.hs:16:11: error: +T3540.hs:16:11: error: [GHC-83865] • Expected a type, but ‘Eq a’ has kind ‘Constraint’ • In the type signature: thing4 :: (Eq a) -> Int diff --git a/testsuite/tests/typecheck/should_fail/T3592.stderr b/testsuite/tests/typecheck/should_fail/T3592.stderr index 458922cb91..09a3d76940 100644 --- a/testsuite/tests/typecheck/should_fail/T3592.stderr +++ b/testsuite/tests/typecheck/should_fail/T3592.stderr @@ -1,5 +1,5 @@ -T3592.hs:8:5: error: +T3592.hs:8:5: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘T a’ Expected: T a -> String Actual: a0 -> String diff --git a/testsuite/tests/typecheck/should_fail/T3613.stderr b/testsuite/tests/typecheck/should_fail/T3613.stderr index cff3344597..6c0f3aafd1 100644 --- a/testsuite/tests/typecheck/should_fail/T3613.stderr +++ b/testsuite/tests/typecheck/should_fail/T3613.stderr @@ -1,5 +1,5 @@ -T3613.hs:14:20: error: +T3613.hs:14:20: error: [GHC-83865] • Couldn't match type ‘IO’ with ‘Maybe’ Expected: Maybe () Actual: IO () @@ -7,7 +7,7 @@ T3613.hs:14:20: error: In the first argument of ‘fooThen’, namely ‘(bar >> undefined)’ In the expression: fooThen (bar >> undefined) -T3613.hs:17:24: error: +T3613.hs:17:24: error: [GHC-83865] • Couldn't match type ‘IO’ with ‘Maybe’ Expected: Maybe () Actual: IO () diff --git a/testsuite/tests/typecheck/should_fail/T3950.stderr b/testsuite/tests/typecheck/should_fail/T3950.stderr index 16fde0e488..6c3740b342 100644 --- a/testsuite/tests/typecheck/should_fail/T3950.stderr +++ b/testsuite/tests/typecheck/should_fail/T3950.stderr @@ -1,5 +1,5 @@ -T3950.hs:16:13: error: +T3950.hs:16:13: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘* -> *’ When matching types w :: (* -> * -> *) -> * diff --git a/testsuite/tests/typecheck/should_fail/T4875.stderr b/testsuite/tests/typecheck/should_fail/T4875.stderr index 48808e319c..ae9d3e9771 100644 --- a/testsuite/tests/typecheck/should_fail/T4875.stderr +++ b/testsuite/tests/typecheck/should_fail/T4875.stderr @@ -1,5 +1,5 @@ -T4875.hs:27:24: error: +T4875.hs:27:24: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘r’ has kind ‘*’ • In the type signature: multiplicities :: r c -> [c] In the class declaration for ‘Morphic’ diff --git a/testsuite/tests/typecheck/should_fail/T4921.stderr b/testsuite/tests/typecheck/should_fail/T4921.stderr index 392928b7eb..d532557c16 100644 --- a/testsuite/tests/typecheck/should_fail/T4921.stderr +++ b/testsuite/tests/typecheck/should_fail/T4921.stderr @@ -1,5 +1,5 @@ -T4921.hs:10:9: error: +T4921.hs:10:9: error: [GHC-39999] • Ambiguous type variables ‘a0’, ‘b1’ arising from a use of ‘f’ prevents the constraint ‘(C a0 b1)’ from being solved. Relevant bindings include x :: a0 (bound at T4921.hs:10:1) @@ -11,7 +11,7 @@ T4921.hs:10:9: error: In the expression: fst f In an equation for ‘x’: x = fst f -T4921.hs:12:9: error: +T4921.hs:12:9: error: [GHC-39999] • Ambiguous type variable ‘b0’ arising from a use of ‘f’ prevents the constraint ‘(C Int b0)’ from being solved. Probable fix: use a type annotation to specify what ‘b0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/T502.stderr b/testsuite/tests/typecheck/should_fail/T502.stderr index dd6b97d132..5960bad751 100644 --- a/testsuite/tests/typecheck/should_fail/T502.stderr +++ b/testsuite/tests/typecheck/should_fail/T502.stderr @@ -1,5 +1,5 @@ -T502.hs:8:11: error: +T502.hs:8:11: error: [GHC-83865] • Couldn't match expected type: (a0, Int) with actual type: (# Int, Int #) • In the first argument of ‘snd’, namely ‘foo’ diff --git a/testsuite/tests/typecheck/should_fail/T5084.stderr b/testsuite/tests/typecheck/should_fail/T5084.stderr index c2bd522a0b..fadae37be5 100644 --- a/testsuite/tests/typecheck/should_fail/T5084.stderr +++ b/testsuite/tests/typecheck/should_fail/T5084.stderr @@ -1,3 +1,3 @@ -T5084.hs:6:5: +T5084.hs:6:5: error: [GHC-28587] The INLINE pragma for default method ‘bar’ lacks an accompanying binding diff --git a/testsuite/tests/typecheck/should_fail/T5095.stderr b/testsuite/tests/typecheck/should_fail/T5095.stderr index 083551cc5f..1c8d03a69f 100644 --- a/testsuite/tests/typecheck/should_fail/T5095.stderr +++ b/testsuite/tests/typecheck/should_fail/T5095.stderr @@ -1,5 +1,5 @@ -T5095.hs:9:11: error: +T5095.hs:9:11: error: [GHC-43085] • Overlapping instances for Eq a arising from a use of ‘==’ Matching instance: instance [overlappable] Show a => Eq a -- Defined at T5095.hs:5:31 diff --git a/testsuite/tests/typecheck/should_fail/T5246.stderr b/testsuite/tests/typecheck/should_fail/T5246.stderr index ea4185af33..60964682f2 100644 --- a/testsuite/tests/typecheck/should_fail/T5246.stderr +++ b/testsuite/tests/typecheck/should_fail/T5246.stderr @@ -1,5 +1,5 @@ -T5246.hs:11:10: error: +T5246.hs:11:10: error: [GHC-18872] • Couldn't match type ‘[Char]’ with ‘Int’ arising from a functional dependency between constraints: ‘?x::Int’ arising from a use of ‘foo’ at T5246.hs:11:10-12 diff --git a/testsuite/tests/typecheck/should_fail/T5300.stderr b/testsuite/tests/typecheck/should_fail/T5300.stderr index a64f5fd090..63aed82773 100644 --- a/testsuite/tests/typecheck/should_fail/T5300.stderr +++ b/testsuite/tests/typecheck/should_fail/T5300.stderr @@ -1,5 +1,5 @@ -T5300.hs:12:7: error: +T5300.hs:12:7: error: [GHC-39999] • Could not deduce ‘C1 a b c0’ from the context: (Monad m, C1 a b c) bound by the type signature for: @@ -13,7 +13,7 @@ T5300.hs:12:7: error: In the type signature: f1 :: (Monad m, C1 a b c) => a -> StateT (T b) m a -T5300.hs:15:7: error: +T5300.hs:15:7: error: [GHC-39999] • Could not deduce ‘C1 a1 b1 c10’ from the context: (Monad m, C1 a1 b1 c1, C2 a2 b2 c2) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T5570.stderr b/testsuite/tests/typecheck/should_fail/T5570.stderr index 0c12be680e..06d53d4fed 100644 --- a/testsuite/tests/typecheck/should_fail/T5570.stderr +++ b/testsuite/tests/typecheck/should_fail/T5570.stderr @@ -1,5 +1,5 @@ -T5570.hs:7:16: error: +T5570.hs:7:16: error: [GHC-83865] • Expecting a lifted type, but ‘Double#’ is unlifted • In the first argument of ‘($)’, namely ‘D#’ In the second argument of ‘($)’, namely ‘D# $ 3.0##’ diff --git a/testsuite/tests/typecheck/should_fail/T5684.stderr b/testsuite/tests/typecheck/should_fail/T5684.stderr index 256040f26b..1fc3bbdc06 100644 --- a/testsuite/tests/typecheck/should_fail/T5684.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684.stderr @@ -1,5 +1,5 @@ -T5684.hs:20:12: error: +T5684.hs:20:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op False False In the expression: @@ -7,7 +7,7 @@ T5684.hs:20:12: error: In an equation for ‘flop1’: flop1 = [op False False, op 'c' undefined, op True undefined] -T5684.hs:24:12: error: +T5684.hs:24:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5684b.stderr b/testsuite/tests/typecheck/should_fail/T5684b.stderr index 9808afe97c..a527b677a3 100644 --- a/testsuite/tests/typecheck/should_fail/T5684b.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684b.stderr @@ -1,5 +1,5 @@ -T5684b.hs:12:12: error: +T5684b.hs:12:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op False False In the expression: @@ -7,7 +7,7 @@ T5684b.hs:12:12: error: In an equation for ‘flop2’: flop2 = [op False False, op True undefined, op 'c' undefined] -T5684b.hs:14:12: error: +T5684b.hs:14:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5684c.stderr b/testsuite/tests/typecheck/should_fail/T5684c.stderr index af57d1b7c1..cbe769dc0d 100644 --- a/testsuite/tests/typecheck/should_fail/T5684c.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684c.stderr @@ -1,5 +1,5 @@ -T5684c.hs:12:12: error: +T5684c.hs:12:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: @@ -7,7 +7,7 @@ T5684c.hs:12:12: error: In an equation for ‘flop3’: flop3 = [op 'c' undefined, op True undefined, op False False] -T5684c.hs:13:12: error: +T5684c.hs:13:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op True undefined In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5684d.stderr b/testsuite/tests/typecheck/should_fail/T5684d.stderr index ea5cd031ef..07c161e76e 100644 --- a/testsuite/tests/typecheck/should_fail/T5684d.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684d.stderr @@ -1,5 +1,5 @@ -T5684d.hs:12:12: error: +T5684d.hs:12:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: @@ -7,7 +7,7 @@ T5684d.hs:12:12: error: In an equation for ‘flop4’: flop4 = [op 'c' undefined, op False False, op True undefined] -T5684d.hs:13:12: error: +T5684d.hs:13:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op False False In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5684e.stderr b/testsuite/tests/typecheck/should_fail/T5684e.stderr index d81fcc8881..3f0bb95908 100644 --- a/testsuite/tests/typecheck/should_fail/T5684e.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684e.stderr @@ -1,5 +1,5 @@ -T5684e.hs:12:12: error: +T5684e.hs:12:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op True undefined In the expression: @@ -7,7 +7,7 @@ T5684e.hs:12:12: error: In an equation for ‘flop5’: flop5 = [op True undefined, op 'c' undefined, op False False] -T5684e.hs:13:12: error: +T5684e.hs:13:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5684f.stderr b/testsuite/tests/typecheck/should_fail/T5684f.stderr index a5f2c886d3..0a036fc309 100644 --- a/testsuite/tests/typecheck/should_fail/T5684f.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684f.stderr @@ -1,5 +1,5 @@ -T5684f.hs:12:12: error: +T5684f.hs:12:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op True undefined In the expression: @@ -7,7 +7,7 @@ T5684f.hs:12:12: error: In an equation for ‘flop6’: flop6 = [op True undefined, op False False, op 'c' undefined] -T5684f.hs:14:12: error: +T5684f.hs:14:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5689.stderr b/testsuite/tests/typecheck/should_fail/T5689.stderr index 3c25fee2db..a34a199929 100644 --- a/testsuite/tests/typecheck/should_fail/T5689.stderr +++ b/testsuite/tests/typecheck/should_fail/T5689.stderr @@ -1,5 +1,5 @@ -T5689.hs:15:23: error: +T5689.hs:15:23: error: [GHC-39999] • No instance for ‘Num Bool’ arising from the literal ‘1234’ • In the first argument of ‘c’, namely ‘1234’ In the second argument of ‘($)’, namely ‘c 1234’ diff --git a/testsuite/tests/typecheck/should_fail/T5691.stderr b/testsuite/tests/typecheck/should_fail/T5691.stderr index 45c54720cf..723b504b48 100644 --- a/testsuite/tests/typecheck/should_fail/T5691.stderr +++ b/testsuite/tests/typecheck/should_fail/T5691.stderr @@ -1,10 +1,10 @@ -T5691.hs:24:10: error: +T5691.hs:24:10: error: [GHC-39999] • No instance for ‘Alternative RecDecParser’ arising from the superclasses of an instance declaration • In the instance declaration for ‘MonadPlus RecDecParser’ -T5691.hs:24:10: error: +T5691.hs:24:10: error: [GHC-39999] • No instance for ‘Monad RecDecParser’ arising from the superclasses of an instance declaration • In the instance declaration for ‘MonadPlus RecDecParser’ diff --git a/testsuite/tests/typecheck/should_fail/T5853.stderr b/testsuite/tests/typecheck/should_fail/T5853.stderr index 564f58ad62..1e71808b4e 100644 --- a/testsuite/tests/typecheck/should_fail/T5853.stderr +++ b/testsuite/tests/typecheck/should_fail/T5853.stderr @@ -1,5 +1,5 @@ -T5853.hs:15:52: error: +T5853.hs:15:52: error: [GHC-25897] • Could not deduce ‘Subst fa2 (Elem fb) ~ fb’ arising from a use of ‘<$>’ from the context: (F fa1, Elem fb ~ Elem fb, diff --git a/testsuite/tests/typecheck/should_fail/T5858.stderr b/testsuite/tests/typecheck/should_fail/T5858.stderr index 5679c6a995..cf00175de8 100644 --- a/testsuite/tests/typecheck/should_fail/T5858.stderr +++ b/testsuite/tests/typecheck/should_fail/T5858.stderr @@ -1,5 +1,5 @@ -T5858.hs:11:7: error: +T5858.hs:11:7: error: [GHC-39999] • Ambiguous type variables ‘a0’, ‘a1’ arising from a use of ‘infer’ prevents the constraint ‘(InferOverloaded ([a0], [a1]))’ from being solved. diff --git a/testsuite/tests/typecheck/should_fail/T5957.stderr b/testsuite/tests/typecheck/should_fail/T5957.stderr index 95c9a7a578..c9da7f9297 100644 --- a/testsuite/tests/typecheck/should_fail/T5957.stderr +++ b/testsuite/tests/typecheck/should_fail/T5957.stderr @@ -1,5 +1,5 @@ -T5957.hs:4:9: error: +T5957.hs:4:9: error: [GHC-91510] • Illegal qualified type: Show a => a -> String • In the type signature: flex :: Int -> Show a => a -> String Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/T5978.stderr b/testsuite/tests/typecheck/should_fail/T5978.stderr index bc339695ea..90730779d5 100644 --- a/testsuite/tests/typecheck/should_fail/T5978.stderr +++ b/testsuite/tests/typecheck/should_fail/T5978.stderr @@ -1,8 +1,8 @@ -T5978.hs:22:11: error: - Couldn't match type ‘Bool’ with ‘Char’ - arising from a functional dependency between: - constraint ‘C Double Char’ arising from a use of ‘polyBar’ - instance ‘C Double Bool’ at T5978.hs:8:10-22 - In the expression: polyBar id monoFoo - In an equation for ‘monoBar’: monoBar = polyBar id monoFoo +T5978.hs:22:11: error: [GHC-18872] + • Couldn't match type ‘Bool’ with ‘Char’ + arising from a functional dependency between: + constraint ‘C Double Char’ arising from a use of ‘polyBar’ + instance ‘C Double Bool’ at T5978.hs:8:10-22 + • In the expression: polyBar id monoFoo + In an equation for ‘monoBar’: monoBar = polyBar id monoFoo diff --git a/testsuite/tests/typecheck/should_fail/T6001.stderr b/testsuite/tests/typecheck/should_fail/T6001.stderr index a7a8274923..17b53dffd3 100644 --- a/testsuite/tests/typecheck/should_fail/T6001.stderr +++ b/testsuite/tests/typecheck/should_fail/T6001.stderr @@ -1,5 +1,5 @@ -T6001.hs:8:18: error: +T6001.hs:8:18: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘Integer’ Expected: Integer -> DayKind Actual: Int -> DayKind diff --git a/testsuite/tests/typecheck/should_fail/T6018fail.stderr b/testsuite/tests/typecheck/should_fail/T6018fail.stderr index 78a92e7d1b..4171226794 100644 --- a/testsuite/tests/typecheck/should_fail/T6018fail.stderr +++ b/testsuite/tests/typecheck/should_fail/T6018fail.stderr @@ -4,53 +4,53 @@ [4 of 5] Compiling T6018Dfail ( T6018Dfail.hs, T6018Dfail.o ) [5 of 5] Compiling T6018fail ( T6018fail.hs, T6018fail.o ) -T6018fail.hs:15:15: error: +T6018fail.hs:15:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: F Bool Int Char = Int -- Defined at T6018fail.hs:15:15 F Char Bool Int = Int -- Defined at T6018fail.hs:14:15 -T6018fail.hs:21:15: error: +T6018fail.hs:21:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: I Int Int Int = Bool -- Defined at T6018fail.hs:21:15 I Int Char Bool = Bool -- Defined at T6018fail.hs:20:15 -T6018fail.hs:30:15: error: +T6018fail.hs:30:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: IdProxy a = Id a -- Defined at T6018fail.hs:30:15 -T6018fail.hs:38:15: error: +T6018fail.hs:38:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘'Z’ P 'Z m = m -- Defined at T6018fail.hs:38:15 -T6018fail.hs:39:15: error: +T6018fail.hs:39:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: P ('S n) m = 'S (P n m) -- Defined at T6018fail.hs:39:15 P 'Z m = m -- Defined at T6018fail.hs:38:15 -T6018fail.hs:44:15: error: +T6018fail.hs:44:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘b’ cannot be inferred from the right-hand side. In the type family equation: J Int b c = Char -- Defined at T6018fail.hs:44:15 -T6018fail.hs:48:15: error: +T6018fail.hs:48:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘n’ cannot be inferred from the right-hand side. In the type family equation: K ('S n) m = 'S m -- Defined at T6018fail.hs:48:15 -T6018fail.hs:53:15: error: +T6018fail.hs:53:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: L a = MaybeSyn a -- Defined at T6018fail.hs:53:15 -T6018fail.hs:61:10: error: +T6018fail.hs:61:10: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k1’ cannot be inferred from the right-hand side. @@ -58,7 +58,7 @@ T6018fail.hs:61:10: error: PolyKindVarsF @{[k1]} @[k2] ('[] @k1) = '[] @k2 -- Defined at T6018fail.hs:61:10 -T6018fail.hs:64:15: error: +T6018fail.hs:64:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k1’ cannot be inferred from the right-hand side. @@ -66,14 +66,14 @@ T6018fail.hs:64:15: error: PolyKindVars @[k1] @[k2] ('[] @k1) = '[] @k2 -- Defined at T6018fail.hs:64:15 -T6018fail.hs:68:15: error: +T6018fail.hs:68:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k’ cannot be inferred from the right-hand side. In the type family equation: forall {k} {a :: k} {b :: k}. Fc @k a b = Int -- Defined at T6018fail.hs:68:15 -T6018fail.hs:72:15: error: +T6018fail.hs:72:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variables ‘k’, ‘a’, ‘b’ cannot be inferred from the right-hand side. @@ -81,60 +81,60 @@ T6018fail.hs:72:15: error: forall {k} {a :: k} {b :: k}. Gc @k a b = Int -- Defined at T6018fail.hs:72:15 -T6018fail.hs:76:15: error: +T6018fail.hs:76:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: F1 [a] = Maybe (GF1 a) -- Defined at T6018fail.hs:76:15 F1 (Maybe a) = Maybe (GF2 a) -- Defined at T6018fail.hs:77:15 -T6018fail.hs:89:15: error: +T6018fail.hs:89:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘[a]’ W1 [a] = a -- Defined at T6018fail.hs:89:15 -T6018fail.hs:92:15: error: +T6018fail.hs:92:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: W2 [a] = W2 a -- Defined at T6018fail.hs:92:15 -T6018fail.hs:97:15: error: +T6018fail.hs:97:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: Z1 (Maybe b) = (b, [b]) -- Defined at T6018fail.hs:97:15 Z1 [a] = (a, a) -- Defined at T6018fail.hs:96:15 -T6018fail.hs:101:15: error: +T6018fail.hs:101:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G1 (Maybe b) = [(b, b)] -- Defined at T6018fail.hs:101:15 G1 [a] = [a] -- Defined at T6018fail.hs:100:15 -T6018fail.hs:105:15: error: +T6018fail.hs:105:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G3 a Bool = (Bool, a) -- Defined at T6018fail.hs:105:15 G3 a Int = (a, Int) -- Defined at T6018fail.hs:104:15 -T6018fail.hs:108:15: error: +T6018fail.hs:108:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘b’ cannot be inferred from the right-hand side. In the type family equation: G4 a b = [a] -- Defined at T6018fail.hs:108:15 -T6018fail.hs:112:15: error: +T6018fail.hs:112:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G5 Int = [Bool] -- Defined at T6018fail.hs:112:15 G5 [a] = [GF1 a] -- Defined at T6018fail.hs:111:15 -T6018fail.hs:115:15: error: +T6018fail.hs:115:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘a’ cannot be inferred from the right-hand side. In the type family equation: G6 [a] = [HF1 a] -- Defined at T6018fail.hs:115:15 -T6018fail.hs:120:15: error: +T6018fail.hs:120:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variables ‘k’, ‘c’ cannot be inferred from the right-hand side. @@ -142,26 +142,26 @@ T6018fail.hs:120:15: error: forall {k} {a} {b} {c :: k}. G7 @k a b c = [G7a @k a b c] -- Defined at T6018fail.hs:120:15 -T6018fail.hs:131:1: error: +T6018fail.hs:131:1: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: FC Int Bool = Bool -- Defined at T6018fail.hs:131:1 FC Int Char = Bool -- Defined at T6018fail.hs:127:10 -T6018fail.hs:136:1: error: +T6018fail.hs:136:1: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘*’, ‘Char’ FC Char a = a -- Defined at T6018fail.hs:136:1 -module T6018Cfail: error: +module T6018Cfail: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: T6018Bfail.H Char Bool Int = Int -- Defined in module T6018Cfail T6018Bfail.H Bool Int Char = Int -- Defined in module T6018Dfail -module T6018Afail: error: +module T6018Afail: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G Char Bool Int = Int -- Defined in module T6018Afail diff --git a/testsuite/tests/typecheck/should_fail/T6018failclosed.stderr b/testsuite/tests/typecheck/should_fail/T6018failclosed.stderr index bd953629b9..b7f9b3fd63 100644 --- a/testsuite/tests/typecheck/should_fail/T6018failclosed.stderr +++ b/testsuite/tests/typecheck/should_fail/T6018failclosed.stderr @@ -1,12 +1,12 @@ -T6018failclosed.hs:11:5: error: +T6018failclosed.hs:11:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: IdProxyClosed a = IdClosed a -- Defined at T6018failclosed.hs:11:5 • In the equations for closed type family ‘IdProxyClosed’ In the type family declaration for ‘IdProxyClosed’ -T6018failclosed.hs:19:5: error: +T6018failclosed.hs:19:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: PClosed 'Z m = m -- Defined at T6018failclosed.hs:19:5 @@ -15,7 +15,7 @@ T6018failclosed.hs:19:5: error: • In the equations for closed type family ‘PClosed’ In the type family declaration for ‘PClosed’ -T6018failclosed.hs:19:5: error: +T6018failclosed.hs:19:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘'Z’ @@ -23,7 +23,7 @@ T6018failclosed.hs:19:5: error: • In the equations for closed type family ‘PClosed’ In the type family declaration for ‘PClosed’ -T6018failclosed.hs:25:5: error: +T6018failclosed.hs:25:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type/kind variables ‘k1’, ‘b’ cannot be inferred from the right-hand side. @@ -34,7 +34,7 @@ T6018failclosed.hs:25:5: error: • In the equations for closed type family ‘JClosed’ In the type family declaration for ‘JClosed’ -T6018failclosed.hs:30:5: error: +T6018failclosed.hs:30:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type variable ‘n’ cannot be inferred from the right-hand side. In the type family equation: @@ -42,7 +42,7 @@ T6018failclosed.hs:30:5: error: • In the equations for closed type family ‘KClosed’ In the type family declaration for ‘KClosed’ -T6018failclosed.hs:35:5: error: +T6018failclosed.hs:35:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: forall {k} {a :: k}. @@ -50,7 +50,7 @@ T6018failclosed.hs:35:5: error: • In the equations for closed type family ‘LClosed’ In the type family declaration for ‘LClosed’ -T6018failclosed.hs:39:5: error: +T6018failclosed.hs:39:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: FClosed Char Bool Int = Int -- Defined at T6018failclosed.hs:39:5 @@ -58,7 +58,7 @@ T6018failclosed.hs:39:5: error: • In the equations for closed type family ‘FClosed’ In the type family declaration for ‘FClosed’ -T6018failclosed.hs:43:5: error: +T6018failclosed.hs:43:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: IClosed Int Char Bool = Bool -- Defined at T6018failclosed.hs:43:5 @@ -66,7 +66,7 @@ T6018failclosed.hs:43:5: error: • In the equations for closed type family ‘IClosed’ In the type family declaration for ‘IClosed’ -T6018failclosed.hs:49:3: error: +T6018failclosed.hs:49:3: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: E2 'True = 'False -- Defined at T6018failclosed.hs:49:3 @@ -74,7 +74,7 @@ T6018failclosed.hs:49:3: error: • In the equations for closed type family ‘E2’ In the type family declaration for ‘E2’ -T6018failclosed.hs:50:3: error: +T6018failclosed.hs:50:3: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type variable ‘a’ cannot be inferred from the right-hand side. In the type family equation: @@ -82,7 +82,7 @@ T6018failclosed.hs:50:3: error: • In the equations for closed type family ‘E2’ In the type family declaration for ‘E2’ -T6018failclosed.hs:61:3: error: +T6018failclosed.hs:61:3: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: F a IO = IO a -- Defined at T6018failclosed.hs:61:3 @@ -90,7 +90,7 @@ T6018failclosed.hs:61:3: error: • In the equations for closed type family ‘F’ In the type family declaration for ‘F’ -T6018failclosed.hs:66:5: error: +T6018failclosed.hs:66:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type/kind variable ‘k’ cannot be inferred from the right-hand side. In the type family equation: diff --git a/testsuite/tests/typecheck/should_fail/T6018failclosed2.stderr b/testsuite/tests/typecheck/should_fail/T6018failclosed2.stderr index 52d57c01e6..66b5765fbc 100644 --- a/testsuite/tests/typecheck/should_fail/T6018failclosed2.stderr +++ b/testsuite/tests/typecheck/should_fail/T6018failclosed2.stderr @@ -1,6 +1,6 @@ -T6018failclosed2.hs:17:10: error: +T6018failclosed2.hs:17:10: error: [GHC-83865] • Couldn't match expected type ‘Char’ with actual type ‘Bar a0’ - The type variable ‘a0’ is ambiguous + The type variable ‘a0’ is ambiguous • In the expression: bar 'c' In an equation for ‘barapp’: barapp = bar 'c' diff --git a/testsuite/tests/typecheck/should_fail/T6022.stderr b/testsuite/tests/typecheck/should_fail/T6022.stderr index 08ee73df2e..70e4b708de 100644 --- a/testsuite/tests/typecheck/should_fail/T6022.stderr +++ b/testsuite/tests/typecheck/should_fail/T6022.stderr @@ -1,5 +1,5 @@ -T6022.hs:4:1: error: +T6022.hs:4:1: error: [GHC-80003] • Non type-variable argument in the constraint: Eq ([a] -> a) • When checking the inferred type f :: forall {a}. Eq ([a] -> a) => ([a] -> a) -> Bool diff --git a/testsuite/tests/typecheck/should_fail/T6069.stderr b/testsuite/tests/typecheck/should_fail/T6069.stderr index 0456a84280..8b93135d98 100644 --- a/testsuite/tests/typecheck/should_fail/T6069.stderr +++ b/testsuite/tests/typecheck/should_fail/T6069.stderr @@ -1,5 +1,5 @@ -T6069.hs:13:15: error: +T6069.hs:13:15: error: [GHC-83865] • Couldn't match type: forall s. ST s b0 with: ST s0 Int Expected: ST s0 Int -> b0 @@ -8,7 +8,7 @@ T6069.hs:13:15: error: In the expression: (print . runST) fourty_two In an equation for ‘f1’: f1 = (print . runST) fourty_two -T6069.hs:14:15: error: +T6069.hs:14:15: error: [GHC-83865] • Couldn't match type: forall s. ST s b1 with: ST s1 Int Expected: ST s1 Int -> b1 @@ -17,7 +17,7 @@ T6069.hs:14:15: error: In the first argument of ‘($)’, namely ‘(print . runST)’ In the expression: (print . runST) $ fourty_two -T6069.hs:15:16: error: +T6069.hs:15:16: error: [GHC-83865] • Couldn't match type: forall s. ST s b2 with: ST s2 Int Expected: ST s2 Int -> b2 diff --git a/testsuite/tests/typecheck/should_fail/T6078.stderr b/testsuite/tests/typecheck/should_fail/T6078.stderr index 65f5df765e..cf5beb6276 100644 --- a/testsuite/tests/typecheck/should_fail/T6078.stderr +++ b/testsuite/tests/typecheck/should_fail/T6078.stderr @@ -1,5 +1,5 @@ -T6078.hs:8:10: error: +T6078.hs:8:10: error: [GHC-20036] You can't mix polymorphic and unlifted bindings: ip1p@(Ptr ip1) = Ptr ip0 `plusPtr` len Suggested fix: Add a type signature. diff --git a/testsuite/tests/typecheck/should_fail/T6161.stderr b/testsuite/tests/typecheck/should_fail/T6161.stderr index 5b33bd9e94..71c7455abd 100644 --- a/testsuite/tests/typecheck/should_fail/T6161.stderr +++ b/testsuite/tests/typecheck/should_fail/T6161.stderr @@ -1,5 +1,5 @@ -T6161.hs:19:10: error: +T6161.hs:19:10: error: [GHC-39999] • Could not deduce ‘Super (Fam a)’ arising from the superclasses of an instance declaration from the context: Foo a diff --git a/testsuite/tests/typecheck/should_fail/T7019.stderr b/testsuite/tests/typecheck/should_fail/T7019.stderr index ce7613109c..7234e39985 100644 --- a/testsuite/tests/typecheck/should_fail/T7019.stderr +++ b/testsuite/tests/typecheck/should_fail/T7019.stderr @@ -1,5 +1,5 @@ -T7019.hs:11:1: error: +T7019.hs:11:1: error: [GHC-91510] • Illegal polymorphic type: forall a. c (Free c a) A constraint must be a monotype • In the type synonym declaration for ‘C’ diff --git a/testsuite/tests/typecheck/should_fail/T7019a.stderr b/testsuite/tests/typecheck/should_fail/T7019a.stderr index 15eeb6735b..2f503ed044 100644 --- a/testsuite/tests/typecheck/should_fail/T7019a.stderr +++ b/testsuite/tests/typecheck/should_fail/T7019a.stderr @@ -1,5 +1,5 @@ -T7019a.hs:11:1: error: +T7019a.hs:11:1: error: [GHC-91510] • Illegal polymorphic type: forall b. Context (Associated a b) A constraint must be a monotype • In the context: forall b. Context (Associated a b) diff --git a/testsuite/tests/typecheck/should_fail/T7210.stderr b/testsuite/tests/typecheck/should_fail/T7210.stderr index d0ca04a84e..d37e8e7268 100644 --- a/testsuite/tests/typecheck/should_fail/T7210.stderr +++ b/testsuite/tests/typecheck/should_fail/T7210.stderr @@ -1,5 +1,5 @@ -T7210.hs:5:19: error: +T7210.hs:5:19: error: [GHC-18932] • Unexpected strictness annotation: !IntMap strictness annotation cannot appear nested inside a type • In the type ‘!IntMap Int’ diff --git a/testsuite/tests/typecheck/should_fail/T7264.stderr b/testsuite/tests/typecheck/should_fail/T7264.stderr index 0f18dd41af..89854dd9d8 100644 --- a/testsuite/tests/typecheck/should_fail/T7264.stderr +++ b/testsuite/tests/typecheck/should_fail/T7264.stderr @@ -1,5 +1,5 @@ -T7264.hs:13:19: error: +T7264.hs:13:19: error: [GHC-91028] • Couldn't match type ‘a’ with ‘forall r. r -> String’ Expected: a -> Foo Actual: (forall r. r -> String) -> Foo diff --git a/testsuite/tests/typecheck/should_fail/T7279.stderr b/testsuite/tests/typecheck/should_fail/T7279.stderr index 7077183081..dd31bb1492 100644 --- a/testsuite/tests/typecheck/should_fail/T7279.stderr +++ b/testsuite/tests/typecheck/should_fail/T7279.stderr @@ -1,5 +1,5 @@ -T7279.hs:6:10: error: +T7279.hs:6:10: error: [GHC-39999] • Could not deduce ‘Show b0’ from the context: (Eq a, Show b) bound by an instance declaration: diff --git a/testsuite/tests/typecheck/should_fail/T7368.stderr b/testsuite/tests/typecheck/should_fail/T7368.stderr index ef100b1fa4..26f1c251e2 100644 --- a/testsuite/tests/typecheck/should_fail/T7368.stderr +++ b/testsuite/tests/typecheck/should_fail/T7368.stderr @@ -1,5 +1,5 @@ -T7368.hs:3:10: error: +T7368.hs:3:10: error: [GHC-18872] • Couldn't match kind ‘* -> *’ with ‘*’ When matching types b0 :: * diff --git a/testsuite/tests/typecheck/should_fail/T7368a.stderr b/testsuite/tests/typecheck/should_fail/T7368a.stderr index 2fcb92f209..28054f1f92 100644 --- a/testsuite/tests/typecheck/should_fail/T7368a.stderr +++ b/testsuite/tests/typecheck/should_fail/T7368a.stderr @@ -1,5 +1,5 @@ -T7368a.hs:8:6: error: +T7368a.hs:8:6: error: [GHC-18872] • Couldn't match kind ‘* -> *’ with ‘*’ When matching types f :: * -> * diff --git a/testsuite/tests/typecheck/should_fail/T7410.stderr b/testsuite/tests/typecheck/should_fail/T7410.stderr index 0ca86ed872..ae45c885b7 100644 --- a/testsuite/tests/typecheck/should_fail/T7410.stderr +++ b/testsuite/tests/typecheck/should_fail/T7410.stderr @@ -1,6 +1,5 @@ -T7410.hs:3:9: error: +T7410.hs:3:9: error: [GHC-83865] • Expecting one more argument to ‘Either Int’ Expected a type, but ‘Either Int’ has kind ‘* -> *’ - • In the type signature: - foo :: (Either Int, Int) + • In the type signature: foo :: (Either Int, Int) diff --git a/testsuite/tests/typecheck/should_fail/T7437.stderr b/testsuite/tests/typecheck/should_fail/T7437.stderr index 05deecb7a0..d5577873f6 100644 --- a/testsuite/tests/typecheck/should_fail/T7437.stderr +++ b/testsuite/tests/typecheck/should_fail/T7437.stderr @@ -7,7 +7,7 @@ T7437.hs:14:13: error: put :: forall a. Put a => a -> [()] In the class declaration for ‘Put’ -T7437.hs:14:13: error: +T7437.hs:14:13: error: [GHC-39999] • Could not deduce ‘Put a0’ from the context: (Put a, Generic t, GPut (Rep t)) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T7453.stderr b/testsuite/tests/typecheck/should_fail/T7453.stderr index 53cbe52420..9f58a8d786 100644 --- a/testsuite/tests/typecheck/should_fail/T7453.stderr +++ b/testsuite/tests/typecheck/should_fail/T7453.stderr @@ -1,5 +1,5 @@ -T7453.hs:9:15: error: +T7453.hs:9:15: error: [GHC-25897] • Couldn't match type ‘t’ with ‘p’ Expected: Id t Actual: Id p @@ -29,7 +29,7 @@ T7453.hs:9:15: error: v :: p (bound at T7453.hs:7:7) cast1 :: p -> a (bound at T7453.hs:7:1) -T7453.hs:15:15: error: +T7453.hs:15:15: error: [GHC-25897] • Couldn't match type ‘t1’ with ‘p’ Expected: () -> t1 Actual: () -> p @@ -59,7 +59,7 @@ T7453.hs:15:15: error: v :: p (bound at T7453.hs:13:7) cast2 :: p -> t (bound at T7453.hs:13:1) -T7453.hs:21:15: error: +T7453.hs:21:15: error: [GHC-25897] • Couldn't match expected type ‘t1’ with actual type ‘p’ ‘t1’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T7525.stderr b/testsuite/tests/typecheck/should_fail/T7525.stderr index eca5c1d2cc..5b2e5e4062 100644 --- a/testsuite/tests/typecheck/should_fail/T7525.stderr +++ b/testsuite/tests/typecheck/should_fail/T7525.stderr @@ -1,5 +1,5 @@ -T7525.hs:5:30: error: +T7525.hs:5:30: error: [GHC-91416] • Could not deduce ‘?b::Bool’ arising from a use of implicit parameter ‘?b’ from the context: ?a::Bool diff --git a/testsuite/tests/typecheck/should_fail/T7609.stderr b/testsuite/tests/typecheck/should_fail/T7609.stderr index 32bc980fe9..f927b3c0b0 100644 --- a/testsuite/tests/typecheck/should_fail/T7609.stderr +++ b/testsuite/tests/typecheck/should_fail/T7609.stderr @@ -1,14 +1,14 @@ -T7609.hs:7:16: error: +T7609.hs:7:16: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: f :: (a `X` a, Maybe) -T7609.hs:10:7: error: +T7609.hs:10:7: error: [GHC-83865] • Expected a constraint, but ‘a `X` a’ has kind ‘*’ • In the type signature: g :: (a `X` a) => Maybe -T7609.hs:10:19: error: +T7609.hs:10:19: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: g :: (a `X` a) => Maybe diff --git a/testsuite/tests/typecheck/should_fail/T7645.stderr b/testsuite/tests/typecheck/should_fail/T7645.stderr index 24330b2aeb..bdd24e5c4e 100644 --- a/testsuite/tests/typecheck/should_fail/T7645.stderr +++ b/testsuite/tests/typecheck/should_fail/T7645.stderr @@ -1,5 +1,5 @@ -T7645.hs:8:26: error: +T7645.hs:8:26: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: f :: ((+) a (a :: Type), Maybe) diff --git a/testsuite/tests/typecheck/should_fail/T7696.stderr b/testsuite/tests/typecheck/should_fail/T7696.stderr index cc8885c372..92f6be0211 100644 --- a/testsuite/tests/typecheck/should_fail/T7696.stderr +++ b/testsuite/tests/typecheck/should_fail/T7696.stderr @@ -1,5 +1,5 @@ -T7696.hs:9:6: error: +T7696.hs:9:6: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘* -> *’ When matching types t0 :: (* -> *) -> * diff --git a/testsuite/tests/typecheck/should_fail/T7697.stderr b/testsuite/tests/typecheck/should_fail/T7697.stderr index b4ac7a9642..4b263e556d 100644 --- a/testsuite/tests/typecheck/should_fail/T7697.stderr +++ b/testsuite/tests/typecheck/should_fail/T7697.stderr @@ -1,5 +1,4 @@ -T7697.hs:3:6: error: +T7697.hs:3:6: error: [GHC-83865] • Expected a constraint, but ‘Int’ has kind ‘*’ - • In the type signature: - f :: Int => Int + • In the type signature: f :: Int => Int diff --git a/testsuite/tests/typecheck/should_fail/T7734.stderr b/testsuite/tests/typecheck/should_fail/T7734.stderr index 1dfe6b641c..251e233406 100644 --- a/testsuite/tests/typecheck/should_fail/T7734.stderr +++ b/testsuite/tests/typecheck/should_fail/T7734.stderr @@ -1,5 +1,5 @@ -T7734.hs:4:13: error: +T7734.hs:4:13: error: [GHC-25897] • Couldn't match expected type ‘t1’ with actual type ‘t1 -> t2’ ‘t1’ is a rigid type variable bound by the inferred type of f :: (t1 -> t2) -> p -> t2 @@ -11,7 +11,7 @@ T7734.hs:4:13: error: x :: t1 -> t2 (bound at T7734.hs:4:1) f :: (t1 -> t2) -> p -> t2 (bound at T7734.hs:4:3) -T7734.hs:5:13: error: +T7734.hs:5:13: error: [GHC-25897] • Couldn't match expected type ‘t1’ with actual type ‘t1 -> t2’ ‘t1’ is a rigid type variable bound by the inferred type of & :: (t1 -> t2) -> p -> t2 diff --git a/testsuite/tests/typecheck/should_fail/T7748a.stderr b/testsuite/tests/typecheck/should_fail/T7748a.stderr index c187edd01d..ba0e6769a6 100644 --- a/testsuite/tests/typecheck/should_fail/T7748a.stderr +++ b/testsuite/tests/typecheck/should_fail/T7748a.stderr @@ -1,5 +1,5 @@ -T7748a.hs:14:24: error: +T7748a.hs:14:24: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Maybe (Maybe (r -> ()))’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/should_fail/T7778.stderr b/testsuite/tests/typecheck/should_fail/T7778.stderr index a0f10fcd92..d2069c4af9 100644 --- a/testsuite/tests/typecheck/should_fail/T7778.stderr +++ b/testsuite/tests/typecheck/should_fail/T7778.stderr @@ -1,10 +1,10 @@ -T7778.hs:3:7: error: +T7778.hs:3:7: error: [GHC-83865] • Expected kind ‘* -> Constraint’, but ‘Num Int => Num’ has kind ‘*’ • In the type signature: v :: ((Num Int => Num) ()) => () -T7778.hs:3:19: error: +T7778.hs:3:19: error: [GHC-83865] • Expecting one more argument to ‘Num’ Expected a type, but ‘Num’ has kind ‘* -> Constraint’ • In the type signature: v :: ((Num Int => Num) ()) => () diff --git a/testsuite/tests/typecheck/should_fail/T7809.stderr b/testsuite/tests/typecheck/should_fail/T7809.stderr index 6ebb781a61..8cb3506dc0 100644 --- a/testsuite/tests/typecheck/should_fail/T7809.stderr +++ b/testsuite/tests/typecheck/should_fail/T7809.stderr @@ -1,5 +1,5 @@ -T7809.hs:8:8: error: +T7809.hs:8:8: error: [GHC-91510] • Illegal polymorphic type: forall a. a -> a • In the expansion of type synonym ‘PolyId’ In the type signature: foo :: F PolyId diff --git a/testsuite/tests/typecheck/should_fail/T7851.stderr b/testsuite/tests/typecheck/should_fail/T7851.stderr index 289df8ad40..a59d7645aa 100644 --- a/testsuite/tests/typecheck/should_fail/T7851.stderr +++ b/testsuite/tests/typecheck/should_fail/T7851.stderr @@ -1,5 +1,5 @@ -T7851.hs:5:10: error: +T7851.hs:5:10: error: [GHC-83865] • Couldn't match expected type: IO a0 with actual type: a1 -> IO () • Probable cause: ‘print’ is applied to too few arguments diff --git a/testsuite/tests/typecheck/should_fail/T7856.stderr b/testsuite/tests/typecheck/should_fail/T7856.stderr index a5a3a4bff1..28714b8f0c 100644 --- a/testsuite/tests/typecheck/should_fail/T7856.stderr +++ b/testsuite/tests/typecheck/should_fail/T7856.stderr @@ -1,5 +1,5 @@ -T7856.hs:4:7: error: +T7856.hs:4:7: error: [GHC-83865] • Couldn't match expected type: String -> IO () with actual type: IO () • Possible cause: ‘sequence_’ is applied to too many arguments diff --git a/testsuite/tests/typecheck/should_fail/T7857.stderr b/testsuite/tests/typecheck/should_fail/T7857.stderr index fa5f4f0c1b..699017d79b 100644 --- a/testsuite/tests/typecheck/should_fail/T7857.stderr +++ b/testsuite/tests/typecheck/should_fail/T7857.stderr @@ -1,5 +1,5 @@ -T7857.hs:8:11: error: +T7857.hs:8:11: error: [GHC-39999] • Could not deduce ‘PrintfType a0’ arising from a use of ‘printf’ from the context: PrintfArg t bound by the inferred type of g :: PrintfArg t => t -> b diff --git a/testsuite/tests/typecheck/should_fail/T7869.stderr b/testsuite/tests/typecheck/should_fail/T7869.stderr index c599b276d9..f6aa8d0bfc 100644 --- a/testsuite/tests/typecheck/should_fail/T7869.stderr +++ b/testsuite/tests/typecheck/should_fail/T7869.stderr @@ -1,5 +1,5 @@ -T7869.hs:3:12: error: +T7869.hs:3:12: error: [GHC-25897] • Couldn't match type ‘a1’ with ‘a’ Expected: [a1] -> b1 Actual: [a] -> b diff --git a/testsuite/tests/typecheck/should_fail/T7892.stderr b/testsuite/tests/typecheck/should_fail/T7892.stderr index fa332c745e..308bc0a969 100644 --- a/testsuite/tests/typecheck/should_fail/T7892.stderr +++ b/testsuite/tests/typecheck/should_fail/T7892.stderr @@ -1,4 +1,4 @@ -T7892.hs:5:4: error: +T7892.hs:5:4: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘f’ has kind ‘*’ • In the associated type family declaration for ‘F’ diff --git a/testsuite/tests/typecheck/should_fail/T7989.stderr b/testsuite/tests/typecheck/should_fail/T7989.stderr index 8b02d0df31..7413b06648 100644 --- a/testsuite/tests/typecheck/should_fail/T7989.stderr +++ b/testsuite/tests/typecheck/should_fail/T7989.stderr @@ -1,15 +1,15 @@ -T7989.hs:6:7: - No constructor has all these fields: ‘a0’, ‘b0’ - In the expression: x {a0 = 3, a1 = 2, b0 = 4, b1 = 5} - In an equation for ‘f’: f x = x {a0 = 3, a1 = 2, b0 = 4, b1 = 5} +T7989.hs:6:7: error: [GHC-14392] + • No constructor has all these fields: ‘a0’, ‘b0’ + • In the expression: x {a0 = 3, a1 = 2, b0 = 4, b1 = 5} + In an equation for ‘f’: f x = x {a0 = 3, a1 = 2, b0 = 4, b1 = 5} -T7989.hs:9:7: - No constructor has all these fields: ‘x’, ‘y’, ‘z’ - In the expression: a {x = 0, y = 0, z = 0, v = 0} - In an equation for ‘g’: g a = a {x = 0, y = 0, z = 0, v = 0} +T7989.hs:9:7: error: [GHC-14392] + • No constructor has all these fields: ‘x’, ‘y’, ‘z’ + • In the expression: a {x = 0, y = 0, z = 0, v = 0} + In an equation for ‘g’: g a = a {x = 0, y = 0, z = 0, v = 0} -T7989.hs:11:7: - No constructor has all these fields: ‘x’, ‘a0’ - In the expression: a {x = 0, a0 = 0} - In an equation for ‘h’: h a = a {x = 0, a0 = 0} +T7989.hs:11:7: error: [GHC-14392] + • No constructor has all these fields: ‘x’, ‘a0’ + • In the expression: a {x = 0, a0 = 0} + In an equation for ‘h’: h a = a {x = 0, a0 = 0} diff --git a/testsuite/tests/typecheck/should_fail/T8030.stderr b/testsuite/tests/typecheck/should_fail/T8030.stderr index 623eabbdbc..e3a3b6a40b 100644 --- a/testsuite/tests/typecheck/should_fail/T8030.stderr +++ b/testsuite/tests/typecheck/should_fail/T8030.stderr @@ -1,22 +1,22 @@ -T8030.hs:9:3: error: +T8030.hs:9:3: error: [GHC-83865] • Couldn't match expected type: Pr a with actual type: Pr a0 - NB: ‘Pr’ is a non-injective type family - The type variable ‘a0’ is ambiguous + NB: ‘Pr’ is a non-injective type family + The type variable ‘a0’ is ambiguous • In the ambiguity check for ‘op1’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: op1 :: forall k (a :: k). C a => Pr a In the class declaration for ‘C’ -T8030.hs:10:3: error: +T8030.hs:10:3: error: [GHC-83865] • Couldn't match type: Pr a0 with: Pr a Expected: Pr a -> Pr a -> Pr a Actual: Pr a0 -> Pr a0 -> Pr a0 - NB: ‘Pr’ is a non-injective type family - The type variable ‘a0’ is ambiguous + NB: ‘Pr’ is a non-injective type family + The type variable ‘a0’ is ambiguous • In the ambiguity check for ‘op2’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: diff --git a/testsuite/tests/typecheck/should_fail/T8034.stderr b/testsuite/tests/typecheck/should_fail/T8034.stderr index 05f2ca42a3..04ba80c9ad 100644 --- a/testsuite/tests/typecheck/should_fail/T8034.stderr +++ b/testsuite/tests/typecheck/should_fail/T8034.stderr @@ -1,11 +1,11 @@ -T8034.hs:7:3: error: +T8034.hs:7:3: error: [GHC-83865] • Couldn't match type: F a0 with: F a Expected: F a -> F a Actual: F a0 -> F a0 - NB: ‘F’ is a non-injective type family - The type variable ‘a0’ is ambiguous + NB: ‘F’ is a non-injective type family + The type variable ‘a0’ is ambiguous • In the ambiguity check for ‘foo’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: foo :: forall a. C a => F a -> F a diff --git a/testsuite/tests/typecheck/should_fail/T8044.stderr b/testsuite/tests/typecheck/should_fail/T8044.stderr index 2069f5f281..ae0d336088 100644 --- a/testsuite/tests/typecheck/should_fail/T8044.stderr +++ b/testsuite/tests/typecheck/should_fail/T8044.stderr @@ -1,5 +1,5 @@ -T8044.hs:16:13: error: +T8044.hs:16:13: error: [GHC-83865] • Couldn't match type ‘Frob a’ with ‘Char’ Expected: X (Frob a) Actual: X Char diff --git a/testsuite/tests/typecheck/should_fail/T8142.stderr b/testsuite/tests/typecheck/should_fail/T8142.stderr index 2c970aca2e..e36cbadcef 100644 --- a/testsuite/tests/typecheck/should_fail/T8142.stderr +++ b/testsuite/tests/typecheck/should_fail/T8142.stderr @@ -1,10 +1,10 @@ -T8142.hs:6:10: error: +T8142.hs:6:10: error: [GHC-83865] • Couldn't match type: Nu f0 with: c -> f c Expected: (c -> f c) -> c -> f c Actual: Nu ((,) a0) -> Nu f0 - The type variable ‘f0’ is ambiguous + The type variable ‘f0’ is ambiguous • In the expression: h In an equation for ‘tracer’: tracer @@ -14,7 +14,7 @@ T8142.hs:6:10: error: • Relevant bindings include tracer :: (c -> f c) -> c -> f c (bound at T8142.hs:6:1) -T8142.hs:6:57: error: +T8142.hs:6:57: error: [GHC-83865] • Couldn't match type: Nu ((,) a) with: f1 (Nu ((,) a)) Expected: Nu ((,) a) -> (a, f1 (Nu ((,) a))) diff --git a/testsuite/tests/typecheck/should_fail/T8262.stderr b/testsuite/tests/typecheck/should_fail/T8262.stderr index fb0d17aef5..c9baa5315a 100644 --- a/testsuite/tests/typecheck/should_fail/T8262.stderr +++ b/testsuite/tests/typecheck/should_fail/T8262.stderr @@ -1,5 +1,5 @@ -T8262.hs:5:15: error: +T8262.hs:5:15: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a :: * diff --git a/testsuite/tests/typecheck/should_fail/T8428.stderr b/testsuite/tests/typecheck/should_fail/T8428.stderr index 2668bb45fd..b3c705091f 100644 --- a/testsuite/tests/typecheck/should_fail/T8428.stderr +++ b/testsuite/tests/typecheck/should_fail/T8428.stderr @@ -1,5 +1,5 @@ -T8428.hs:11:19: error: +T8428.hs:11:19: error: [GHC-83865] • Couldn't match type: (forall s. ST s) a with: forall s. ST s a Expected: IdentityT (forall s. ST s) a -> forall s. ST s a diff --git a/testsuite/tests/typecheck/should_fail/T8450.stderr b/testsuite/tests/typecheck/should_fail/T8450.stderr index 8ba84a76f1..3c394b1161 100644 --- a/testsuite/tests/typecheck/should_fail/T8450.stderr +++ b/testsuite/tests/typecheck/should_fail/T8450.stderr @@ -1,5 +1,5 @@ -T8450.hs:8:7: error: +T8450.hs:8:7: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘()’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T8514.stderr b/testsuite/tests/typecheck/should_fail/T8514.stderr index e3ea4cb385..382d82a119 100644 --- a/testsuite/tests/typecheck/should_fail/T8514.stderr +++ b/testsuite/tests/typecheck/should_fail/T8514.stderr @@ -1,6 +1,6 @@ -T8514.hs:3:16: - Expecting one more argument to ‘Maybe’ - Expected a type, but ‘Maybe’ has kind ‘* -> *’ - In the type ‘(a, Maybe)’ - In the type declaration for ‘T’ +T8514.hs:3:16: error: [GHC-83865] + • Expecting one more argument to ‘Maybe’ + Expected a type, but ‘Maybe’ has kind ‘* -> *’ + • In the type ‘(a, Maybe)’ + In the type declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_fail/T8603.stderr b/testsuite/tests/typecheck/should_fail/T8603.stderr index e4febcfb4c..d369b2d0db 100644 --- a/testsuite/tests/typecheck/should_fail/T8603.stderr +++ b/testsuite/tests/typecheck/should_fail/T8603.stderr @@ -1,5 +1,5 @@ -T8603.hs:33:17: error: +T8603.hs:33:17: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘* -> *’ When matching types m0 :: * -> * diff --git a/testsuite/tests/typecheck/should_fail/T8806.stderr b/testsuite/tests/typecheck/should_fail/T8806.stderr index a0cc76ec46..f015603b0b 100644 --- a/testsuite/tests/typecheck/should_fail/T8806.stderr +++ b/testsuite/tests/typecheck/should_fail/T8806.stderr @@ -1,8 +1,8 @@ -T8806.hs:5:6: error: +T8806.hs:5:6: error: [GHC-83865] • Expected a constraint, but ‘Int’ has kind ‘*’ • In the type signature: f :: Int => Int -T8806.hs:8:7: error: +T8806.hs:8:7: error: [GHC-83865] • Expected a constraint, but ‘Int’ has kind ‘*’ • In the type signature: g :: (Int => Show a) => Int diff --git a/testsuite/tests/typecheck/should_fail/T8883.stderr b/testsuite/tests/typecheck/should_fail/T8883.stderr index d9df998297..b2c544342a 100644 --- a/testsuite/tests/typecheck/should_fail/T8883.stderr +++ b/testsuite/tests/typecheck/should_fail/T8883.stderr @@ -1,5 +1,5 @@ -T8883.hs:21:1: error: +T8883.hs:21:1: error: [GHC-80003] • Non type-variable argument in the constraint: Functor (PF a) • When checking the inferred type fold :: forall {a} {b}. diff --git a/testsuite/tests/typecheck/should_fail/T8912.stderr b/testsuite/tests/typecheck/should_fail/T8912.stderr index 7d6f37dca2..f1912e4f25 100644 --- a/testsuite/tests/typecheck/should_fail/T8912.stderr +++ b/testsuite/tests/typecheck/should_fail/T8912.stderr @@ -1,4 +1,4 @@ -T8912.hs:7:10: error: +T8912.hs:7:10: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the instance declaration for ‘C [a]’ diff --git a/testsuite/tests/typecheck/should_fail/T9033.stderr b/testsuite/tests/typecheck/should_fail/T9033.stderr index c2fd563124..c386fe6ec8 100644 --- a/testsuite/tests/typecheck/should_fail/T9033.stderr +++ b/testsuite/tests/typecheck/should_fail/T9033.stderr @@ -1,5 +1,5 @@ -T9033.hs:4:7: - Couldn't match expected type ‘Bool’ with actual type ‘()’ - In the expression: () - In an equation for ‘bad’: bad = () +T9033.hs:4:7: error: [GHC-83865] + • Couldn't match expected type ‘Bool’ with actual type ‘()’ + • In the expression: () + In an equation for ‘bad’: bad = () diff --git a/testsuite/tests/typecheck/should_fail/T9109.stderr b/testsuite/tests/typecheck/should_fail/T9109.stderr index f8224176bd..dfb8ad2950 100644 --- a/testsuite/tests/typecheck/should_fail/T9109.stderr +++ b/testsuite/tests/typecheck/should_fail/T9109.stderr @@ -1,5 +1,5 @@ -T9109.hs:8:13: error: +T9109.hs:8:13: error: [GHC-25897] • Could not deduce ‘p ~ Bool’ from the context: a ~ Bool bound by a pattern with constructor: GBool :: G Bool, diff --git a/testsuite/tests/typecheck/should_fail/T9196.stderr b/testsuite/tests/typecheck/should_fail/T9196.stderr index 6ebdd362c6..dab40b1c74 100644 --- a/testsuite/tests/typecheck/should_fail/T9196.stderr +++ b/testsuite/tests/typecheck/should_fail/T9196.stderr @@ -1,11 +1,11 @@ -T9196.hs:4:6: error: +T9196.hs:4:6: error: [GHC-91510] • Illegal polymorphic type: forall a1. Eq a1 A constraint must be a monotype • In the type signature: f :: (forall a. Eq a) => a -> a Suggested fix: Perhaps you intended to use QuantifiedConstraints -T9196.hs:7:6: error: +T9196.hs:7:6: error: [GHC-91510] • Illegal qualified type: Eq a => Ord a A constraint must be a monotype • In the type signature: g :: (Eq a => Ord a) => a -> a diff --git a/testsuite/tests/typecheck/should_fail/T9201.stderr b/testsuite/tests/typecheck/should_fail/T9201.stderr index f0901b4d56..660c32bef5 100644 --- a/testsuite/tests/typecheck/should_fail/T9201.stderr +++ b/testsuite/tests/typecheck/should_fail/T9201.stderr @@ -1,5 +1,5 @@ -T9201.hs:7:17: error: +T9201.hs:7:17: error: [GHC-25897] • Expected kind ‘x’, but ‘a’ has kind ‘y’ ‘y’ is a rigid type variable bound by the class declaration for ‘MonoidalCCC’ diff --git a/testsuite/tests/typecheck/should_fail/T9260.stderr b/testsuite/tests/typecheck/should_fail/T9260.stderr index 2a6c0ac16c..5ee5ebfe45 100644 --- a/testsuite/tests/typecheck/should_fail/T9260.stderr +++ b/testsuite/tests/typecheck/should_fail/T9260.stderr @@ -1,5 +1,5 @@ -T9260.hs:12:14: error: +T9260.hs:12:14: error: [GHC-83865] • Couldn't match type ‘1’ with ‘0’ Expected: Fin 0 Actual: Fin (0 + 1) diff --git a/testsuite/tests/typecheck/should_fail/T9305.stderr b/testsuite/tests/typecheck/should_fail/T9305.stderr index e7c761ef46..66d3a7e441 100644 --- a/testsuite/tests/typecheck/should_fail/T9305.stderr +++ b/testsuite/tests/typecheck/should_fail/T9305.stderr @@ -1,5 +1,5 @@ -T9305.hs:8:48: error: - Couldn't match kind ‘* -> *’ with ‘*’ - arising from the first field of ‘EventF’ (type ‘F (Event a)’) - When deriving the instance for (Functor EventF) +T9305.hs:8:48: error: [GHC-18872] + • Couldn't match kind ‘* -> *’ with ‘*’ + arising from the first field of ‘EventF’ (type ‘F (Event a)’) + • When deriving the instance for (Functor EventF) diff --git a/testsuite/tests/typecheck/should_fail/T9318.stderr b/testsuite/tests/typecheck/should_fail/T9318.stderr index 0a87c4a1e2..29ddbf5046 100644 --- a/testsuite/tests/typecheck/should_fail/T9318.stderr +++ b/testsuite/tests/typecheck/should_fail/T9318.stderr @@ -1,5 +1,5 @@ -T9318.hs:12:5: error: +T9318.hs:12:5: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Char’ Expected: F Int Actual: Char diff --git a/testsuite/tests/typecheck/should_fail/T9323.stderr b/testsuite/tests/typecheck/should_fail/T9323.stderr index f98ce7bafe..45b1512563 100644 --- a/testsuite/tests/typecheck/should_fail/T9323.stderr +++ b/testsuite/tests/typecheck/should_fail/T9323.stderr @@ -1,5 +1,5 @@ -T9323.hs:4:10: - Couldn't match expected type ‘[Int]’ with actual type ‘()’ - In the expression: () - In an equation for ‘broken’: broken = () +T9323.hs:4:10: error: [GHC-83865] + • Couldn't match expected type ‘[Int]’ with actual type ‘()’ + • In the expression: () + In an equation for ‘broken’: broken = () diff --git a/testsuite/tests/typecheck/should_fail/T9497d.stderr b/testsuite/tests/typecheck/should_fail/T9497d.stderr index 42da4bf430..26db2363ad 100644 --- a/testsuite/tests/typecheck/should_fail/T9497d.stderr +++ b/testsuite/tests/typecheck/should_fail/T9497d.stderr @@ -1,5 +1,5 @@ -T9497d.hs:2:8: error: +T9497d.hs:2:8: error: [GHC-88464] • Found hole: _main :: IO () Or perhaps ‘_main’ is mis-spelled, or not in scope • In an equation for ‘main’: main = _main diff --git a/testsuite/tests/typecheck/should_fail/T9605.stderr b/testsuite/tests/typecheck/should_fail/T9605.stderr index 6132c9538e..359ebc74fd 100644 --- a/testsuite/tests/typecheck/should_fail/T9605.stderr +++ b/testsuite/tests/typecheck/should_fail/T9605.stderr @@ -1,5 +1,5 @@ -T9605.hs:7:6: error: +T9605.hs:7:6: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘m Bool’ Expected: t0 -> m Bool Actual: t0 -> Bool diff --git a/testsuite/tests/typecheck/should_fail/T9612.stderr b/testsuite/tests/typecheck/should_fail/T9612.stderr index 26cea79487..18a6bd8712 100644 --- a/testsuite/tests/typecheck/should_fail/T9612.stderr +++ b/testsuite/tests/typecheck/should_fail/T9612.stderr @@ -1,5 +1,5 @@ -T9612.hs:16:9: error: +T9612.hs:16:9: error: [GHC-18872] • Couldn't match type: [(Int, a)] with: (Int, a) arising from a functional dependency between: diff --git a/testsuite/tests/typecheck/should_fail/T9634.stderr b/testsuite/tests/typecheck/should_fail/T9634.stderr index 8bb1007988..99e6d4344e 100644 --- a/testsuite/tests/typecheck/should_fail/T9634.stderr +++ b/testsuite/tests/typecheck/should_fail/T9634.stderr @@ -1,4 +1,3 @@ -T9634.hs:3:10: error: - Cannot parse data constructor in a data/newtype declaration: - 1 +T9634.hs:3:10: error: [GHC-46574] + Cannot parse data constructor in a data/newtype declaration: 1 diff --git a/testsuite/tests/typecheck/should_fail/T9774.stderr b/testsuite/tests/typecheck/should_fail/T9774.stderr index 2381e3ce75..5bb993190e 100644 --- a/testsuite/tests/typecheck/should_fail/T9774.stderr +++ b/testsuite/tests/typecheck/should_fail/T9774.stderr @@ -1,5 +1,5 @@ -T9774.hs:5:29: error: +T9774.hs:5:29: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘[Char]’ Expected: String Actual: Char diff --git a/testsuite/tests/typecheck/should_fail/T9858a.stderr b/testsuite/tests/typecheck/should_fail/T9858a.stderr index b179fcf595..96a688e28a 100644 --- a/testsuite/tests/typecheck/should_fail/T9858a.stderr +++ b/testsuite/tests/typecheck/should_fail/T9858a.stderr @@ -1,5 +1,5 @@ -T9858a.hs:21:18: error: +T9858a.hs:21:18: error: [GHC-91510] • Illegal qualified type: (() :: Constraint, () :: Constraint) => () • In the expansion of type synonym ‘PX’ diff --git a/testsuite/tests/typecheck/should_fail/T9858b.stderr b/testsuite/tests/typecheck/should_fail/T9858b.stderr index 8bb597a547..2c3efc73c6 100644 --- a/testsuite/tests/typecheck/should_fail/T9858b.stderr +++ b/testsuite/tests/typecheck/should_fail/T9858b.stderr @@ -1,5 +1,5 @@ -T9858b.hs:7:8: error: +T9858b.hs:7:8: error: [GHC-39999] • No instance for ‘Typeable (Eq Int => Int)’ arising from a use of ‘typeRep’ (maybe you haven't applied a function to enough arguments?) diff --git a/testsuite/tests/typecheck/should_fail/T9858e.stderr b/testsuite/tests/typecheck/should_fail/T9858e.stderr index 0ea9d4736a..8b77c1ac73 100644 --- a/testsuite/tests/typecheck/should_fail/T9858e.stderr +++ b/testsuite/tests/typecheck/should_fail/T9858e.stderr @@ -1,5 +1,5 @@ -T9858e.hs:9:7: error: +T9858e.hs:9:7: error: [GHC-83865] • Couldn't match type: Eq Int => Int with: a0 b0 Expected: Proxy (a0 b0) diff --git a/testsuite/tests/typecheck/should_fail/T9999.stderr b/testsuite/tests/typecheck/should_fail/T9999.stderr index d45960a589..490d7c4031 100644 --- a/testsuite/tests/typecheck/should_fail/T9999.stderr +++ b/testsuite/tests/typecheck/should_fail/T9999.stderr @@ -1,5 +1,5 @@ -T9999.hs:13:38: error: +T9999.hs:13:38: error: [GHC-39999] • No instance for ‘Typeable k0’ arising from a use of ‘typeRep’ • In the second argument of ‘(==)’, namely ‘typeRep (Proxy :: Proxy F1)’ diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr index 4370b606ca..671784b45e 100644 --- a/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr +++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr @@ -1,12 +1,12 @@ -TcCoercibleFail.hs:11:8: error: +TcCoercibleFail.hs:11:8: error: [GHC-18872] • Couldn't match representation of type ‘Int’ with that of ‘()’ arising from a use of ‘coerce’ • In the first argument of ‘($)’, namely ‘coerce’ In the expression: coerce $ one :: () In an equation for ‘foo1’: foo1 = coerce $ one :: () -TcCoercibleFail.hs:14:8: error: +TcCoercibleFail.hs:14:8: error: [GHC-18872] • Couldn't match representation of type: m Int with that of: m Age arising from a use of ‘coerce’ @@ -18,14 +18,14 @@ TcCoercibleFail.hs:14:8: error: • Relevant bindings include foo2 :: m Age (bound at TcCoercibleFail.hs:14:1) -TcCoercibleFail.hs:16:8: error: +TcCoercibleFail.hs:16:8: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘Age’ arising from a use of ‘coerce’ • In the first argument of ‘($)’, namely ‘coerce’ In the expression: coerce $ Map one () :: Map Age () In an equation for ‘foo3’: foo3 = coerce $ Map one () :: Map Age () -TcCoercibleFail.hs:18:8: error: +TcCoercibleFail.hs:18:8: error: [GHC-18872] • Couldn't match representation of type ‘Int’ with that of ‘Down Int’ arising from a use of ‘coerce’ @@ -35,13 +35,13 @@ TcCoercibleFail.hs:18:8: error: In the expression: coerce $ one :: Down Int In an equation for ‘foo4’: foo4 = coerce $ one :: Down Int -TcCoercibleFail.hs:21:8: error: +TcCoercibleFail.hs:21:8: error: [GHC-18872] • Couldn't match representation of type ‘Void’ with that of ‘()’ arising from a use of ‘coerce’ • In the expression: coerce :: Void -> () In an equation for ‘foo5’: foo5 = coerce :: Void -> () -TcCoercibleFail.hs:30:9: error: +TcCoercibleFail.hs:30:9: error: [GHC-18872] • Couldn't match representation of type ‘VoidBad ()’ with that of ‘()’ arising from a use of ‘coerce’ @@ -59,7 +59,7 @@ TcCoercibleFail.hs:35:8: error: In an equation for ‘foo6’: foo6 = coerce :: Fix (Either Int) -> Fix (Either Age) -TcCoercibleFail.hs:36:8: error: +TcCoercibleFail.hs:36:8: error: [GHC-18872] • Couldn't match representation of type ‘Either Int (Fix (Either Int))’ with that of ‘()’ diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr index c96bff88ff..43240e675b 100644 --- a/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr +++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr @@ -1,4 +1,4 @@ -TcCoercibleFail2.hs:5:10: error: +TcCoercibleFail2.hs:5:10: error: [GHC-97044] • Class ‘Coercible’ does not support user-specified instances. • In the instance declaration for ‘Coercible () ()’ diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr index 823b4c375d..487e486ec7 100644 --- a/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr +++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr @@ -1,6 +1,6 @@ -TcCoercibleFail3.hs:12:7: error: - Couldn't match representation of type ‘NT1’ with that of ‘NT2’ - arising from a use of ‘coerce’ - In the expression: coerce - In an equation for ‘foo’: foo = coerce +TcCoercibleFail3.hs:12:7: error: [GHC-18872] + • Couldn't match representation of type ‘NT1’ with that of ‘NT2’ + arising from a use of ‘coerce’ + • In the expression: coerce + In an equation for ‘foo’: foo = coerce diff --git a/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr b/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr index 487cfee88f..69229f8e25 100644 --- a/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr +++ b/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr @@ -1,5 +1,5 @@ -TcMultiWayIfFail.hs:6:24: error: +TcMultiWayIfFail.hs:6:24: error: [GHC-83865] • Couldn't match type ‘[Char]’ with ‘Int’ Expected: Int Actual: String @@ -14,7 +14,7 @@ TcMultiWayIfFail.hs:6:24: error: | False -> "2" | otherwise -> [3 :: Int] -TcMultiWayIfFail.hs:7:24: error: +TcMultiWayIfFail.hs:7:24: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘[Int]’ • In the expression: [3 :: Int] In the expression: diff --git a/testsuite/tests/typecheck/should_fail/TcNullaryTCFail.stderr b/testsuite/tests/typecheck/should_fail/TcNullaryTCFail.stderr index 1dd7ba2f74..3907e3e6f1 100644 --- a/testsuite/tests/typecheck/should_fail/TcNullaryTCFail.stderr +++ b/testsuite/tests/typecheck/should_fail/TcNullaryTCFail.stderr @@ -1,5 +1,5 @@ -TcNullaryTCFail.hs:5:10: +TcNullaryTCFail.hs:5:10: error: [GHC-59692] Duplicate instance declarations: instance A -- Defined at TcNullaryTCFail.hs:5:10 instance A -- Defined at TcNullaryTCFail.hs:6:10 diff --git a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail01.stderr b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail01.stderr index 9b85edb110..cadcb96066 100644 --- a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail01.stderr +++ b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail01.stderr @@ -1,5 +1,5 @@ -TcStaticPointersFail01.hs:8:13: error: +TcStaticPointersFail01.hs:8:13: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Int -> Int’ • Probable cause: ‘g’ is applied to too few arguments In the body of a static form: g diff --git a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail02.stderr b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail02.stderr index f8681ed8ba..ea0cc08f44 100644 --- a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail02.stderr +++ b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail02.stderr @@ -1,12 +1,12 @@ -TcStaticPointersFail02.hs:9:6: error: +TcStaticPointersFail02.hs:9:6: error: [GHC-39999] • No instance for ‘base-4.17.0.0:Data.Typeable.Internal.Typeable b’ arising from a static form • In the expression: static (undefined :: (forall a. a -> a) -> b) In an equation for ‘f1’: f1 = static (undefined :: (forall a. a -> a) -> b) -TcStaticPointersFail02.hs:12:6: error: +TcStaticPointersFail02.hs:12:6: error: [GHC-39999] • No instance for ‘base-4.17.0.0:Data.Typeable.Internal.Typeable (Monad m => a -> m a)’ arising from a static form diff --git a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail03.stderr b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail03.stderr index e3dc731da9..169b2d2a02 100644 --- a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail03.stderr +++ b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail03.stderr @@ -1,5 +1,5 @@ -TcStaticPointersFail03.hs:9:29: error: +TcStaticPointersFail03.hs:9:29: error: [GHC-39999] • No instance for ‘Monad m’ arising from a use of ‘return’ • In the body of a static form: return In the first argument of ‘deRefStaticPtr’, namely ‘(static return)’ diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_ExistentialEscape.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_ExistentialEscape.stderr index 2efb51a5c1..a271bc6b42 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_ExistentialEscape.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_ExistentialEscape.stderr @@ -1,5 +1,5 @@ -TyAppPat_ExistentialEscape.hs:10:20: error: +TyAppPat_ExistentialEscape.hs:10:20: error: [GHC-25897] • Couldn't match expected type ‘p’ with actual type ‘a’ ‘a’ is a rigid type variable bound by a pattern with constructor: Some :: forall a. a -> Some, diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_MisplacedApplication.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_MisplacedApplication.stderr index 61ab78e86c..6275bc9295 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_MisplacedApplication.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_MisplacedApplication.stderr @@ -1,3 +1,3 @@ -TyAppPat_MisplacedApplication.hs:9:6: error: +TyAppPat_MisplacedApplication.hs:9:6: error: [GHC-07626] Parse error in pattern: MkT x diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_Nonmatching.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_Nonmatching.stderr index 72a6e27eb8..752cf51f6a 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_Nonmatching.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_Nonmatching.stderr @@ -1,5 +1,5 @@ -TyAppPat_Nonmatching.hs:9:6: error: +TyAppPat_Nonmatching.hs:9:6: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Int’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBinding.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBinding.stderr index d511b93d78..148c2db36e 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBinding.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBinding.stderr @@ -1,5 +1,5 @@ -TyAppPat_PatternBinding.hs:9:1: error: +TyAppPat_PatternBinding.hs:9:1: error: [GHC-48361] • Binding type variables is not allowed in pattern bindings • In the pattern: Just @a x In a pattern binding: Just @a x = Just (5 :: Integer) diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBindingExistential.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBindingExistential.stderr index f400dd63ae..a77ad07422 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBindingExistential.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBindingExistential.stderr @@ -1,10 +1,10 @@ -TyAppPat_PatternBindingExistential.hs:10:1: error: +TyAppPat_PatternBindingExistential.hs:10:1: error: [GHC-48361] • Binding type variables is not allowed in pattern bindings • In the pattern: Some @a x In a pattern binding: Some @a x = Some (5 :: Integer) -TyAppPat_PatternBindingExistential.hs:10:9: error: +TyAppPat_PatternBindingExistential.hs:10:9: error: [GHC-25897] • Couldn't match expected type ‘p’ with actual type ‘a’ ‘a’ is a rigid type variable bound by a pattern with constructor: Some :: forall a. a -> Some, @@ -16,7 +16,7 @@ TyAppPat_PatternBindingExistential.hs:10:9: error: • In the pattern: Some @a x In a pattern binding: Some @a x = Some (5 :: Integer) -TyAppPat_PatternBindingExistential.hs:13:3: error: +TyAppPat_PatternBindingExistential.hs:13:3: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘print’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_TooMany.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_TooMany.stderr index 2b5e60d49b..d69fe96287 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_TooMany.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_TooMany.stderr @@ -1,5 +1,5 @@ -TyAppPat_TooMany.hs:6:4: error: +TyAppPat_TooMany.hs:6:4: error: [GHC-01629] • Too many type arguments in constructor pattern for ‘Just’ Expected no more than 1; got 2 • In the pattern: Just @Int @Bool x diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesConstraintFamily.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesConstraintFamily.stderr index 2eff7f0ab7..4e2c7ff81c 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesConstraintFamily.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesConstraintFamily.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesConstraintFamily.hs:11:1: error: +UnliftedNewtypesConstraintFamily.hs:11:1: error: [GHC-55233] • Data family has non-TYPE and non-variable return kind ‘Constraint’ • In the data family declaration for ‘D’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFail.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFail.stderr index 58b7d65d31..1fc90b22c8 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFail.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFail.stderr @@ -1,5 +1,6 @@ -UnliftedNewtypesFail.hs:6:20: - Expected a type, but ‘Show Int’ has kind ‘Constraint’ - In the type ‘(Show Int)’ + +UnliftedNewtypesFail.hs:6:20: error: [GHC-83865] + • Expected a type, but ‘Show Int’ has kind ‘Constraint’ + • In the type ‘(Show Int)’ In the definition of data constructor ‘Baz’ In the newtype declaration for ‘Baz’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr index fe78140a80..19f1bad556 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesFamilyKindFail1.hs:11:31: error: +UnliftedNewtypesFamilyKindFail1.hs:11:31: error: [GHC-83865] • Expected a type, but ‘5’ has kind ‘GHC.Num.Natural.Natural’ • In the kind ‘5’ In the data family declaration for ‘DF’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail2.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail2.stderr index d609c850b7..e97ea2aa55 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail2.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail2.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesFamilyKindFail2.hs:12:20: error: +UnliftedNewtypesFamilyKindFail2.hs:12:20: error: [GHC-83865] • Expected a type, but ‘5’ has kind ‘GHC.Num.Natural.Natural’ • In the first argument of ‘F’, namely ‘5’ In the newtype instance declaration for ‘F’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInfinite.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInfinite.stderr index 9725a779e7..e1b4b5e461 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInfinite.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInfinite.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesInfinite.hs:9:20: error: +UnliftedNewtypesInfinite.hs:9:20: error: [GHC-27958] • Couldn't match kind ‘t0’ with ‘'GHC.Types.TupleRep '[ 'GHC.Types.IntRep, t0]’ Expected kind ‘TYPE t0’, diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInstanceFail.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInstanceFail.stderr index 0a49414c33..2ca074ff01 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInstanceFail.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInstanceFail.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesInstanceFail.hs:13:3: error: +UnliftedNewtypesInstanceFail.hs:13:3: error: [GHC-83865] • Couldn't match kind ‘'IntRep’ with ‘'WordRep’ Expected kind ‘TYPE 'WordRep’, but ‘Bar Bool’ has kind ‘TYPE 'IntRep’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKind.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKind.stderr index b54423576c..263e4f2920 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKind.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKind.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesMismatchedKind.hs:12:10: error: +UnliftedNewtypesMismatchedKind.hs:12:10: error: [GHC-83865] • Expecting a lifted type, but ‘Int#’ is unlifted • In the type ‘Int#’ In the definition of data constructor ‘MkT’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKindRecord.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKindRecord.stderr index f30d8b8fe8..ab2ebc1a19 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKindRecord.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKindRecord.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesMismatchedKindRecord.hs:11:23: error: +UnliftedNewtypesMismatchedKindRecord.hs:11:23: error: [GHC-83865] • Couldn't match kind ‘'WordRep’ with ‘'IntRep’ Expected kind ‘TYPE 'IntRep’, but ‘Word#’ has kind ‘TYPE 'WordRep’ • In the type ‘Word#’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMultiFieldGadt.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMultiFieldGadt.stderr index 3ecec3fdf0..c3ae6e01a6 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMultiFieldGadt.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMultiFieldGadt.stderr @@ -1,11 +1,11 @@ -UnliftedNewtypesMultiFieldGadt.hs:19:11: error: +UnliftedNewtypesMultiFieldGadt.hs:19:11: error: [GHC-83865] • Expecting an unlifted type, but ‘Bool’ is lifted • In the type ‘Bool’ In the definition of data constructor ‘FooC’ In the newtype declaration for ‘Foo’ -UnliftedNewtypesMultiFieldGadt.hs:19:19: error: +UnliftedNewtypesMultiFieldGadt.hs:19:19: error: [GHC-83865] • Expecting an unlifted type, but ‘Char’ is lifted • In the type ‘Char’ In the definition of data constructor ‘FooC’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr index 59c5c523a2..a4bd2f9980 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesNotEnabled.hs:9:1: error: +UnliftedNewtypesNotEnabled.hs:9:1: error: [GHC-55233] • Newtype has non-* return kind ‘TYPE 'GHC.Types.IntRep’ • In the newtype declaration for ‘Baz’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesOverlap.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesOverlap.stderr index 3da742a1bf..d09c634d17 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesOverlap.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesOverlap.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesOverlap.hs:13:15: error: +UnliftedNewtypesOverlap.hs:13:15: error: [GHC-34447] Conflicting family instance declarations: DF -- Defined at UnliftedNewtypesOverlap.hs:13:15 DF -- Defined at UnliftedNewtypesOverlap.hs:14:18 diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesUnassociatedFamilyFail.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesUnassociatedFamilyFail.stderr index 86f65024af..546b8537a0 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesUnassociatedFamilyFail.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesUnassociatedFamilyFail.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesUnassociatedFamilyFail.hs:21:30: error: +UnliftedNewtypesUnassociatedFamilyFail.hs:21:30: error: [GHC-25897] • Couldn't match kind ‘t’ with ‘'IntRep’ Expected a type, but ‘Int#’ has kind ‘TYPE 'IntRep’ ‘t’ is a rigid type variable bound by @@ -9,7 +9,7 @@ UnliftedNewtypesUnassociatedFamilyFail.hs:21:30: error: In the definition of data constructor ‘MkDF1a’ In the newtype instance declaration for ‘DF’ -UnliftedNewtypesUnassociatedFamilyFail.hs:22:30: error: +UnliftedNewtypesUnassociatedFamilyFail.hs:22:30: error: [GHC-25897] • Couldn't match kind ‘t’ with ‘'WordRep’ Expected a type, but ‘Word#’ has kind ‘TYPE 'WordRep’ ‘t’ is a rigid type variable bound by @@ -19,7 +19,7 @@ UnliftedNewtypesUnassociatedFamilyFail.hs:22:30: error: In the definition of data constructor ‘MkDF2a’ In the newtype instance declaration for ‘DF’ -UnliftedNewtypesUnassociatedFamilyFail.hs:23:30: error: +UnliftedNewtypesUnassociatedFamilyFail.hs:23:30: error: [GHC-25897] • Couldn't match kind ‘t’ with ‘'TupleRep '[ 'IntRep, 'WordRep]’ Expected a type, but ‘(# Int#, Word# #)’ has kind ‘TYPE diff --git a/testsuite/tests/typecheck/should_fail/VtaFail.stderr b/testsuite/tests/typecheck/should_fail/VtaFail.stderr index 1b496b8380..4d01d8b8bb 100644 --- a/testsuite/tests/typecheck/should_fail/VtaFail.stderr +++ b/testsuite/tests/typecheck/should_fail/VtaFail.stderr @@ -1,31 +1,31 @@ -VtaFail.hs:7:16: error: +VtaFail.hs:7:16: error: [GHC-95781] • Cannot apply expression of type ‘a0 -> b0 -> (a0, b0)’ to a visible type argument ‘Int’ • In the expression: pairup_nosig @Int @Bool 5 True In an equation for ‘answer_nosig’: answer_nosig = pairup_nosig @Int @Bool 5 True -VtaFail.hs:14:17: error: +VtaFail.hs:14:17: error: [GHC-95781] • Cannot apply expression of type ‘p1 -> p1’ to a visible type argument ‘Int’ • In the expression: (\ x -> x) @Int 12 In an equation for ‘answer_lambda’: answer_lambda = (\ x -> x) @Int 12 -VtaFail.hs:21:5: error: +VtaFail.hs:21:5: error: [GHC-95781] • Cannot apply expression of type ‘Int -> (a0, Int)’ to a visible type argument ‘Bool’ • In the expression: pair 3 @Int @Bool True In an equation for ‘a’: a = pair 3 @Int @Bool True -VtaFail.hs:28:15: error: +VtaFail.hs:28:15: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the type ‘Int’ In the expression: first @Int F In an equation for ‘fInt’: fInt = first @Int F -VtaFail.hs:35:18: error: +VtaFail.hs:35:18: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘Bool’ Expected: Proxy Bool Actual: Proxy Int @@ -33,14 +33,14 @@ VtaFail.hs:35:18: error: In the expression: foo @Bool (P :: Proxy Int) In an equation for ‘baz’: baz = foo @Bool (P :: Proxy Int) -VtaFail.hs:42:17: error: +VtaFail.hs:42:17: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘k0 -> *’ Expected kind ‘* -> k0 -> *’, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ In the expression: too @Maybe T In an equation for ‘threeBad’: threeBad = too @Maybe T -VtaFail.hs:43:27: error: +VtaFail.hs:43:27: error: [GHC-83865] • Couldn't match type ‘Either’ with ‘(->)’ Expected: Three (->) Actual: Three Either @@ -49,31 +49,31 @@ VtaFail.hs:43:27: error: In an equation for ‘threeWorse’: threeWorse = too @(->) (T :: Three Either) -VtaFail.hs:48:5: error: +VtaFail.hs:48:5: error: [GHC-95781] • Cannot apply expression of type ‘Int -> Int -> Int’ to a visible type argument ‘Int’ • In the expression: plus @Int 5 7 In an equation for ‘b’: b = plus @Int 5 7 -VtaFail.hs:49:5: error: +VtaFail.hs:49:5: error: [GHC-95781] • Cannot apply expression of type ‘Int -> Int -> Int’ to a visible type argument ‘Rational’ • In the expression: plus @Rational 5 10 In an equation for ‘c’: c = plus @Rational 5 10 -VtaFail.hs:50:5: error: +VtaFail.hs:50:5: error: [GHC-95781] • Cannot apply expression of type ‘Int -> Int -> Int’ to a visible type argument ‘Int’ • In the expression: (+) @Int @Int @Int 12 14 In an equation for ‘d’: d = (+) @Int @Int @Int 12 14 -VtaFail.hs:53:5: error: +VtaFail.hs:53:5: error: [GHC-95781] • Cannot apply expression of type ‘Int -> String’ to a visible type argument ‘Float’ • In the expression: show @Int @Float (read "5") In an equation for ‘e’: e = show @Int @Float (read "5") -VtaFail.hs:54:11: error: +VtaFail.hs:54:11: error: [GHC-95781] • Cannot apply expression of type ‘String -> Int’ to a visible type argument ‘Bool’ • In the first argument of ‘show’, namely @@ -81,7 +81,7 @@ VtaFail.hs:54:11: error: In the expression: show (read @Int @Bool @Float "3") In an equation for ‘f’: f = show (read @Int @Bool @Float "3") -VtaFail.hs:59:12: error: +VtaFail.hs:59:12: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ diff --git a/testsuite/tests/typecheck/should_fail/mc19.stderr b/testsuite/tests/typecheck/should_fail/mc19.stderr index 5d19a388af..cc710c3b74 100644 --- a/testsuite/tests/typecheck/should_fail/mc19.stderr +++ b/testsuite/tests/typecheck/should_fail/mc19.stderr @@ -1,5 +1,5 @@ -mc19.hs:10:31: error: +mc19.hs:10:31: error: [GHC-25897] • Couldn't match type ‘a’ with ‘[a]’ Expected: [a] -> [a] Actual: [a] -> [[a]] diff --git a/testsuite/tests/typecheck/should_fail/mc20.stderr b/testsuite/tests/typecheck/should_fail/mc20.stderr index 6627618041..07d8984d5e 100644 --- a/testsuite/tests/typecheck/should_fail/mc20.stderr +++ b/testsuite/tests/typecheck/should_fail/mc20.stderr @@ -1,5 +1,5 @@ -mc20.hs:14:31: error: +mc20.hs:14:31: error: [GHC-39999] • No instance for ‘Ord Unorderable’ arising from a use of ‘groupWith’ • In the expression: groupWith diff --git a/testsuite/tests/typecheck/should_fail/mc21.stderr b/testsuite/tests/typecheck/should_fail/mc21.stderr index abad9f6a20..f6f8c89432 100644 --- a/testsuite/tests/typecheck/should_fail/mc21.stderr +++ b/testsuite/tests/typecheck/should_fail/mc21.stderr @@ -1,5 +1,5 @@ -mc21.hs:12:26: error: +mc21.hs:12:26: error: [GHC-25897] • Couldn't match type ‘a’ with ‘[a]’ Expected: [a] -> [[a]] Actual: [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/mc22.stderr b/testsuite/tests/typecheck/should_fail/mc22.stderr index 50dbf5425b..334f9588a5 100644 --- a/testsuite/tests/typecheck/should_fail/mc22.stderr +++ b/testsuite/tests/typecheck/should_fail/mc22.stderr @@ -1,5 +1,5 @@ -mc22.hs:10:26: error: +mc22.hs:10:26: error: [GHC-25897] • Couldn't match type ‘a’ with ‘t a’ Expected: [a] -> [t a] Actual: [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/mc23.stderr b/testsuite/tests/typecheck/should_fail/mc23.stderr index b9029f1635..3e65049861 100644 --- a/testsuite/tests/typecheck/should_fail/mc23.stderr +++ b/testsuite/tests/typecheck/should_fail/mc23.stderr @@ -1,5 +1,5 @@ -mc23.hs:9:29: error: +mc23.hs:9:29: error: [GHC-83865] • Couldn't match type: [a0] with: a -> b Expected: (a -> b) -> [a] -> m a diff --git a/testsuite/tests/typecheck/should_fail/mc24.stderr b/testsuite/tests/typecheck/should_fail/mc24.stderr index e40a0c6e72..e25c4cadf9 100644 --- a/testsuite/tests/typecheck/should_fail/mc24.stderr +++ b/testsuite/tests/typecheck/should_fail/mc24.stderr @@ -1,5 +1,5 @@ -mc24.hs:10:31: error: +mc24.hs:10:31: error: [GHC-83865] • Couldn't match type: [a1] with: a -> a0 Expected: (a -> a0) -> [a] -> m [a] diff --git a/testsuite/tests/typecheck/should_fail/mc25.stderr b/testsuite/tests/typecheck/should_fail/mc25.stderr index fe1b08f152..59a9ff451f 100644 --- a/testsuite/tests/typecheck/should_fail/mc25.stderr +++ b/testsuite/tests/typecheck/should_fail/mc25.stderr @@ -1,5 +1,5 @@ -mc25.hs:9:46: error: +mc25.hs:9:46: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘a -> t2’ Expected: (a -> t2) -> [a] -> [t1 a] Actual: Int -> [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/tc168.stderr b/testsuite/tests/typecheck/should_fail/tc168.stderr index 457001c919..07009ae3f2 100644 --- a/testsuite/tests/typecheck/should_fail/tc168.stderr +++ b/testsuite/tests/typecheck/should_fail/tc168.stderr @@ -1,5 +1,5 @@ -tc168.hs:17:1: error: +tc168.hs:17:1: error: [GHC-39999] • Could not deduce ‘C a1 (a2, b0)’ from the context: C a1 (a2, b) bound by the inferred type for ‘g’: diff --git a/testsuite/tests/typecheck/should_fail/tc168b.stderr b/testsuite/tests/typecheck/should_fail/tc168b.stderr index a82f0282d4..25a0dbf825 100644 --- a/testsuite/tests/typecheck/should_fail/tc168b.stderr +++ b/testsuite/tests/typecheck/should_fail/tc168b.stderr @@ -1,5 +1,5 @@ -tc168b.hs:7:1: error: +tc168b.hs:7:1: error: [GHC-39999] • Could not deduce ‘C a (u, v0, w0, x0, y0, z0)’ from the context: C a (u, v, w, x, y, z) bound by the inferred type for ‘g’: diff --git a/testsuite/tests/typecheck/should_fail/tcfail001.stderr b/testsuite/tests/typecheck/should_fail/tcfail001.stderr index 3403057fa9..eecffc35c4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail001.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail001.stderr @@ -1,5 +1,5 @@ -tcfail001.hs:9:2: error: +tcfail001.hs:9:2: error: [GHC-83865] • Couldn't match expected type: [a] with actual type: [a0] -> [a1] • The equation for ‘op’ has one value argument, diff --git a/testsuite/tests/typecheck/should_fail/tcfail002.stderr b/testsuite/tests/typecheck/should_fail/tcfail002.stderr index 4e14032d62..c40ede33ea 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail002.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail002.stderr @@ -1,5 +1,5 @@ -tcfail002.hs:4:7: error: +tcfail002.hs:4:7: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘[a]’ ‘a’ is a rigid type variable bound by the inferred type of c :: [a] -> a diff --git a/testsuite/tests/typecheck/should_fail/tcfail003.stderr b/testsuite/tests/typecheck/should_fail/tcfail003.stderr index acac9e84d0..19c8d2cf18 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail003.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail003.stderr @@ -1,5 +1,5 @@ -tcfail003.hs:3:10: error: +tcfail003.hs:3:10: error: [GHC-39999] • No instance for ‘Num Char’ arising from the literal ‘1’ • In the expression: 1 In the expression: [1, 'a'] diff --git a/testsuite/tests/typecheck/should_fail/tcfail004.stderr b/testsuite/tests/typecheck/should_fail/tcfail004.stderr index c64876c6ab..32cf7cb8d3 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail004.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail004.stderr @@ -1,5 +1,5 @@ -tcfail004.hs:3:1: error: +tcfail004.hs:3:1: error: [GHC-83865] • Couldn't match expected type: (a0, b0, c0) with actual type: (a, b) • In the pattern: (f, g) diff --git a/testsuite/tests/typecheck/should_fail/tcfail005.stderr b/testsuite/tests/typecheck/should_fail/tcfail005.stderr index 5bfaf6a7a1..3f42ba9060 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail005.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail005.stderr @@ -1,5 +1,5 @@ -tcfail005.hs:3:2: error: +tcfail005.hs:3:2: error: [GHC-83865] • Couldn't match expected type: (a0, Char) with actual type: [a] • In the pattern: h : i diff --git a/testsuite/tests/typecheck/should_fail/tcfail006.stderr b/testsuite/tests/typecheck/should_fail/tcfail006.stderr index f9cde685e7..97f7de2daf 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail006.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail006.stderr @@ -1,5 +1,5 @@ -tcfail006.hs:4:24: error: +tcfail006.hs:4:24: error: [GHC-39999] • No instance for ‘Num Bool’ arising from the literal ‘1’ • In the expression: 1 In the expression: (True, 1) diff --git a/testsuite/tests/typecheck/should_fail/tcfail007.stderr b/testsuite/tests/typecheck/should_fail/tcfail007.stderr index 7ca43451bc..1315646b77 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail007.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail007.stderr @@ -1,5 +1,5 @@ -tcfail007.hs:3:15: error: +tcfail007.hs:3:15: error: [GHC-39999] • No instance for ‘Num Bool’ arising from a use of ‘+’ • In the expression: x + 1 In an equation for ‘n’: diff --git a/testsuite/tests/typecheck/should_fail/tcfail008.stderr b/testsuite/tests/typecheck/should_fail/tcfail008.stderr index a19c6bb151..fc498371c9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail008.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail008.stderr @@ -1,5 +1,5 @@ -tcfail008.hs:3:5: error: +tcfail008.hs:3:5: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from the literal ‘1’ prevents the constraint ‘(Num a0)’ from being solved. Relevant bindings include o :: [a0] (bound at tcfail008.hs:3:1) @@ -14,7 +14,7 @@ tcfail008.hs:3:5: error: In the expression: 1 : 2 In an equation for ‘o’: o = 1 : 2 -tcfail008.hs:3:7: error: +tcfail008.hs:3:7: error: [GHC-39999] • No instance for ‘Num [a0]’ arising from the literal ‘2’ • In the second argument of ‘(:)’, namely ‘2’ In the expression: 1 : 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail009.stderr b/testsuite/tests/typecheck/should_fail/tcfail009.stderr index 7e4d29ae48..dcc6a1a63b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail009.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail009.stderr @@ -1,5 +1,5 @@ -tcfail009.hs:3:17: error: +tcfail009.hs:3:17: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Integer’ • In the expression: 2 :: Integer In the expression: [(1 :: Int) .. (2 :: Integer)] diff --git a/testsuite/tests/typecheck/should_fail/tcfail010.stderr b/testsuite/tests/typecheck/should_fail/tcfail010.stderr index d49818d46d..0594b99ab7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail010.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail010.stderr @@ -1,5 +1,5 @@ -tcfail010.hs:3:17: error: +tcfail010.hs:3:17: error: [GHC-39999] • No instance for ‘Num [a0]’ arising from a use of ‘+’ • In the expression: z + 2 In the expression: \ (y : z) -> z + 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail011.stderr b/testsuite/tests/typecheck/should_fail/tcfail011.stderr index 5b9379e074..3e3f291faf 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail011.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail011.stderr @@ -1,2 +1,2 @@ -tcfail011.hs:3:25: error: Variable not in scope: y +tcfail011.hs:3:25: error: [GHC-88464] Variable not in scope: y diff --git a/testsuite/tests/typecheck/should_fail/tcfail012.stderr b/testsuite/tests/typecheck/should_fail/tcfail012.stderr index d2f07f4420..6bee873cf4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail012.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail012.stderr @@ -1,5 +1,5 @@ -tcfail012.hs:3:1: error: +tcfail012.hs:3:1: error: [GHC-83865] • Couldn't match expected type ‘[a0]’ with actual type ‘Bool’ • In the pattern: True In a pattern binding: True = [] diff --git a/testsuite/tests/typecheck/should_fail/tcfail013.stderr b/testsuite/tests/typecheck/should_fail/tcfail013.stderr index ee3c128012..091ac95342 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail013.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail013.stderr @@ -1,5 +1,5 @@ -tcfail013.hs:4:3: error: +tcfail013.hs:4:3: error: [GHC-83865] • Couldn't match expected type ‘[a1]’ with actual type ‘Bool’ • In the pattern: True In an equation for ‘f’: f True = 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail014.stderr b/testsuite/tests/typecheck/should_fail/tcfail014.stderr index d33c12c69c..02537465e5 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail014.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail014.stderr @@ -1,5 +1,5 @@ -tcfail014.hs:5:33: error: +tcfail014.hs:5:33: error: [GHC-25897] • Couldn't match expected type ‘t5’ with actual type ‘t5 -> t6’ ‘t5’ is a rigid type variable bound by the inferred type of h :: (t5 -> t6) -> t6 diff --git a/testsuite/tests/typecheck/should_fail/tcfail015.stderr b/testsuite/tests/typecheck/should_fail/tcfail015.stderr index b1ef0773d5..535d5057f0 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail015.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail015.stderr @@ -1,5 +1,5 @@ -tcfail015.hs:7:13: error: +tcfail015.hs:7:13: error: [GHC-39999] • No instance for ‘Num Bool’ arising from the literal ‘2’ • In the expression: 2 In an equation for ‘g’: g (ANull) = 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail016.stderr b/testsuite/tests/typecheck/should_fail/tcfail016.stderr index 9f38cd6461..155b8bd049 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail016.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail016.stderr @@ -1,5 +1,5 @@ -tcfail016.hs:8:1: error: +tcfail016.hs:8:1: error: [GHC-83865] • Couldn't match type: Expr a with: (a, Expr a) Expected: AnnExpr a -> [[Char]] diff --git a/testsuite/tests/typecheck/should_fail/tcfail017.stderr b/testsuite/tests/typecheck/should_fail/tcfail017.stderr index ac1487330d..a6653c9ac4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail017.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail017.stderr @@ -1,5 +1,5 @@ -tcfail017.hs:10:10: error: +tcfail017.hs:10:10: error: [GHC-39999] • Could not deduce ‘C [a]’ arising from the superclasses of an instance declaration from the context: B a diff --git a/testsuite/tests/typecheck/should_fail/tcfail018.stderr b/testsuite/tests/typecheck/should_fail/tcfail018.stderr index 0bfa00a5ea..739ed68686 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail018.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail018.stderr @@ -1,5 +1,5 @@ -tcfail018.hs:5:10: error: +tcfail018.hs:5:10: error: [GHC-39999] • No instance for ‘Num [a0]’ arising from the literal ‘1’ • In the expression: 1 In a pattern binding: (a : []) = 1 diff --git a/testsuite/tests/typecheck/should_fail/tcfail019.stderr b/testsuite/tests/typecheck/should_fail/tcfail019.stderr index 5cedc7071b..858723185f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail019.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail019.stderr @@ -1,10 +1,10 @@ -tcfail019.hs:18:10: error: +tcfail019.hs:18:10: error: [GHC-39999] • No instance for ‘B [a]’ arising from the superclasses of an instance declaration • In the instance declaration for ‘D [a]’ -tcfail019.hs:18:10: error: +tcfail019.hs:18:10: error: [GHC-39999] • No instance for ‘C [a]’ arising from the superclasses of an instance declaration • In the instance declaration for ‘D [a]’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail020.stderr b/testsuite/tests/typecheck/should_fail/tcfail020.stderr index 6c476de65a..a197c443ff 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail020.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail020.stderr @@ -1,5 +1,5 @@ -tcfail020.hs:10:10: error: +tcfail020.hs:10:10: error: [GHC-39999] • Could not deduce ‘A [a]’ arising from the superclasses of an instance declaration from the context: A a diff --git a/testsuite/tests/typecheck/should_fail/tcfail023.stderr b/testsuite/tests/typecheck/should_fail/tcfail023.stderr index 714951df14..28bccf7f42 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail023.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail023.stderr @@ -1,5 +1,5 @@ -tcfail023.hs:10:10: +tcfail023.hs:10:10: error: [GHC-59692] Duplicate instance declarations: instance A B -- Defined at tcfail023.hs:10:10 instance A B -- Defined at tcfail023.hs:13:10 diff --git a/testsuite/tests/typecheck/should_fail/tcfail028.stderr b/testsuite/tests/typecheck/should_fail/tcfail028.stderr index 518925575d..1e809eb323 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail028.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail028.stderr @@ -1,7 +1,7 @@ -tcfail028.hs:4:17: - Expecting one more argument to ‘A a’ - Expected a type, but ‘A a’ has kind ‘k0 -> *’ - In the type ‘(A a)’ - In the definition of data constructor ‘B’ - In the data declaration for ‘A’ +tcfail028.hs:4:17: error: [GHC-83865] + • Expecting one more argument to ‘A a’ + Expected a type, but ‘A a’ has kind ‘k0 -> *’ + • In the type ‘(A a)’ + In the definition of data constructor ‘B’ + In the data declaration for ‘A’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail029.stderr b/testsuite/tests/typecheck/should_fail/tcfail029.stderr index cd7488d155..e18c2a9299 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail029.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail029.stderr @@ -1,5 +1,5 @@ -tcfail029.hs:6:9: error: +tcfail029.hs:6:9: error: [GHC-39999] • No instance for ‘Ord Foo’ arising from a use of ‘>’ • In the expression: x > Bar In an equation for ‘f’: f x = x > Bar diff --git a/testsuite/tests/typecheck/should_fail/tcfail031.stderr b/testsuite/tests/typecheck/should_fail/tcfail031.stderr index 2a22e1b29e..8698e5e21c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail031.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail031.stderr @@ -1,6 +1,6 @@ -tcfail031.hs:3:10: - Couldn't match expected type ‘Bool’ with actual type ‘Char’ - In the expression: 'a' - In the expression: if 'a' then 1 else 2 - In an equation for ‘f’: f x = if 'a' then 1 else 2 +tcfail031.hs:3:10: error: [GHC-83865] + • Couldn't match expected type ‘Bool’ with actual type ‘Char’ + • In the expression: 'a' + In the expression: if 'a' then 1 else 2 + In an equation for ‘f’: f x = if 'a' then 1 else 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail032.stderr b/testsuite/tests/typecheck/should_fail/tcfail032.stderr index bb7eafc6fb..0b7873241b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail032.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail032.stderr @@ -1,5 +1,5 @@ -tcfail032.hs:14:8: error: +tcfail032.hs:14:8: error: [GHC-25897] • Couldn't match expected type ‘a1 -> Int’ with actual type ‘p’ ‘p’ is a rigid type variable bound by the inferred type of f :: Eq a => p -> a -> Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail033.stderr b/testsuite/tests/typecheck/should_fail/tcfail033.stderr index 2b2089d8ec..3cb9fc6fda 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail033.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail033.stderr @@ -1,5 +1,5 @@ -tcfail033.hs:4:12: error: +tcfail033.hs:4:12: error: [GHC-25897] • Couldn't match expected type ‘(a, b)’ with actual type ‘a’ ‘a’ is a rigid type variable bound by the inferred type of buglet :: [(a, b)] diff --git a/testsuite/tests/typecheck/should_fail/tcfail034.stderr b/testsuite/tests/typecheck/should_fail/tcfail034.stderr index eea48c9dba..a5927ce17b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail034.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail034.stderr @@ -1,5 +1,5 @@ -tcfail034.hs:17:13: error: +tcfail034.hs:17:13: error: [GHC-39999] • Could not deduce ‘Integral a’ arising from a use of ‘mod’ from the context: (Num a, Eq a) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail035.stderr b/testsuite/tests/typecheck/should_fail/tcfail035.stderr index 1a3bd5d5c1..c036c5bc0a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail035.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail035.stderr @@ -1,5 +1,5 @@ -tcfail035.hs:6:10: +tcfail035.hs:6:10: error: [GHC-59692] Duplicate instance declarations: instance Num NUM -- Defined at tcfail035.hs:6:10 instance Num NUM -- Defined at tcfail035.hs:7:10 diff --git a/testsuite/tests/typecheck/should_fail/tcfail036.stderr b/testsuite/tests/typecheck/should_fail/tcfail036.stderr index e94ba6a2a4..217f4af26f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail036.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail036.stderr @@ -1,11 +1,11 @@ -tcfail036.hs:8:10: +tcfail036.hs:8:10: error: [GHC-59692] Duplicate instance declarations: instance Num NUM -- Defined at tcfail036.hs:8:10 instance Num NUM -- Defined at tcfail036.hs:10:10 -tcfail036.hs:11:13: - Expecting one more argument to ‘Num’ - Expected a type, but ‘Num’ has kind ‘* -> Constraint’ - In the first argument of ‘Eq’, namely ‘Num’ - In the instance declaration for ‘Eq Num’ +tcfail036.hs:11:13: error: [GHC-83865] + • Expecting one more argument to ‘Num’ + Expected a type, but ‘Num’ has kind ‘* -> Constraint’ + • In the first argument of ‘Eq’, namely ‘Num’ + In the instance declaration for ‘Eq Num’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail040.stderr b/testsuite/tests/typecheck/should_fail/tcfail040.stderr index b920c9dc96..9fc5e821f7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail040.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail040.stderr @@ -1,5 +1,5 @@ -tcfail040.hs:19:5: error: +tcfail040.hs:19:5: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘<<’ prevents the constraint ‘(ORD a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/tcfail041.stderr b/testsuite/tests/typecheck/should_fail/tcfail041.stderr index 75cd754d8f..0262386d91 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail041.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail041.stderr @@ -1,5 +1,5 @@ -tcfail041.hs:5:1: error: +tcfail041.hs:5:1: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the context: ?imp::Int While checking the super-classes of class ‘D’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail042.stderr b/testsuite/tests/typecheck/should_fail/tcfail042.stderr index d6a9fec2c5..dc521ae91a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail042.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail042.stderr @@ -1,5 +1,5 @@ -tcfail042.hs:15:10: error: +tcfail042.hs:15:10: error: [GHC-39999] • Could not deduce ‘Num a’ arising from the superclasses of an instance declaration from the context: (Eq a, Show a) @@ -8,7 +8,7 @@ tcfail042.hs:15:10: error: add (Num a) to the context of the instance declaration • In the instance declaration for ‘Bar [a]’ -tcfail042.hs:17:18: error: +tcfail042.hs:17:18: error: [GHC-39999] • Could not deduce ‘Num a’ arising from a use of ‘foo’ from the context: (Eq a, Show a) bound by the instance declaration at tcfail042.hs:15:10-34 diff --git a/testsuite/tests/typecheck/should_fail/tcfail043.stderr b/testsuite/tests/typecheck/should_fail/tcfail043.stderr index e30b7c6aaa..d01ba0a577 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail043.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail043.stderr @@ -1,5 +1,5 @@ -tcfail043.hs:38:17: error: +tcfail043.hs:38:17: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘gt’ prevents the constraint ‘(Ord_ a0)’ from being solved. Relevant bindings include @@ -22,7 +22,7 @@ tcfail043.hs:38:17: error: else if eq a (hd bs) then True else search a (tl bs) -tcfail043.hs:40:25: error: +tcfail043.hs:40:25: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘eq’ prevents the constraint ‘(Eq_ a0)’ from being solved. Relevant bindings include diff --git a/testsuite/tests/typecheck/should_fail/tcfail046.stderr b/testsuite/tests/typecheck/should_fail/tcfail046.stderr index 18de100ac6..a21ed18f1c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail046.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail046.stderr @@ -1,5 +1,5 @@ -tcfail046.hs:10:50: error: +tcfail046.hs:10:50: error: [GHC-39999] • No instance for ‘Eq (Process a)’ arising from the first field of ‘Do’ (type ‘Process a’) (maybe you haven't applied a function to enough arguments?) @@ -8,7 +8,7 @@ tcfail046.hs:10:50: error: so you can specify the instance context yourself • When deriving the instance for (Eq (Continuation a)) -tcfail046.hs:22:25: error: +tcfail046.hs:22:25: error: [GHC-39999] • Could not deduce ‘Eq (Process a)’ arising from the first field of ‘Create’ (type ‘Process a’) from the context: Eq a diff --git a/testsuite/tests/typecheck/should_fail/tcfail048.stderr b/testsuite/tests/typecheck/should_fail/tcfail048.stderr index 49c8cf0360..a98076ae26 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail048.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail048.stderr @@ -1,3 +1,3 @@ -tcfail048.hs:3:8: error: +tcfail048.hs:3:8: error: [GHC-76037] Not in scope: type constructor or class ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail049.stderr b/testsuite/tests/typecheck/should_fail/tcfail049.stderr index 864b3cc1d7..8084ff9699 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail049.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail049.stderr @@ -1,2 +1,3 @@ -tcfail049.hs:3:7: error: Variable not in scope: g :: t1 -> t2 +tcfail049.hs:3:7: error: [GHC-88464] + Variable not in scope: g :: t1 -> t2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail050.stderr b/testsuite/tests/typecheck/should_fail/tcfail050.stderr index 8ddfb10cfc..13b139af42 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail050.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail050.stderr @@ -1,3 +1,3 @@ -tcfail050.hs:3:7: error: +tcfail050.hs:3:7: error: [GHC-88464] Data constructor not in scope: B :: t1 -> t2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail051.stderr b/testsuite/tests/typecheck/should_fail/tcfail051.stderr index 958d0530ac..b36aa679c9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail051.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail051.stderr @@ -1,2 +1,3 @@ -tcfail051.hs:3:10: Not in scope: type constructor or class ‘B’ +tcfail051.hs:3:10: error: [GHC-76037] + Not in scope: type constructor or class ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail052.stderr b/testsuite/tests/typecheck/should_fail/tcfail052.stderr index 671565b506..2b562db996 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail052.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail052.stderr @@ -1,2 +1,3 @@ -tcfail052.hs:3:16: Not in scope: type variable ‘c’ +tcfail052.hs:3:16: error: [GHC-76037] + Not in scope: type variable ‘c’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail053.stderr b/testsuite/tests/typecheck/should_fail/tcfail053.stderr index 75308e5fca..e5a2aeddba 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail053.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail053.stderr @@ -1,3 +1,3 @@ -tcfail053.hs:3:12: error: +tcfail053.hs:3:12: error: [GHC-76037] Not in scope: type constructor or class ‘A’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail054.stderr b/testsuite/tests/typecheck/should_fail/tcfail054.stderr index 79662bf1fe..e7c95264da 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail054.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail054.stderr @@ -1,2 +1,3 @@ -tcfail054.hs:3:4: Not in scope: data constructor ‘B’ +tcfail054.hs:3:4: error: [GHC-76037] + Not in scope: data constructor ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail055.stderr b/testsuite/tests/typecheck/should_fail/tcfail055.stderr index f70bad6a02..ccdbc2a8e1 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail055.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail055.stderr @@ -1,5 +1,5 @@ -tcfail055.hs:3:8: - Couldn't match expected type ‘Float’ with actual type ‘Int’ - In the expression: (x + 1 :: Int) :: Float - In an equation for ‘f’: f x = (x + 1 :: Int) :: Float +tcfail055.hs:3:8: error: [GHC-83865] + • Couldn't match expected type ‘Float’ with actual type ‘Int’ + • In the expression: (x + 1 :: Int) :: Float + In an equation for ‘f’: f x = (x + 1 :: Int) :: Float diff --git a/testsuite/tests/typecheck/should_fail/tcfail056.stderr b/testsuite/tests/typecheck/should_fail/tcfail056.stderr index 16f44eacb8..55e0ad7088 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail056.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail056.stderr @@ -1,2 +1,3 @@ -tcfail056.hs:10:15: ‘<=’ is not a (visible) method of class ‘Eq’ +tcfail056.hs:10:15: error: [GHC-54721] + ‘<=’ is not a (visible) method of class ‘Eq’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail057.stderr b/testsuite/tests/typecheck/should_fail/tcfail057.stderr index 4229e2fc38..afe8f8aa50 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail057.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail057.stderr @@ -1,4 +1,4 @@ -tcfail057.hs:5:7: error: +tcfail057.hs:5:7: error: [GHC-83865] • Expected a type, but ‘RealFrac a’ has kind ‘Constraint’ • In the type signature: f :: (RealFrac a) -> a -> a diff --git a/testsuite/tests/typecheck/should_fail/tcfail058.stderr b/testsuite/tests/typecheck/should_fail/tcfail058.stderr index a0ad07ea1f..ef07465be3 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail058.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail058.stderr @@ -1,5 +1,5 @@ -tcfail058.hs:6:7: error: +tcfail058.hs:6:7: error: [GHC-83865] • Expecting one more argument to ‘Array a’ Expected a constraint, but ‘Array a’ has kind ‘* -> *’ • In the type signature: f :: (Array a) => a -> b diff --git a/testsuite/tests/typecheck/should_fail/tcfail061.stderr b/testsuite/tests/typecheck/should_fail/tcfail061.stderr index abd72aa2bc..18c32bf13e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail061.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail061.stderr @@ -1,8 +1,12 @@ -tcfail061.hs:5:17: Not in scope: type variable ‘b’ +tcfail061.hs:5:17: error: [GHC-76037] + Not in scope: type variable ‘b’ -tcfail061.hs:5:19: Not in scope: type variable ‘b’ +tcfail061.hs:5:19: error: [GHC-76037] + Not in scope: type variable ‘b’ -tcfail061.hs:11:22: Not in scope: type variable ‘b’ +tcfail061.hs:11:22: error: [GHC-76037] + Not in scope: type variable ‘b’ -tcfail061.hs:11:24: Not in scope: type variable ‘b’ +tcfail061.hs:11:24: error: [GHC-76037] + Not in scope: type variable ‘b’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail062.stderr b/testsuite/tests/typecheck/should_fail/tcfail062.stderr index 197bdb30f0..8d568e2722 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail062.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail062.stderr @@ -1,10 +1,10 @@ -tcfail062.hs:34:6: error: +tcfail062.hs:34:6: error: [GHC-76037] Not in scope: type variable ‘behaviouralExpression’ Suggested fix: Perhaps use type constructor or class ‘BehaviouralExpression’ (line 25) -tcfail062.hs:34:29: error: +tcfail062.hs:34:29: error: [GHC-76037] Not in scope: type variable ‘behaviouralExpression’ Suggested fix: Perhaps use type constructor or class ‘BehaviouralExpression’ (line 25) diff --git a/testsuite/tests/typecheck/should_fail/tcfail063.stderr b/testsuite/tests/typecheck/should_fail/tcfail063.stderr index a3347122e7..bc2980007a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail063.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail063.stderr @@ -1,5 +1,5 @@ -tcfail063.hs:6:9: error: +tcfail063.hs:6:9: error: [GHC-83865] • Expecting one more argument to ‘Num’ Expected a constraint, but ‘Num’ has kind ‘* -> Constraint’ • In the type signature: moby :: Num => Int -> a -> Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail065.stderr b/testsuite/tests/typecheck/should_fail/tcfail065.stderr index 81746cd200..cd2200c63a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail065.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail065.stderr @@ -1,5 +1,5 @@ -tcfail065.hs:29:20: error: +tcfail065.hs:29:20: error: [GHC-25897] • Couldn't match expected type ‘x’ with actual type ‘x1’ ‘x1’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail067.stderr b/testsuite/tests/typecheck/should_fail/tcfail067.stderr index cd8d049fb0..fffdfaf6f7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail067.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail067.stderr @@ -2,7 +2,7 @@ tcfail067.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail067.hs:12:16: error: +tcfail067.hs:12:16: error: [GHC-39999] • No instance for ‘Ord a’ arising from a use of ‘SubRange’ Possible fix: add (Ord a) to the context of @@ -12,7 +12,7 @@ tcfail067.hs:12:16: error: In an equation for ‘subRangeValue’: subRangeValue (SubRange (lower, upper) value) = value -tcfail067.hs:15:11: error: +tcfail067.hs:15:11: error: [GHC-39999] • No instance for ‘Ord a’ arising from a use of ‘SubRange’ Possible fix: add (Ord a) to the context of @@ -21,7 +21,7 @@ tcfail067.hs:15:11: error: • In the pattern: SubRange r value In an equation for ‘subRange’: subRange (SubRange r value) = r -tcfail067.hs:46:12: error: +tcfail067.hs:46:12: error: [GHC-39999] • Could not deduce ‘Ord a’ arising from a use of ‘SubRange’ from the context: Show a bound by the type signature for: @@ -36,7 +36,7 @@ tcfail067.hs:46:12: error: showRange (SubRange (lower, upper) value) = show value ++ " :" ++ show lower ++ ".." ++ show upper -tcfail067.hs:61:12: error: +tcfail067.hs:61:12: error: [GHC-39999] • Could not deduce ‘Ord a’ arising from a use of ‘numSubRangeNegate’ from the context: Num a @@ -47,7 +47,7 @@ tcfail067.hs:61:12: error: In an equation for ‘negate’: negate = numSubRangeNegate In the instance declaration for ‘Num (SubRange a)’ -tcfail067.hs:65:19: error: +tcfail067.hs:65:19: error: [GHC-39999] • Could not deduce ‘Ord a’ arising from a use of ‘SubRange’ from the context: Num a bound by the instance declaration at tcfail067.hs:60:10-34 @@ -60,7 +60,7 @@ tcfail067.hs:65:19: error: = SubRange (fromInteger a, fromInteger a) (fromInteger a) In the instance declaration for ‘Num (SubRange a)’ -tcfail067.hs:74:5: error: +tcfail067.hs:74:5: error: [GHC-39999] • Could not deduce ‘Ord a’ arising from a use of ‘SubRange’ from the context: Num a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail068.stderr b/testsuite/tests/typecheck/should_fail/tcfail068.stderr index 7266e76823..1603f77b83 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail068.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail068.stderr @@ -1,5 +1,5 @@ -tcfail068.hs:14:9: error: +tcfail068.hs:14:9: error: [GHC-25897] • Couldn't match type ‘s1’ with ‘s’ Expected: GHC.ST.ST s1 (IndTree s a) Actual: GHC.ST.ST s1 (STArray s1 (Int, Int) a) @@ -22,7 +22,7 @@ tcfail068.hs:14:9: error: itgen :: (Int, Int) -> a -> IndTree s a (bound at tcfail068.hs:12:1) -tcfail068.hs:19:21: error: +tcfail068.hs:19:21: error: [GHC-25897] • Couldn't match type ‘s1’ with ‘s’ Expected: STArray s1 (Int, Int) a Actual: IndTree s a @@ -46,7 +46,7 @@ tcfail068.hs:19:21: error: itiap :: (Int, Int) -> (a -> a) -> IndTree s a -> IndTree s a (bound at tcfail068.hs:17:1) -tcfail068.hs:24:36: error: +tcfail068.hs:24:36: error: [GHC-25897] • Couldn't match type ‘s1’ with ‘s’ Expected: GHC.ST.ST s1 (IndTree s a) Actual: GHC.ST.ST s (IndTree s a) @@ -83,7 +83,7 @@ tcfail068.hs:24:36: error: -> (a -> a) -> IndTree s a -> IndTree s a (bound at tcfail068.hs:24:1) -tcfail068.hs:36:46: error: +tcfail068.hs:36:46: error: [GHC-25897] • Couldn't match type ‘s1’ with ‘s’ Expected: GHC.ST.ST s1 (c, IndTree s b) Actual: GHC.ST.ST s (c, IndTree s b) diff --git a/testsuite/tests/typecheck/should_fail/tcfail069.stderr b/testsuite/tests/typecheck/should_fail/tcfail069.stderr index 592265adb8..76a7509d63 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail069.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail069.stderr @@ -1,5 +1,5 @@ -tcfail069.hs:21:7: error: +tcfail069.hs:21:7: error: [GHC-83865] • Couldn't match expected type: ([Int], [Int]) with actual type: [a0] • In the pattern: [] diff --git a/testsuite/tests/typecheck/should_fail/tcfail070.stderr b/testsuite/tests/typecheck/should_fail/tcfail070.stderr index 3f7bc90d8a..065c62ad5c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail070.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail070.stderr @@ -1,5 +1,5 @@ -tcfail070.hs:15:15: error: +tcfail070.hs:15:15: error: [GHC-83865] • Expected kind ‘* -> k0’, but ‘[Int]’ has kind ‘*’ • In the type ‘([Int] Bool)’ In the type declaration for ‘State’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail072.stderr b/testsuite/tests/typecheck/should_fail/tcfail072.stderr index 3310aeb4e9..d4bea86529 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail072.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail072.stderr @@ -1,5 +1,5 @@ -tcfail072.hs:23:13: error: +tcfail072.hs:23:13: error: [GHC-39999] • Could not deduce ‘Ord p0’ arising from a use of ‘g’ from the context: (Ord p, Ord q) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail073.stderr b/testsuite/tests/typecheck/should_fail/tcfail073.stderr index da7f1e4e6d..c1b36669c1 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail073.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail073.stderr @@ -1,5 +1,5 @@ -tcfail073.hs:8:10: +tcfail073.hs:8:10: error: [GHC-59692] Duplicate instance declarations: instance Eq a => Eq (a, b) -- Defined at tcfail073.hs:8:10 instance (Eq a, Eq b) => Eq (a, b) -- Defined in ‘GHC.Classes’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail075.stderr b/testsuite/tests/typecheck/should_fail/tcfail075.stderr index 2c251a7a84..758650f8d7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail075.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail075.stderr @@ -1,6 +1,6 @@ -tcfail075.hs:10:1: +tcfail075.hs:10:1: error: [GHC-48099] Top-level bindings for unlifted types aren't allowed: x = 1# -tcfail075.hs:13:1: +tcfail075.hs:13:1: error: [GHC-48099] Top-level bindings for unlifted types aren't allowed: y = x +# 1# diff --git a/testsuite/tests/typecheck/should_fail/tcfail076.stderr b/testsuite/tests/typecheck/should_fail/tcfail076.stderr index c45eed328e..7d73cfe355 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail076.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail076.stderr @@ -1,5 +1,5 @@ -tcfail076.hs:19:82: error: +tcfail076.hs:19:82: error: [GHC-25897] • Couldn't match type ‘res1’ with ‘res’ Expected: m res1 Actual: m res diff --git a/testsuite/tests/typecheck/should_fail/tcfail077.stderr b/testsuite/tests/typecheck/should_fail/tcfail077.stderr index 39ee49db3f..011efd5696 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail077.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail077.stderr @@ -1,2 +1,3 @@ -tcfail077.hs:8:3: ‘op2’ is not a (visible) method of class ‘Foo’ +tcfail077.hs:8:3: error: [GHC-54721] + ‘op2’ is not a (visible) method of class ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail078.stderr b/testsuite/tests/typecheck/should_fail/tcfail078.stderr index 014d589bf6..b7b85e248c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail078.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail078.stderr @@ -1,4 +1,4 @@ -tcfail078.hs:5:6: error: +tcfail078.hs:5:6: error: [GHC-83865] • Expected kind ‘* -> Constraint’, but ‘Integer’ has kind ‘*’ • In the type signature: f :: Integer i => i diff --git a/testsuite/tests/typecheck/should_fail/tcfail079.stderr b/testsuite/tests/typecheck/should_fail/tcfail079.stderr index 8f28c7d41c..a5c82e99f9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail079.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail079.stderr @@ -1,5 +1,5 @@ -tcfail079.hs:9:1: error: +tcfail079.hs:9:1: error: [GHC-55233] • Newtype has non-* return kind ‘TYPE 'GHC.Types.IntRep’ • In the newtype declaration for ‘Unboxed’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail080.stderr b/testsuite/tests/typecheck/should_fail/tcfail080.stderr index 8746ba0bb9..cc6c7ca577 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail080.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail080.stderr @@ -1,5 +1,5 @@ -tcfail080.hs:27:1: error: +tcfail080.hs:27:1: error: [GHC-39999] • Could not deduce ‘Collection c0 a’ from the context: Collection c a bound by the inferred type for ‘q’: diff --git a/testsuite/tests/typecheck/should_fail/tcfail085.stderr b/testsuite/tests/typecheck/should_fail/tcfail085.stderr index f82cce8a6f..3bacea0bb2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail085.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail085.stderr @@ -1,5 +1,5 @@ -tcfail085.hs:9:5: error: +tcfail085.hs:9:5: error: [GHC-95909] • Constructor ‘F’ does not have the required strict field(s): y :: Int • In the expression: F {x = 2} diff --git a/testsuite/tests/typecheck/should_fail/tcfail086.stderr b/testsuite/tests/typecheck/should_fail/tcfail086.stderr index db83adda8c..0a21375566 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail086.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail086.stderr @@ -1,5 +1,5 @@ -tcfail086.hs:6:38: error: +tcfail086.hs:6:38: error: [GHC-16437] • Can't make a derived instance of ‘Eq Ex’: Constructor ‘Ex’ has existential type variables in its type • In the data declaration for ‘Ex’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail088.stderr b/testsuite/tests/typecheck/should_fail/tcfail088.stderr index 8d3e841bdf..d38b886954 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail088.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail088.stderr @@ -1,4 +1,4 @@ -tcfail088.hs:9:19: error: +tcfail088.hs:9:19: error: [GHC-91510] • Illegal polymorphic type: forall s. T s a • In the instance declaration for ‘Ord (forall s. T s a)’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail089.stderr b/testsuite/tests/typecheck/should_fail/tcfail089.stderr index 19dd837c13..3c068b741f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail089.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail089.stderr @@ -1,2 +1,3 @@ -tcfail089.hs:10:10: Parse error in pattern: "hd" ++ _ +tcfail089.hs:10:10: error: [GHC-07626] + Parse error in pattern: "hd" ++ _ diff --git a/testsuite/tests/typecheck/should_fail/tcfail090.stderr b/testsuite/tests/typecheck/should_fail/tcfail090.stderr index efb73e2d45..18f389b75f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail090.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail090.stderr @@ -1,5 +1,5 @@ -tcfail090.hs:11:9: error: +tcfail090.hs:11:9: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a0 :: * diff --git a/testsuite/tests/typecheck/should_fail/tcfail093.stderr b/testsuite/tests/typecheck/should_fail/tcfail093.stderr index 5776a720b1..94c98be731 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail093.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail093.stderr @@ -1,5 +1,5 @@ -tcfail093.hs:23:10: error: +tcfail093.hs:23:10: error: [GHC-39999] • No instance for ‘Call (IO Int) h0’ arising from a use of ‘call’ • In the expression: call primDup In an equation for ‘dup’: dup () = call primDup diff --git a/testsuite/tests/typecheck/should_fail/tcfail095.stderr b/testsuite/tests/typecheck/should_fail/tcfail095.stderr index 55f5b2954d..d0cbab168c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail095.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail095.stderr @@ -1,3 +1,3 @@ -tcfail095.hs:9:1: +tcfail095.hs:9:1: error: [GHC-48099] Top-level bindings for unlifted types aren't allowed: x = 1# diff --git a/testsuite/tests/typecheck/should_fail/tcfail096.stderr b/testsuite/tests/typecheck/should_fail/tcfail096.stderr index b86afb30e7..4506b3def6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail096.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail096.stderr @@ -1,5 +1,5 @@ -tcfail096.hs:23:10: +tcfail096.hs:23:10: error: [GHC-46208] Functional dependencies conflict between instance declarations: instance Foo (p -> s) (t p) (t s) -- Defined at tcfail096.hs:23:10 instance Foo ((a, b) -> r) (c a, c b) (c r) diff --git a/testsuite/tests/typecheck/should_fail/tcfail097.stderr b/testsuite/tests/typecheck/should_fail/tcfail097.stderr index 48cdfa37cd..bad134d6bd 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail097.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail097.stderr @@ -1,5 +1,5 @@ -tcfail097.hs:5:6: error: +tcfail097.hs:5:6: error: [GHC-39999] • Could not deduce ‘Eq a0’ from the context: Eq a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail098.stderr b/testsuite/tests/typecheck/should_fail/tcfail098.stderr index f4718e371b..7a6194e859 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail098.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail098.stderr @@ -1,5 +1,5 @@ -tcfail098.hs:13:10: error: +tcfail098.hs:13:10: error: [GHC-39999] • Could not deduce ‘Bar a0’ from the context: Bar a bound by an instance declaration: diff --git a/testsuite/tests/typecheck/should_fail/tcfail099.stderr b/testsuite/tests/typecheck/should_fail/tcfail099.stderr index a04920fb39..a989467aa9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail099.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail099.stderr @@ -1,5 +1,5 @@ -tcfail099.hs:9:20: error: +tcfail099.hs:9:20: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘p’ ‘a’ is a rigid type variable bound by a pattern with constructor: C :: forall a. (a -> Int) -> DS, diff --git a/testsuite/tests/typecheck/should_fail/tcfail102.stderr b/testsuite/tests/typecheck/should_fail/tcfail102.stderr index 2afbb655b0..53a8b5dfec 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail102.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail102.stderr @@ -2,7 +2,7 @@ tcfail102.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail102.hs:9:7: error: +tcfail102.hs:9:7: error: [GHC-39999] • Could not deduce ‘Integral (Ratio a)’ from the context: Integral a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail103.stderr b/testsuite/tests/typecheck/should_fail/tcfail103.stderr index 0a7a386f9e..1c133a9d49 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail103.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail103.stderr @@ -1,5 +1,5 @@ -tcfail103.hs:15:23: error: +tcfail103.hs:15:23: error: [GHC-25897] • Couldn't match type ‘s’ with ‘t’ Expected: STRef s Int Actual: STRef t Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail104.stderr b/testsuite/tests/typecheck/should_fail/tcfail104.stderr index 3645423c0a..3929f63aa4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail104.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail104.stderr @@ -1,5 +1,5 @@ -tcfail104.hs:16:12: error: +tcfail104.hs:16:12: error: [GHC-83865] • Couldn't match type: Char -> Char with: forall a. a -> a Expected: (forall a. a -> a) -> Char -> Char @@ -12,7 +12,7 @@ tcfail104.hs:16:12: error: = (if v then (\ (x :: forall a. a -> a) -> x) else (\ x -> x)) id 'c' -tcfail104.hs:22:12: error: +tcfail104.hs:22:12: error: [GHC-83865] • Couldn't match type: forall a. a -> a with: Char -> Char Expected: (Char -> Char) -> Char -> Char diff --git a/testsuite/tests/typecheck/should_fail/tcfail106.stderr b/testsuite/tests/typecheck/should_fail/tcfail106.stderr index 85dc5aca81..f1472f9c34 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail106.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail106.stderr @@ -1,10 +1,10 @@ -tcfail106.hs:11:10: error: +tcfail106.hs:11:10: error: [GHC-39999] • No instance for ‘S Int’ arising from the superclasses of an instance declaration • In the instance declaration for ‘C Int’ -tcfail106.hs:14:10: error: +tcfail106.hs:14:10: error: [GHC-39999] • No instance for ‘S Int’ arising from the superclasses of an instance declaration • In the instance declaration for ‘D Int’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail109.stderr b/testsuite/tests/typecheck/should_fail/tcfail109.stderr index 0178f88f8e..74dc0cc9f4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail109.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail109.stderr @@ -1,5 +1,5 @@ -tcfail109.hs:16:10: error: +tcfail109.hs:16:10: error: [GHC-39999] • No instance for ‘Eq Stupid’ arising from the superclasses of an instance declaration • In the instance declaration for ‘Collects Bool Stupid’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail110.stderr b/testsuite/tests/typecheck/should_fail/tcfail110.stderr index cb76cb1fcf..258c9c9371 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail110.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail110.stderr @@ -1,5 +1,5 @@ -tcfail110.hs:8:30: error: +tcfail110.hs:8:30: error: [GHC-83865] • Expecting one more argument to ‘Foo a’ Expected a type, but ‘Foo a’ has kind ‘* -> *’ • In the type signature: diff --git a/testsuite/tests/typecheck/should_fail/tcfail112.stderr b/testsuite/tests/typecheck/should_fail/tcfail112.stderr index a3e81d0adb..f299042c22 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail112.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail112.stderr @@ -1,17 +1,17 @@ -tcfail112.hs:11:6: error: +tcfail112.hs:11:6: error: [GHC-95909] • Constructor ‘S’ does not have the required strict field(s): y :: Int • In the expression: S {} In an equation for ‘s1’: s1 = S {} -tcfail112.hs:12:6: error: +tcfail112.hs:12:6: error: [GHC-95909] • Constructor ‘S’ does not have the required strict field(s): y :: Int • In the expression: S {x = 3} In an equation for ‘s2’: s2 = S {x = 3} -tcfail112.hs:14:6: error: +tcfail112.hs:14:6: error: [GHC-95909] • Constructor ‘T’ does not have the required strict field(s) • In the expression: T {} In an equation for ‘t’: t = T {} diff --git a/testsuite/tests/typecheck/should_fail/tcfail113.stderr b/testsuite/tests/typecheck/should_fail/tcfail113.stderr index fbdffa5ab9..12450bc4b2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail113.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail113.stderr @@ -1,14 +1,14 @@ -tcfail113.hs:12:7: error: +tcfail113.hs:12:7: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: f :: [Maybe] -tcfail113.hs:15:8: error: +tcfail113.hs:15:8: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the first argument of ‘T’, namely ‘Int’ In the type signature: g :: T Int -tcfail113.hs:18:6: error: +tcfail113.hs:18:6: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the type signature: h :: Int Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail114.stderr b/testsuite/tests/typecheck/should_fail/tcfail114.stderr index 0ba84aad71..7516ebb712 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail114.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail114.stderr @@ -1,5 +1,5 @@ -tcfail114.hs:11:20: - ‘foo’ is not a record selector - In the expression: undefined {foo = ()} - In an equation for ‘test’: test = undefined {foo = ()} +tcfail114.hs:11:20: error: [GHC-47535] + • ‘foo’ is not a record selector + • In the expression: undefined {foo = ()} + In an equation for ‘test’: test = undefined {foo = ()} diff --git a/testsuite/tests/typecheck/should_fail/tcfail116.stderr b/testsuite/tests/typecheck/should_fail/tcfail116.stderr index cbcba0548d..982866516e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail116.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail116.stderr @@ -1,5 +1,5 @@ -tcfail116.hs:7:5: error: +tcfail116.hs:7:5: error: [GHC-39999] • Could not deduce ‘Foo a0’ from the context: Foo a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail117.stderr b/testsuite/tests/typecheck/should_fail/tcfail117.stderr index 153acb2bf1..ce2e4c250e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail117.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail117.stderr @@ -1,5 +1,5 @@ -tcfail117.hs:6:32: error: +tcfail117.hs:6:32: error: [GHC-30750] • Can't make a derived instance of ‘Enum N1’: ‘N1’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) @@ -8,7 +8,7 @@ tcfail117.hs:6:32: error: Perhaps you intended to use GeneralizedNewtypeDeriving for GHC's newtype-deriving extension -tcfail117.hs:7:32: error: +tcfail117.hs:7:32: error: [GHC-30750] • Can't make a derived instance of ‘Enum N2’: ‘N2’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) diff --git a/testsuite/tests/typecheck/should_fail/tcfail118.stderr b/testsuite/tests/typecheck/should_fail/tcfail118.stderr index 705a68d87a..6052d6d966 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail118.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail118.stderr @@ -1,5 +1,5 @@ -tcfail118.hs:10:29: error: +tcfail118.hs:10:29: error: [GHC-43085] • Overlapping instances for Eq Foo arising from the first field of ‘Bar’ (type ‘Foo’) Matching instances: diff --git a/testsuite/tests/typecheck/should_fail/tcfail119.stderr b/testsuite/tests/typecheck/should_fail/tcfail119.stderr index d23ab1f537..33c2d9a61e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail119.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail119.stderr @@ -1,5 +1,5 @@ -tcfail119.hs:11:8: error: +tcfail119.hs:11:8: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘[Char]’ Expected: Bool Actual: String diff --git a/testsuite/tests/typecheck/should_fail/tcfail121.stderr b/testsuite/tests/typecheck/should_fail/tcfail121.stderr index 179729586f..5618d84471 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail121.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail121.stderr @@ -1,5 +1,5 @@ -tcfail121.hs:13:9: error: +tcfail121.hs:13:9: error: [GHC-43085] • Overlapping instances for Foo [a] arising from a use of ‘op’ Matching instance: instance [overlappable] Foo a => Foo [a] diff --git a/testsuite/tests/typecheck/should_fail/tcfail122.stderr b/testsuite/tests/typecheck/should_fail/tcfail122.stderr index 9aed03214b..58bb3d2389 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail122.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail122.stderr @@ -1,5 +1,5 @@ -tcfail122.hs:9:9: error: +tcfail122.hs:9:9: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘* -> *’ When matching types c0 :: (* -> *) -> * diff --git a/testsuite/tests/typecheck/should_fail/tcfail123.stderr b/testsuite/tests/typecheck/should_fail/tcfail123.stderr index 7089810e7c..19c611b55a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail123.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail123.stderr @@ -1,5 +1,5 @@ -tcfail123.hs:11:9: error: +tcfail123.hs:11:9: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types p0 :: * diff --git a/testsuite/tests/typecheck/should_fail/tcfail125.stderr b/testsuite/tests/typecheck/should_fail/tcfail125.stderr index 3299ba0a58..897ef88af1 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail125.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail125.stderr @@ -2,7 +2,7 @@ tcfail125.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail125.hs:11:4: error: +tcfail125.hs:11:4: error: [GHC-39999] • No instance for ‘Show a’ arising from a use of ‘LiftObs’ Possible fix: add (Show a) to the context of diff --git a/testsuite/tests/typecheck/should_fail/tcfail127.stderr b/testsuite/tests/typecheck/should_fail/tcfail127.stderr index cf027ad131..4312175ce2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail127.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail127.stderr @@ -1,5 +1,5 @@ -tcfail127.hs:3:8: error: +tcfail127.hs:3:8: error: [GHC-91510] • Illegal qualified type: Num a => a -> a • In the type signature: foo :: IO (Num a => a -> a) Suggested fix: Perhaps you intended to use ImpredicativeTypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail128.stderr b/testsuite/tests/typecheck/should_fail/tcfail128.stderr index 42bd22b6c9..02f5e92228 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail128.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail128.stderr @@ -1,5 +1,5 @@ -tcfail128.hs:18:16: error: +tcfail128.hs:18:16: error: [GHC-39999] • Ambiguous type variable ‘b0’ arising from a use of ‘thaw’ prevents the constraint ‘(Data.Array.Base.MArray b0 FlatVector IO)’ from being solved. diff --git a/testsuite/tests/typecheck/should_fail/tcfail130.stderr b/testsuite/tests/typecheck/should_fail/tcfail130.stderr index 51f77d14c6..e57ccd0717 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail130.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail130.stderr @@ -1,5 +1,5 @@ -tcfail130.hs:10:7: error: +tcfail130.hs:10:7: error: [GHC-91416] • Unbound implicit parameter (?x::Int) arising from a use of ‘woggle’ • In the expression: woggle 3 diff --git a/testsuite/tests/typecheck/should_fail/tcfail131.stderr b/testsuite/tests/typecheck/should_fail/tcfail131.stderr index 25f3f427ed..7224011ac6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail131.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail131.stderr @@ -1,5 +1,5 @@ -tcfail131.hs:7:9: error: +tcfail131.hs:7:9: error: [GHC-25897] • Couldn't match expected type ‘b’ with actual type ‘Integer’ ‘b’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail132.stderr b/testsuite/tests/typecheck/should_fail/tcfail132.stderr index a026a3a9f9..76ac118bab 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail132.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail132.stderr @@ -1,5 +1,5 @@ -tcfail132.hs:18:37: error: +tcfail132.hs:18:37: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘* -> *’ Expected kind ‘* -> * -> * -> *’, but ‘Object f' f t’ has kind ‘* -> * -> *’ @@ -7,7 +7,7 @@ tcfail132.hs:18:37: error: In the type ‘T (Object f' f t) (DUnit t)’ In the type declaration for ‘LiftObject’ -tcfail132.hs:18:53: error: +tcfail132.hs:18:53: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘* -> *’ Expected kind ‘* -> * -> * -> *’, but ‘DUnit t’ has kind ‘* -> * -> *’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail133.stderr b/testsuite/tests/typecheck/should_fail/tcfail133.stderr index 8917e46ee9..5b2a8944e5 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail133.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail133.stderr @@ -2,7 +2,7 @@ tcfail133.hs:2:61: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail133.hs:68:7: error: +tcfail133.hs:68:7: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘show’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -18,7 +18,7 @@ tcfail133.hs:68:7: error: In an equation for ‘foo’: foo = show $ add (One :@ Zero) (One :@ One) -tcfail133.hs:68:14: error: +tcfail133.hs:68:14: error: [GHC-39999] • No instance for ‘AddDigit (Zero :@ (One :@ One)) One a0’ arising from a use of ‘add’ • In the second argument of ‘($)’, namely diff --git a/testsuite/tests/typecheck/should_fail/tcfail134.stderr b/testsuite/tests/typecheck/should_fail/tcfail134.stderr index 46ddc334bc..9fc8842d52 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail134.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail134.stderr @@ -1,5 +1,5 @@ -tcfail134.hs:5:33: error: +tcfail134.hs:5:33: error: [GHC-83865] • Expecting one more argument to ‘XML’ Expected a type, but ‘XML’ has kind ‘* -> Constraint’ • In the type signature: toXML :: a -> XML diff --git a/testsuite/tests/typecheck/should_fail/tcfail135.stderr b/testsuite/tests/typecheck/should_fail/tcfail135.stderr index 50186b6178..1f2285e323 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail135.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail135.stderr @@ -1,7 +1,6 @@ -tcfail135.hs:6:23: error: +tcfail135.hs:6:23: error: [GHC-83865] • Expecting one more argument to ‘f’ Expected a type, but ‘f’ has kind ‘k0 -> *’ - • In the type signature: - baa :: f a -> f + • In the type signature: baa :: f a -> f In the class declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail136.stderr b/testsuite/tests/typecheck/should_fail/tcfail136.stderr index 3d6a520c91..8d2573a702 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail136.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail136.stderr @@ -1,7 +1,7 @@ -tcfail136.hs:9:35: - Expecting one more argument to ‘SymDict’ - Expected a type, but ‘SymDict’ has kind ‘* -> *’ - In the type ‘SymDict’ - In the definition of data constructor ‘SymTable’ - In the data declaration for ‘SymTable’ +tcfail136.hs:9:35: error: [GHC-83865] + • Expecting one more argument to ‘SymDict’ + Expected a type, but ‘SymDict’ has kind ‘* -> *’ + • In the type ‘SymDict’ + In the definition of data constructor ‘SymTable’ + In the data declaration for ‘SymTable’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail137.stderr b/testsuite/tests/typecheck/should_fail/tcfail137.stderr index 28a0d5834b..673f50dfa0 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail137.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail137.stderr @@ -2,7 +2,7 @@ tcfail137.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail137.hs:8:5: error: +tcfail137.hs:8:5: error: [GHC-39999] • No instance for ‘Floating Bool’ arising from a use of ‘Test’ • In the expression: Test [False, True] In an equation for ‘x’: x = Test [False, True] diff --git a/testsuite/tests/typecheck/should_fail/tcfail140.stderr b/testsuite/tests/typecheck/should_fail/tcfail140.stderr index cbac61f7d0..32c8c61cf9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail140.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail140.stderr @@ -1,5 +1,5 @@ -tcfail140.hs:11:7: error: +tcfail140.hs:11:7: error: [GHC-83865] • Couldn't match expected type ‘t0 -> t’ with actual type ‘Int’ • The function ‘f’ is applied to two value arguments, but its type ‘Int -> Int’ has only one @@ -7,7 +7,7 @@ tcfail140.hs:11:7: error: In an equation for ‘bar’: bar = f 3 9 • Relevant bindings include bar :: t (bound at tcfail140.hs:11:1) -tcfail140.hs:13:10: error: +tcfail140.hs:13:10: error: [GHC-83865] • Couldn't match expected type ‘t1 -> t’ with actual type ‘Int’ • The function ‘f’ is applied to two value arguments, but its type ‘Int -> Int’ has only one @@ -16,7 +16,7 @@ tcfail140.hs:13:10: error: • Relevant bindings include rot :: p -> t (bound at tcfail140.hs:13:1) -tcfail140.hs:15:15: error: +tcfail140.hs:15:15: error: [GHC-83865] • Couldn't match expected type ‘a -> b’ with actual type ‘Int’ • In the first argument of ‘map’, namely ‘(3 `f`)’ In the expression: map (3 `f`) xs @@ -32,7 +32,7 @@ tcfail140.hs:17:8: error: but its type ‘Maybe a -> a’ has only one In the expression: ((\ Just x -> x) :: Maybe a -> a) (Just 1) -tcfail140.hs:20:1: error: +tcfail140.hs:20:1: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘p0 -> Bool’ • The equation for ‘g’ has two value arguments, but its type ‘Int -> Int’ has only one diff --git a/testsuite/tests/typecheck/should_fail/tcfail142.stderr b/testsuite/tests/typecheck/should_fail/tcfail142.stderr index 83469d87d0..85cb68284f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail142.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail142.stderr @@ -1,5 +1,5 @@ -tcfail142.hs:19:8: error: +tcfail142.hs:19:8: error: [GHC-39999] • Could not deduce ‘Bar a0 r’ from the context: Bar a r bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail143.stderr b/testsuite/tests/typecheck/should_fail/tcfail143.stderr index 841504d3f9..416a2c0dd4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail143.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail143.stderr @@ -1,5 +1,5 @@ -tcfail143.hs:30:9: error: +tcfail143.hs:30:9: error: [GHC-18872] • Couldn't match type ‘S Z’ with ‘Z’ arising from a functional dependency between: constraint ‘MinMax (S Z) Z Z Z’ arising from a use of ‘extend’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail146.stderr b/testsuite/tests/typecheck/should_fail/tcfail146.stderr index ae126f5f1e..ac65c39bb2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail146.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail146.stderr @@ -1,5 +1,5 @@ -tcfail146.hs:7:22: error: +tcfail146.hs:7:22: error: [GHC-83865] • Expected a type, but ‘SClass a’ has kind ‘Constraint’ • In the type ‘(SClass a)’ In the definition of data constructor ‘SCon’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail147.stderr b/testsuite/tests/typecheck/should_fail/tcfail147.stderr index 0c4db9a88e..ba0f97d8b1 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail147.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail147.stderr @@ -1,7 +1,7 @@ -tcfail147.hs:7:19: error: - Expecting one more argument to ‘XClass’ - Expected a type, but ‘XClass’ has kind ‘* -> Constraint’ - In the type ‘XClass’ - In the definition of data constructor ‘XCon’ - In the data declaration for ‘XData’ +tcfail147.hs:7:19: error: [GHC-83865] + • Expecting one more argument to ‘XClass’ + Expected a type, but ‘XClass’ has kind ‘* -> Constraint’ + • In the type ‘XClass’ + In the definition of data constructor ‘XCon’ + In the data declaration for ‘XData’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail148.stderr b/testsuite/tests/typecheck/should_fail/tcfail148.stderr index 7fc107a616..52c379a020 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail148.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail148.stderr @@ -1,7 +1,7 @@ -tcfail148.hs:5:28: - Expecting one more argument to ‘List’ - Expected a type, but ‘List’ has kind ‘* -> *’ - In the type ‘List’ - In the definition of data constructor ‘Cons’ - In the data declaration for ‘List’ +tcfail148.hs:5:28: error: [GHC-83865] + • Expecting one more argument to ‘List’ + Expected a type, but ‘List’ has kind ‘* -> *’ + • In the type ‘List’ + In the definition of data constructor ‘Cons’ + In the data declaration for ‘List’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail151.stderr b/testsuite/tests/typecheck/should_fail/tcfail151.stderr index 6867f351fd..7ffb421471 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail151.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail151.stderr @@ -1,15 +1,15 @@ -tcfail151.hs:1:14: Warning: [-Wdeprecated-flags (in -Wdefault)] +tcfail151.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail151.hs:8:6: - Expecting one more argument to ‘Name a’ - Expected a constraint, but ‘Name a’ has kind ‘* -> Constraint’ - In the data declaration for ‘Exp’ +tcfail151.hs:8:6: error: [GHC-83865] + • Expecting one more argument to ‘Name a’ + Expected a constraint, but ‘Name a’ has kind ‘* -> Constraint’ + • In the data declaration for ‘Exp’ -tcfail151.hs:8:30: - Expecting one more argument to ‘a’ - Expected a type, but ‘a’ has kind ‘* -> *’ - In the type ‘a’ - In the definition of data constructor ‘MkExp’ - In the data declaration for ‘Exp’ +tcfail151.hs:8:30: error: [GHC-83865] + • Expecting one more argument to ‘a’ + Expected a type, but ‘a’ has kind ‘* -> *’ + • In the type ‘a’ + In the definition of data constructor ‘MkExp’ + In the data declaration for ‘Exp’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail152.stderr b/testsuite/tests/typecheck/should_fail/tcfail152.stderr index e50ccbb2a1..29ce6da747 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail152.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail152.stderr @@ -1,5 +1,5 @@ -tcfail152.hs:10:14: error: +tcfail152.hs:10:14: error: [GHC-39999] • No instance for ‘Integral a’ arising from a use of ‘toInteger’ Possible fix: add (Integral a) to the context of the data constructor ‘C’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail153.stderr b/testsuite/tests/typecheck/should_fail/tcfail153.stderr index 0d38db4385..7b80d06665 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail153.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail153.stderr @@ -1,5 +1,5 @@ -tcfail153.hs:6:7: error: +tcfail153.hs:6:7: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Bool’ Expected: [a] Actual: [Bool] diff --git a/testsuite/tests/typecheck/should_fail/tcfail158.stderr b/testsuite/tests/typecheck/should_fail/tcfail158.stderr index 526db0a6ea..345597c14e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail158.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail158.stderr @@ -1,5 +1,5 @@ -tcfail158.hs:15:19: error: +tcfail158.hs:15:19: error: [GHC-83865] • Expecting one more argument to ‘Val v’ Expected a type, but ‘Val v’ has kind ‘* -> *’ • In the type signature: bar :: forall v. Val v diff --git a/testsuite/tests/typecheck/should_fail/tcfail159.stderr b/testsuite/tests/typecheck/should_fail/tcfail159.stderr index 5a49966637..62f807547f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail159.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail159.stderr @@ -1,5 +1,5 @@ -tcfail159.hs:9:11: error: +tcfail159.hs:9:11: error: [GHC-83865] • Expecting a lifted type, but got an unlifted type • In the pattern: ~(# p, q #) In a case alternative: ~(# p, q #) -> p diff --git a/testsuite/tests/typecheck/should_fail/tcfail160.stderr b/testsuite/tests/typecheck/should_fail/tcfail160.stderr index 96f2b4701c..99788156fb 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail160.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail160.stderr @@ -1,5 +1,5 @@ -tcfail160.hs:7:8: error: +tcfail160.hs:7:8: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the first argument of ‘T’, namely ‘Int’ In the type signature: g :: T Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail161.stderr b/testsuite/tests/typecheck/should_fail/tcfail161.stderr index b07d6031a6..069f990a67 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail161.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail161.stderr @@ -1,5 +1,5 @@ -tcfail161.hs:5:7: error: +tcfail161.hs:5:7: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: f :: [Maybe] diff --git a/testsuite/tests/typecheck/should_fail/tcfail162.stderr b/testsuite/tests/typecheck/should_fail/tcfail162.stderr index 228f18d5b8..b4c35c87e9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail162.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail162.stderr @@ -1,7 +1,7 @@ -tcfail162.hs:10:33: - Expecting one more argument to ‘ForeignPtr’ - Expected a type, but ‘ForeignPtr’ has kind ‘* -> *’ - In the type ‘(ForeignPtr)’ - In the definition of data constructor ‘Foo’ - In the data declaration for ‘Foo’ +tcfail162.hs:10:33: error: [GHC-83865] + • Expecting one more argument to ‘ForeignPtr’ + Expected a type, but ‘ForeignPtr’ has kind ‘* -> *’ + • In the type ‘(ForeignPtr)’ + In the definition of data constructor ‘Foo’ + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail164.stderr b/testsuite/tests/typecheck/should_fail/tcfail164.stderr index 9532466c66..f961a145d8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail164.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail164.stderr @@ -1,15 +1,15 @@ -tcfail164.hs:11:5: - Bad call to tagToEnum# at type a - Specify the type by giving a type signature - e.g. (tagToEnum# x) :: Bool - In the expression: tagToEnum# 0# - In an equation for ‘f’: f = tagToEnum# 0# +tcfail164.hs:11:5: error: [GHC-08522] + • Bad call to tagToEnum# at type a + Specify the type by giving a type signature + e.g. (tagToEnum# x) :: Bool + • In the expression: tagToEnum# 0# + In an equation for ‘f’: f = tagToEnum# 0# -tcfail164.hs:17:34: - Bad call to tagToEnum# at type Int - Result type must be an enumeration type - In the expression: tagToEnum# value# - In an equation for ‘readUnboxable’: - readUnboxable (I# value#) = tagToEnum# value# - In the instance declaration for ‘Unboxable Int’ +tcfail164.hs:17:34: error: [GHC-49356] + • Bad call to tagToEnum# at type Int + Result type must be an enumeration type + • In the expression: tagToEnum# value# + In an equation for ‘readUnboxable’: + readUnboxable (I# value#) = tagToEnum# value# + In the instance declaration for ‘Unboxable Int’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail165.stderr b/testsuite/tests/typecheck/should_fail/tcfail165.stderr index ecbec54fb5..73c7d70d57 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail165.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail165.stderr @@ -1,5 +1,5 @@ -tcfail165.hs:18:17: error: +tcfail165.hs:18:17: error: [GHC-83865] • Couldn't match type: forall a. Show a => a -> String with: b0 -> String Expected: IO (MVar (b0 -> String)) diff --git a/testsuite/tests/typecheck/should_fail/tcfail166.stderr b/testsuite/tests/typecheck/should_fail/tcfail166.stderr index 5866cacd77..d00f3d259c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail166.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail166.stderr @@ -1,5 +1,5 @@ -tcfail166.hs:6:13: error: +tcfail166.hs:6:13: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail167.stderr b/testsuite/tests/typecheck/should_fail/tcfail167.stderr index 6346257e09..e4a5ab732f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail167.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail167.stderr @@ -1,9 +1,9 @@ -tcfail167.hs:14:1: error: [-Woverlapping-patterns (in -Wdefault), -Werror=overlapping-patterns] +tcfail167.hs:14:1: error: [GHC-53633] [-Woverlapping-patterns (in -Wdefault), Werror=overlapping-patterns] Pattern match is redundant In an equation for ‘inaccessible’: inaccessible C2 = ... -tcfail167.hs:14:14: error: [-Winaccessible-code (in -Wdefault), -Werror=inaccessible-code] +tcfail167.hs:14:14: error: [GHC-40564] [-Winaccessible-code (in -Wdefault), Werror=inaccessible-code] • Inaccessible code in a pattern with constructor: C2 :: T Float, in an equation for ‘inaccessible’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail168.stderr b/testsuite/tests/typecheck/should_fail/tcfail168.stderr index 59972c2aa4..601c8e6e5d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail168.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail168.stderr @@ -1,5 +1,5 @@ -tcfail168.hs:7:11: error: +tcfail168.hs:7:11: error: [GHC-83865] • Couldn't match expected type: IO a0 with actual type: Char -> IO () • Probable cause: ‘putChar’ is applied to too few arguments diff --git a/testsuite/tests/typecheck/should_fail/tcfail169.stderr b/testsuite/tests/typecheck/should_fail/tcfail169.stderr index f5863778fa..e9fe445f33 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail169.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail169.stderr @@ -1,5 +1,5 @@ -tcfail169.hs:7:51: error: +tcfail169.hs:7:51: error: [GHC-39999] • Could not deduce ‘Show (Succ a)’ arising from the second field of ‘Cons’ (type ‘Seq (Succ a)’) from the context: Show a diff --git a/testsuite/tests/typecheck/should_fail/tcfail171.stderr b/testsuite/tests/typecheck/should_fail/tcfail171.stderr index 78f324338c..2f18723564 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail171.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail171.stderr @@ -1,5 +1,5 @@ -tcfail171.hs:9:10: error: +tcfail171.hs:9:10: error: [GHC-39999] • No instance for ‘PrintfArg a’ arising from a use of ‘printf’ Possible fix: add (PrintfArg a) to the context of diff --git a/testsuite/tests/typecheck/should_fail/tcfail173.stderr b/testsuite/tests/typecheck/should_fail/tcfail173.stderr index bd3a062062..2b91891986 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail173.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail173.stderr @@ -1,4 +1,4 @@ -tcfail173.hs:6:12: error: +tcfail173.hs:6:12: error: [GHC-50649] Illegal declaration of a type or class operator ‘<.>’ Suggested fix: Perhaps you intended to use TypeOperators diff --git a/testsuite/tests/typecheck/should_fail/tcfail174.stderr b/testsuite/tests/typecheck/should_fail/tcfail174.stderr index 8ac8d3f9d5..ab71e53946 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail174.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail174.stderr @@ -1,5 +1,5 @@ -tcfail174.hs:20:14: error: +tcfail174.hs:20:14: error: [GHC-25897] • Couldn't match type ‘a1’ with ‘a’ Expected: Capture (forall x. x -> a) Actual: Capture (forall a. a -> a) @@ -15,7 +15,7 @@ tcfail174.hs:20:14: error: • Relevant bindings include h1 :: Capture a (bound at tcfail174.hs:20:1) -tcfail174.hs:23:14: error: +tcfail174.hs:23:14: error: [GHC-25897] • Couldn't match type ‘a’ with ‘b’ Expected: Capture (forall x. x -> b) Actual: Capture (forall a. a -> a) diff --git a/testsuite/tests/typecheck/should_fail/tcfail175.stderr b/testsuite/tests/typecheck/should_fail/tcfail175.stderr index 38597e1487..1ceec972d4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail175.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail175.stderr @@ -1,5 +1,5 @@ -tcfail175.hs:11:1: error: +tcfail175.hs:11:1: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘String -> String -> String’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/should_fail/tcfail177.stderr b/testsuite/tests/typecheck/should_fail/tcfail177.stderr index 206f9ced6c..070f5438fd 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail177.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail177.stderr @@ -1,24 +1,24 @@ -tcfail177.hs:38:12: error: - Couldn't match expected type ‘Bool’ with actual type ‘Int’ - In the expression: - foo - ["One........" ~?= "1", "Two" ~?= "2", "Thre........." ~?= "3", - "Four" ~?= "4", ....] - In an equation for ‘allTest1’: - allTest1 - = foo - ["One........" ~?= "1", "Two" ~?= "2", "Thre........." ~?= "3", - ....] +tcfail177.hs:38:12: error: [GHC-83865] + • Couldn't match expected type ‘Bool’ with actual type ‘Int’ + • In the expression: + foo + ["One........" ~?= "1", "Two" ~?= "2", "Thre........." ~?= "3", + "Four" ~?= "4", ....] + In an equation for ‘allTest1’: + allTest1 + = foo + ["One........" ~?= "1", "Two" ~?= "2", "Thre........." ~?= "3", + ....] -tcfail177.hs:47:12: error: - Couldn't match expected type ‘Bool’ with actual type ‘Int’ - In the expression: - foo - ["One........" ~?= "1", "Two.................." ~?= "2", - "Thre........." ~?= "3", "Four" ~?= "4", ....] - In an equation for ‘allTest2’: - allTest2 - = foo - ["One........" ~?= "1", "Two.................." ~?= "2", - "Thre........." ~?= "3", ....] +tcfail177.hs:47:12: error: [GHC-83865] + • Couldn't match expected type ‘Bool’ with actual type ‘Int’ + • In the expression: + foo + ["One........" ~?= "1", "Two.................." ~?= "2", + "Thre........." ~?= "3", "Four" ~?= "4", ....] + In an equation for ‘allTest2’: + allTest2 + = foo + ["One........" ~?= "1", "Two.................." ~?= "2", + "Thre........." ~?= "3", ....] diff --git a/testsuite/tests/typecheck/should_fail/tcfail178.stderr b/testsuite/tests/typecheck/should_fail/tcfail178.stderr index d9f1b455c0..d1a46647e8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail178.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail178.stderr @@ -1,5 +1,5 @@ -tcfail178.hs:15:7: error: +tcfail178.hs:15:7: error: [GHC-83865] • Couldn't match type ‘()’ with ‘[a]’ Expected: Bool -> [a] Actual: Bool -> () @@ -8,7 +8,7 @@ tcfail178.hs:15:7: error: In an equation for ‘c’: c = a y • Relevant bindings include c :: [a] (bound at tcfail178.hs:15:1) -tcfail178.hs:18:7: error: +tcfail178.hs:18:7: error: [GHC-83865] • Couldn't match expected type ‘Bool -> [a]’ with actual type ‘()’ • In the first argument of ‘a’, namely ‘()’ In the expression: a () diff --git a/testsuite/tests/typecheck/should_fail/tcfail179.stderr b/testsuite/tests/typecheck/should_fail/tcfail179.stderr index 963ab0ba78..7121fb89a1 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail179.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail179.stderr @@ -1,5 +1,5 @@ -tcfail179.hs:14:39: error: +tcfail179.hs:14:39: error: [GHC-25897] • Couldn't match expected type ‘s’ with actual type ‘x’ ‘x’ is a rigid type variable bound by a pattern with constructor: diff --git a/testsuite/tests/typecheck/should_fail/tcfail180.stderr b/testsuite/tests/typecheck/should_fail/tcfail180.stderr index da7725fdb0..fda39706c8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail180.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail180.stderr @@ -1,6 +1,6 @@ -tcfail180.hs:10:9: - Couldn't match expected type ‘f0 b0’ with actual type ‘Bool’ - In the pattern: True - In a case alternative: True -> () - In the expression: case p of True -> () +tcfail180.hs:10:9: error: [GHC-83865] + • Couldn't match expected type ‘f0 b0’ with actual type ‘Bool’ + • In the pattern: True + In a case alternative: True -> () + In the expression: case p of True -> () diff --git a/testsuite/tests/typecheck/should_fail/tcfail181.stderr b/testsuite/tests/typecheck/should_fail/tcfail181.stderr index 5737c1f04e..8579f513e0 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail181.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail181.stderr @@ -1,5 +1,5 @@ -tcfail181.hs:17:9: error: +tcfail181.hs:17:9: error: [GHC-39999] • Could not deduce ‘Monad m0’ arising from a use of ‘foo’ from the context: Monad m bound by the inferred type of diff --git a/testsuite/tests/typecheck/should_fail/tcfail182.stderr b/testsuite/tests/typecheck/should_fail/tcfail182.stderr index 12dbb6efa8..db8063b3aa 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail182.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail182.stderr @@ -1,9 +1,9 @@ -tcfail182.hs:9:3: error: +tcfail182.hs:9:3: error: [GHC-83865] • Couldn't match expected type: Prelude.Maybe a with actual type: Maybe a0 NB: ‘Prelude.Maybe’ - is defined in ‘GHC.Maybe’ in package ‘base-4.14.0.0’ + is defined in ‘GHC.Maybe’ in package ‘base-4.17.0.0’ ‘Maybe’ is defined at tcfail182.hs:6:1-18 • In the pattern: Foo In an equation for ‘f’: f Foo = 3 diff --git a/testsuite/tests/typecheck/should_fail/tcfail183.stderr b/testsuite/tests/typecheck/should_fail/tcfail183.stderr index fc6fcfdcac..f2ea02e5c3 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail183.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail183.stderr @@ -1,5 +1,5 @@ -tcfail183.hs:5:30: error: +tcfail183.hs:5:30: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail184.stderr b/testsuite/tests/typecheck/should_fail/tcfail184.stderr index 323c5d7d74..bd38317e2c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail184.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail184.stderr @@ -1,5 +1,5 @@ -tcfail184.hs:9:19: error: +tcfail184.hs:9:19: error: [GHC-91510] • Illegal polymorphic type: forall a. Ord a => [a] -> [a] • In the definition of data constructor ‘MkSwizzle’ In the newtype declaration for ‘Swizzle’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail185.stderr b/testsuite/tests/typecheck/should_fail/tcfail185.stderr index f8c3c6cd99..ed94d488ca 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail185.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail185.stderr @@ -1,5 +1,5 @@ -tcfail185.hs:7:46: error: +tcfail185.hs:7:46: error: [GHC-83865] • Couldn't match expected type ‘Int -> Int’ with actual type ‘Bool’ • In the expression: x In the expression: diff --git a/testsuite/tests/typecheck/should_fail/tcfail186.stderr b/testsuite/tests/typecheck/should_fail/tcfail186.stderr index 5d931076f7..e7067996e7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail186.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail186.stderr @@ -1,5 +1,5 @@ -tcfail186.hs:7:9: error: +tcfail186.hs:7:9: error: [GHC-83865] • Couldn't match type ‘[Char]’ with ‘Int’ Expected: PhantomSyn a0 Actual: String diff --git a/testsuite/tests/typecheck/should_fail/tcfail189.stderr b/testsuite/tests/typecheck/should_fail/tcfail189.stderr index 108a7ad973..59d32b3734 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail189.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail189.stderr @@ -1,5 +1,5 @@ -tcfail189.hs:10:31: error: +tcfail189.hs:10:31: error: [GHC-83865] • Couldn't match type: [a1] with: a -> a0 Expected: (a -> a0) -> [a] -> [[a]] diff --git a/testsuite/tests/typecheck/should_fail/tcfail190.stderr b/testsuite/tests/typecheck/should_fail/tcfail190.stderr index eb92264fec..5b713e0c45 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail190.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail190.stderr @@ -1,5 +1,5 @@ -tcfail190.hs:14:31: error: +tcfail190.hs:14:31: error: [GHC-39999] • No instance for ‘Ord Unorderable’ arising from a use of ‘groupWith’ • In the expression: groupWith diff --git a/testsuite/tests/typecheck/should_fail/tcfail191.stderr b/testsuite/tests/typecheck/should_fail/tcfail191.stderr index fd874653b0..e27fb9c736 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail191.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail191.stderr @@ -1,5 +1,5 @@ -tcfail191.hs:11:26: error: +tcfail191.hs:11:26: error: [GHC-25897] • Couldn't match type ‘a’ with ‘[a]’ Expected: [a] -> [[a]] Actual: [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/tcfail193.stderr b/testsuite/tests/typecheck/should_fail/tcfail193.stderr index cf4813c9f2..23f79e8edd 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail193.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail193.stderr @@ -1,5 +1,5 @@ -tcfail193.hs:10:31: error: +tcfail193.hs:10:31: error: [GHC-25897] • Couldn't match type ‘a’ with ‘[a]’ Expected: [a] -> [a] Actual: [a] -> [[a]] diff --git a/testsuite/tests/typecheck/should_fail/tcfail195.stderr b/testsuite/tests/typecheck/should_fail/tcfail195.stderr index 93a4b8f92f..acd119c155 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail195.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail195.stderr @@ -1,5 +1,5 @@ -tcfail195.hs:7:3: error: +tcfail195.hs:7:3: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the definition of data constructor ‘Foo’ In the data type declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail196.stderr b/testsuite/tests/typecheck/should_fail/tcfail196.stderr index aaf5a3270e..4f751a47a8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail196.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail196.stderr @@ -1,5 +1,5 @@ -tcfail196.hs:5:8: error: +tcfail196.hs:5:8: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the type signature: bar :: Num (forall a. a) => Int -> Int Suggested fix: Perhaps you intended to use ImpredicativeTypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail197.stderr b/testsuite/tests/typecheck/should_fail/tcfail197.stderr index ed419c5afd..180599526a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail197.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail197.stderr @@ -1,5 +1,5 @@ -tcfail197.hs:5:8: error: +tcfail197.hs:5:8: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the type signature: foo :: [forall a. a] -> Int Suggested fix: Perhaps you intended to use ImpredicativeTypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail198.stderr b/testsuite/tests/typecheck/should_fail/tcfail198.stderr index 66c8438dc4..3632450fa8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail198.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail198.stderr @@ -1,5 +1,5 @@ -tcfail198.hs:6:36: error: +tcfail198.hs:6:36: error: [GHC-25897] • Couldn't match expected type ‘a1’ with actual type ‘a’ ‘a1’ is a rigid type variable bound by an expression type signature: diff --git a/testsuite/tests/typecheck/should_fail/tcfail199.stderr b/testsuite/tests/typecheck/should_fail/tcfail199.stderr index 5ef1ebab33..39788979a4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail199.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail199.stderr @@ -1,5 +1,5 @@ -tcfail199.hs:5:1: error: +tcfail199.hs:5:1: error: [GHC-83865] • Couldn't match type: [Char] with: IO t0 Expected: IO t0 diff --git a/testsuite/tests/typecheck/should_fail/tcfail200.stderr b/testsuite/tests/typecheck/should_fail/tcfail200.stderr index fdd0e3c073..fb92433276 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail200.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail200.stderr @@ -1,5 +1,5 @@ -tcfail200.hs:5:15: error: +tcfail200.hs:5:15: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a1 :: * diff --git a/testsuite/tests/typecheck/should_fail/tcfail201.stderr b/testsuite/tests/typecheck/should_fail/tcfail201.stderr index 088c2be671..a09795f1de 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail201.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail201.stderr @@ -1,5 +1,5 @@ -tcfail201.hs:17:27: error: +tcfail201.hs:17:27: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘HsDoc id0’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail202.stderr b/testsuite/tests/typecheck/should_fail/tcfail202.stderr index 4d50063d6a..85ece3bf81 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail202.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail202.stderr @@ -1,5 +1,5 @@ -tcfail202.hs:11:10: +tcfail202.hs:11:10: error: [GHC-46208] Functional dependencies conflict between instance declarations: instance [incoherent] C Bool Int Float -- Defined at tcfail202.hs:11:10 diff --git a/testsuite/tests/typecheck/should_fail/tcfail203.stderr b/testsuite/tests/typecheck/should_fail/tcfail203.stderr index d9f7087229..311ef34df1 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail203.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail203.stderr @@ -1,40 +1,40 @@ -tcfail203.hs:29:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:29:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (I# x) = 5 -tcfail203.hs:32:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:32:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (b, I# x) = (True, 5) -tcfail203.hs:35:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:35:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (# b, I# x #) = (# True, 5 #) -tcfail203.hs:38:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:38:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (# b, x #) = (# True, 5# #) -tcfail203.hs:41:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:41:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (I# !x) = 5 -tcfail203.hs:44:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:44:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (b, !(I# x)) = (True, 5) -tcfail203.hs:47:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:47:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (# b, !(I# x) #) = (# True, 5 #) -tcfail203.hs:50:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:50:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (# b, !x #) = (# True, 5# #) diff --git a/testsuite/tests/typecheck/should_fail/tcfail203a.stderr b/testsuite/tests/typecheck/should_fail/tcfail203a.stderr index 153a9259ba..5d6a9c86fc 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail203a.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail203a.stderr @@ -1,5 +1,5 @@ -tcfail203a.hs:10:17: error: +tcfail203a.hs:10:17: error: [GHC-17879] A lazy (~) pattern cannot bind variables of unlifted type. Unlifted variables: x :: Int# diff --git a/testsuite/tests/typecheck/should_fail/tcfail204.stderr b/testsuite/tests/typecheck/should_fail/tcfail204.stderr index 8fb0f1efc5..37952c971a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail204.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail204.stderr @@ -1,5 +1,5 @@ -tcfail204.hs:10:7: error: [-Wtype-defaults (in -Wall), -Werror=type-defaults] +tcfail204.hs:10:7: error: [GHC-18042] [-Wtype-defaults (in -Wall), Werror=type-defaults] • Defaulting the type variable ‘a0’ to type ‘Double’ in the following constraints (RealFrac a0) arising from a use of ‘ceiling’ at tcfail204.hs:10:7-13 diff --git a/testsuite/tests/typecheck/should_fail/tcfail206.stderr b/testsuite/tests/typecheck/should_fail/tcfail206.stderr index cfb5161100..400cb2435f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail206.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail206.stderr @@ -1,12 +1,12 @@ -tcfail206.hs:5:5: error: +tcfail206.hs:5:5: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: Bool -> (Int, Bool) Actual: Bool -> (Bool, Bool) • In the expression: (, True) In an equation for ‘a’: a = (, True) -tcfail206.hs:8:5: error: +tcfail206.hs:8:5: error: [GHC-83865] • Couldn't match type: (t1, Int) with: Bool -> (Int, Bool) Expected: Int -> Bool -> (Int, Bool) @@ -14,7 +14,7 @@ tcfail206.hs:8:5: error: • In the expression: (1,) In an equation for ‘b’: b = (1,) -tcfail206.hs:11:5: error: +tcfail206.hs:11:5: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Bool’ Expected: a -> (a, Bool) Actual: a -> (Bool, a) @@ -27,14 +27,14 @@ tcfail206.hs:11:5: error: • Relevant bindings include c :: a -> (a, Bool) (bound at tcfail206.hs:11:1) -tcfail206.hs:14:5: error: +tcfail206.hs:14:5: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: Bool -> (# Int, Bool #) Actual: Bool -> (# Bool, Bool #) • In the expression: (# , True #) In an equation for ‘d’: d = (# , True #) -tcfail206.hs:17:5: error: +tcfail206.hs:17:5: error: [GHC-83865] • Couldn't match type: (# t0, Int #) with: Bool -> (# Int, Bool #) Expected: Int -> Bool -> (# Int, Bool #) @@ -42,7 +42,7 @@ tcfail206.hs:17:5: error: • In the expression: (# 1, #) In an equation for ‘e’: e = (# 1, #) -tcfail206.hs:20:5: error: +tcfail206.hs:20:5: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Bool’ Expected: a -> (# a, Bool #) Actual: a -> (# Bool, a #) diff --git a/testsuite/tests/typecheck/should_fail/tcfail207.stderr b/testsuite/tests/typecheck/should_fail/tcfail207.stderr index eb6fb1db15..65f2288d88 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail207.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail207.stderr @@ -1,12 +1,12 @@ -tcfail207.hs:5:7: error: +tcfail207.hs:5:7: error: [GHC-83865] • Couldn't match expected type: [Int] -> [Int] with actual type: [a1] • Possible cause: ‘take’ is applied to too many arguments In the expression: take x [] In an equation for ‘f’: f x = take x [] -tcfail207.hs:9:5: error: +tcfail207.hs:9:5: error: [GHC-83865] • Couldn't match expected type: [Int] with actual type: [a0] -> [a0] • Probable cause: ‘take’ is applied to too few arguments diff --git a/testsuite/tests/typecheck/should_fail/tcfail208.stderr b/testsuite/tests/typecheck/should_fail/tcfail208.stderr index 544d62f8bd..0e120be976 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail208.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail208.stderr @@ -1,5 +1,5 @@ -tcfail208.hs:4:19: error: +tcfail208.hs:4:19: error: [GHC-39999] • Could not deduce ‘Eq (m a)’ arising from a use of ‘==’ from the context: (Monad m, Eq a) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail209.stderr b/testsuite/tests/typecheck/should_fail/tcfail209.stderr index 864e8604e6..1cd9bef126 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail209.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail209.stderr @@ -1,5 +1,5 @@ -tcfail209.hs:4:1: error: +tcfail209.hs:4:1: error: [GHC-75844] • Illegal constraint synonym of kind: ‘* -> Constraint’ • In the type synonym declaration for ‘Showish’ - Suggested fix: Perhaps you intended to use ConstraintKinds
\ No newline at end of file + Suggested fix: Perhaps you intended to use ConstraintKinds diff --git a/testsuite/tests/typecheck/should_fail/tcfail209a.stderr b/testsuite/tests/typecheck/should_fail/tcfail209a.stderr index 490814db7f..79376e1629 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail209a.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail209a.stderr @@ -1,5 +1,5 @@ -tcfail209a.hs:4:6: error: +tcfail209a.hs:4:6: error: [GHC-77539] • Illegal tuple constraint: (Show a, Num a) • In the type signature: g :: ((Show a, Num a), Eq a) => a -> a - Suggested fix: Perhaps you intended to use ConstraintKinds
\ No newline at end of file + Suggested fix: Perhaps you intended to use ConstraintKinds diff --git a/testsuite/tests/typecheck/should_fail/tcfail210.stderr b/testsuite/tests/typecheck/should_fail/tcfail210.stderr index 819a9524fb..b815489101 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail210.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail210.stderr @@ -1,3 +1,3 @@ -tcfail210.hs:4:31: error: +tcfail210.hs:4:31: error: [GHC-76037] Not in scope: type constructor or class ‘Constraint’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail211.stderr b/testsuite/tests/typecheck/should_fail/tcfail211.stderr index fb1192b0ca..18b451971e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail211.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail211.stderr @@ -1,10 +1,10 @@ -tcfail211.hs:5:1: error: +tcfail211.hs:5:1: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the context: ?imp::Int While checking the super-classes of class ‘D’ In the class declaration for ‘D’ -tcfail211.hs:8:10: error: +tcfail211.hs:8:10: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the instance declaration for ‘D Int’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail212.stderr b/testsuite/tests/typecheck/should_fail/tcfail212.stderr index 011a3772ef..3448558872 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail212.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail212.stderr @@ -1,18 +1,18 @@ -tcfail212.hs:10:7: error: +tcfail212.hs:10:7: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: f :: (Maybe, Either Int) -tcfail212.hs:10:14: error: +tcfail212.hs:10:14: error: [GHC-83865] • Expecting one more argument to ‘Either Int’ Expected a type, but ‘Either Int’ has kind ‘* -> *’ • In the type signature: f :: (Maybe, Either Int) -tcfail212.hs:13:7: error: +tcfail212.hs:13:7: error: [GHC-83865] • Expecting a lifted type, but ‘Int#’ is unlifted • In the type signature: g :: (Int#, Int#) -tcfail212.hs:13:13: error: +tcfail212.hs:13:13: error: [GHC-83865] • Expecting a lifted type, but ‘Int#’ is unlifted • In the type signature: g :: (Int#, Int#) diff --git a/testsuite/tests/typecheck/should_fail/tcfail215.stderr b/testsuite/tests/typecheck/should_fail/tcfail215.stderr index d05abd52d1..1965951bbc 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail215.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail215.stderr @@ -1,5 +1,4 @@ -tcfail215.hs:8:15: error: +tcfail215.hs:8:15: error: [GHC-83865] • Expecting a lifted type, but ‘Int#’ is unlifted - • In the type signature: - foo :: (?x :: Int#) => Int + • In the type signature: foo :: (?x :: Int#) => Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail218.stderr b/testsuite/tests/typecheck/should_fail/tcfail218.stderr index 2435fe3070..5e6561413a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail218.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail218.stderr @@ -1,5 +1,5 @@ -tcfail218.hs:16:5: error: +tcfail218.hs:16:5: error: [GHC-43085] • Overlapping instances for C [a] Bool arising from a use of ‘foo’ Matching instance: instance C [a] b -- Defined at tcfail218.hs:8:29 diff --git a/testsuite/tests/typecheck/should_fail/tcfail223.stderr b/testsuite/tests/typecheck/should_fail/tcfail223.stderr index 065f6818e5..d3173adde7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail223.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail223.stderr @@ -1,5 +1,5 @@ -tcfail223.hs:10:10: error: +tcfail223.hs:10:10: error: [GHC-39999] • Could not deduce ‘Class1 a’ arising from the superclasses of an instance declaration from the context: Class3 a diff --git a/testsuite/tests/typecheck/should_fail/tcfail224.stderr b/testsuite/tests/typecheck/should_fail/tcfail224.stderr index 684eb43d70..f95008a79d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail224.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail224.stderr @@ -1,5 +1,5 @@ -tcfail224.hs:8:5: error: +tcfail224.hs:8:5: error: [GHC-39999] • No instance for ‘Num Int’ arising from the literal ‘3’ There are instances for similar types: instance Num GHC.Types.Int -- Defined in ‘GHC.Num’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail225.stderr b/testsuite/tests/typecheck/should_fail/tcfail225.stderr index 8bfca4cb48..9ff753e44b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail225.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail225.stderr @@ -1,5 +1,5 @@ -tcfail225.hs:9:19: error: +tcfail225.hs:9:19: error: [GHC-25897] • Couldn't match kind ‘k’ with ‘*’ Expected kind ‘k -> *’, but ‘Maybe’ has kind ‘* -> *’ • In the first argument of ‘T’, namely ‘Maybe’ diff --git a/testsuite/tests/typecheck/should_fail/too-many.stderr b/testsuite/tests/typecheck/should_fail/too-many.stderr index 01e50050ff..958e0933e1 100644 --- a/testsuite/tests/typecheck/should_fail/too-many.stderr +++ b/testsuite/tests/typecheck/should_fail/too-many.stderr @@ -1,5 +1,5 @@ -too-many.hs:9:11: error: +too-many.hs:9:11: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int -> Bool’ Expected: Int -> Int -> Bool Actual: Int -> Bool @@ -8,7 +8,7 @@ too-many.hs:9:11: error: In the expression: foo (f1 2 3) In an equation for ‘g1’: g1 = foo (f1 2 3) -too-many.hs:16:11: error: +too-many.hs:16:11: error: [GHC-83865] • Couldn't match expected type ‘Int -> Int -> Bool’ with actual type ‘Bool’ • In the first argument of ‘foo’, namely ‘(f2 2)’ diff --git a/testsuite/tests/typecheck/should_run/KindInvariant.stderr b/testsuite/tests/typecheck/should_run/KindInvariant.stderr index ac31936e39..7eb8d21b95 100644 --- a/testsuite/tests/typecheck/should_run/KindInvariant.stderr +++ b/testsuite/tests/typecheck/should_run/KindInvariant.stderr @@ -1,5 +1,5 @@ -<interactive>:1:3: error: +<interactive>:1:3: error: [GHC-83865] • Couldn't match a lifted type with an unlifted type Expected kind ‘* -> *’, but ‘State#’ has kind ‘* -> ZeroBitType’ • In the first argument of ‘T’, namely ‘State#’ diff --git a/testsuite/tests/typecheck/should_run/T10284.stderr b/testsuite/tests/typecheck/should_run/T10284.stderr index 622e2bfa45..55f5731d61 100644 --- a/testsuite/tests/typecheck/should_run/T10284.stderr +++ b/testsuite/tests/typecheck/should_run/T10284.stderr @@ -1,4 +1,4 @@ -T10284: T10284.hs:7:5: error: +T10284.exe: T10284.hs:7:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'a' In an equation for ‘a’: a = 'a' diff --git a/testsuite/tests/typecheck/should_run/T10284.stdout b/testsuite/tests/typecheck/should_run/T10284.stdout index 5d5c564c18..b737e75a55 100644 --- a/testsuite/tests/typecheck/should_run/T10284.stdout +++ b/testsuite/tests/typecheck/should_run/T10284.stdout @@ -1,4 +1,4 @@ -As expected, TypeError: T10284.hs:7:5: error: +As expected, TypeError: T10284.hs:7:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'a' In an equation for ‘a’: a = 'a' diff --git a/testsuite/tests/typecheck/should_run/T13838.stderr b/testsuite/tests/typecheck/should_run/T13838.stderr index a8de8b16d3..39eacdc67b 100644 --- a/testsuite/tests/typecheck/should_run/T13838.stderr +++ b/testsuite/tests/typecheck/should_run/T13838.stderr @@ -1,4 +1,4 @@ -T13838: T13838.hs:6:1: error: +T13838.exe: T13838.hs:6:1: error: [GHC-83865] • Couldn't match expected type: IO t0 with actual type: () -> () • Probable cause: ‘main’ is applied to too few arguments diff --git a/testsuite/tests/typecheck/should_run/T3731.stderr b/testsuite/tests/typecheck/should_run/T3731.stderr index 0863ca0e61..d66f9f9a74 100644 --- a/testsuite/tests/typecheck/should_run/T3731.stderr +++ b/testsuite/tests/typecheck/should_run/T3731.stderr @@ -2,7 +2,7 @@ T3731.hs:4:15: warning: [-Wdeprecated-flags (in -Wdefault)] -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS -T3731.hs:122:32: error: +T3731.hs:122:32: error: [GHC-39999] • Could not deduce ‘Default a’ arising from a superclass required to satisfy ‘Data DefaultD a’, arising from a use of ‘dataTypeOf’ diff --git a/testsuite/tests/typecheck/should_run/T3731_simple.stderr b/testsuite/tests/typecheck/should_run/T3731_simple.stderr index 941722345a..e27ad9a11d 100644 --- a/testsuite/tests/typecheck/should_run/T3731_simple.stderr +++ b/testsuite/tests/typecheck/should_run/T3731_simple.stderr @@ -1,5 +1,5 @@ -T3731_simple.hs:19:13: error: +T3731_simple.hs:19:13: error: [GHC-39999] • Could not deduce ‘Default a’ arising from a superclass required to satisfy ‘Data a’, arising from a use of ‘dataTypeOf’ diff --git a/testsuite/tests/typecheck/should_run/T9497a-run.stderr b/testsuite/tests/typecheck/should_run/T9497a-run.stderr index 7f05844778..22336ece3a 100644 --- a/testsuite/tests/typecheck/should_run/T9497a-run.stderr +++ b/testsuite/tests/typecheck/should_run/T9497a-run.stderr @@ -1,4 +1,4 @@ -T9497a-run: T9497a-run.hs:2:8: error: +T9497a-run.exe: T9497a-run.hs:2:8: error: [GHC-88464] • Found hole: _main :: IO () Or perhaps ‘_main’ is mis-spelled, or not in scope • In an equation for ‘main’: main = _main diff --git a/testsuite/tests/typecheck/should_run/T9497b-run.stderr b/testsuite/tests/typecheck/should_run/T9497b-run.stderr index e6155ddae5..c82f266940 100644 --- a/testsuite/tests/typecheck/should_run/T9497b-run.stderr +++ b/testsuite/tests/typecheck/should_run/T9497b-run.stderr @@ -1,4 +1,4 @@ -T9497b-run: T9497b-run.hs:2:8: error: +T9497b-run.exe: T9497b-run.hs:2:8: error: [GHC-88464] • Found hole: _main :: IO () Or perhaps ‘_main’ is mis-spelled, or not in scope • In an equation for ‘main’: main = _main diff --git a/testsuite/tests/typecheck/should_run/T9497c-run.stderr b/testsuite/tests/typecheck/should_run/T9497c-run.stderr index 6ce2781031..169a1ce54f 100644 --- a/testsuite/tests/typecheck/should_run/T9497c-run.stderr +++ b/testsuite/tests/typecheck/should_run/T9497c-run.stderr @@ -1,4 +1,4 @@ -T9497c-run: T9497c-run.hs:2:8: error: +T9497c-run.exe: T9497c-run.hs:2:8: error: [GHC-88464] • Found hole: _main :: IO () Or perhaps ‘_main’ is mis-spelled, or not in scope • In an equation for ‘main’: main = _main diff --git a/testsuite/tests/typecheck/should_run/Typeable1.stderr b/testsuite/tests/typecheck/should_run/Typeable1.stderr index d2488bb575..d9ee7781d5 100644 --- a/testsuite/tests/typecheck/should_run/Typeable1.stderr +++ b/testsuite/tests/typecheck/should_run/Typeable1.stderr @@ -1,5 +1,5 @@ -Typeable1.hs:22:5: error: [-Winaccessible-code (in -Wdefault), -Werror=inaccessible-code] +Typeable1.hs:22:5: error: [GHC-40564] [-Winaccessible-code (in -Wdefault), Werror=inaccessible-code] • Inaccessible code in a pattern with pattern synonym: App :: forall k2 (t :: k2). diff --git a/testsuite/tests/typecheck/should_run/tcrun042.stderr b/testsuite/tests/typecheck/should_run/tcrun042.stderr index dcf0854d47..471fd5141b 100644 --- a/testsuite/tests/typecheck/should_run/tcrun042.stderr +++ b/testsuite/tests/typecheck/should_run/tcrun042.stderr @@ -1,5 +1,5 @@ -tcrun042.hs:20:5: error: +tcrun042.hs:20:5: error: [GHC-91028] • Couldn't match type ‘t0’ with ‘forall b. b -> b -> b’ Expected: a -> (forall b. b -> b -> b) -> (a, String, forall c. c -> c -> c) diff --git a/testsuite/tests/typecheck/should_run/tcrun045.stderr b/testsuite/tests/typecheck/should_run/tcrun045.stderr index feabc4bad4..d555277673 100644 --- a/testsuite/tests/typecheck/should_run/tcrun045.stderr +++ b/testsuite/tests/typecheck/should_run/tcrun045.stderr @@ -1,14 +1,14 @@ -tcrun045.hs:11:10: error: +tcrun045.hs:11:10: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the instance declaration for ‘C Int’ -tcrun045.hs:24:1: error: +tcrun045.hs:24:1: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the context: ?imp::Int While checking the super-classes of class ‘D’ In the class declaration for ‘D’ -tcrun045.hs:27:10: error: +tcrun045.hs:27:10: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the instance declaration for ‘D Int’ 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 | ) diff --git a/testsuite/tests/unlifted-datatypes/should_fail/UnlDataInvalidResKind1.stderr b/testsuite/tests/unlifted-datatypes/should_fail/UnlDataInvalidResKind1.stderr index e61b6b4b18..cf1f93a795 100644 --- a/testsuite/tests/unlifted-datatypes/should_fail/UnlDataInvalidResKind1.stderr +++ b/testsuite/tests/unlifted-datatypes/should_fail/UnlDataInvalidResKind1.stderr @@ -1,4 +1,4 @@ -UnlDataInvalidResKind1.hs:9:1: error: +UnlDataInvalidResKind1.hs:9:1: error: [GHC-55233] • Data type has non-'BoxedRep return kind ‘TYPE 'IntRep’ • In the data declaration for ‘T’ diff --git a/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr b/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr index 7c9b856677..98c2dbe0ea 100644 --- a/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr +++ b/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr @@ -1,5 +1,5 @@ -UnlDataNullaryPoly.hs:10:10: error: +UnlDataNullaryPoly.hs:10:10: error: [GHC-31147] • Quantified type's kind mentions quantified type variable type: ‘forall (l :: Levity). T’ where the body of the forall has this kind: ‘TYPE ('BoxedRep l)’ diff --git a/testsuite/tests/warnings/minimal/WarnMinimal.stderr b/testsuite/tests/warnings/minimal/WarnMinimal.stderr index 4323a91e17..c474f450fb 100644 --- a/testsuite/tests/warnings/minimal/WarnMinimal.stderr +++ b/testsuite/tests/warnings/minimal/WarnMinimal.stderr @@ -24,19 +24,19 @@ WarnMinimal.hs:79:10: warning: [-Wmissing-methods (in -Wdefault)] ‘return'’ and (either (‘fmap'’ and ‘join'’) or ‘bind'’) • In the instance declaration for ‘Monad' Id3’ -WarnMinimal.hs:84:1: warning: +WarnMinimal.hs:84:1: warning: [GHC-13511] • The MINIMAL pragma does not require: ‘cheater’ but there is no default implementation. • In the class declaration for ‘Cheater’ -WarnMinimal.hs:88:1: warning: +WarnMinimal.hs:88:1: warning: [GHC-13511] • The MINIMAL pragma does not require: ‘_cheater2’ but there is no default implementation. • In the class declaration for ‘Cheater2’ -WarnMinimal.hs:92:1: warning: +WarnMinimal.hs:92:1: warning: [GHC-13511] • The MINIMAL pragma does not require: ‘cheater3b’ but there is no default implementation. diff --git a/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr b/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr index 70584cdf28..094c865cd1 100644 --- a/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr +++ b/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr @@ -1,3 +1,3 @@ -WarnMinimalFail2.hs:8:15: +WarnMinimalFail2.hs:8:15: error: [GHC-54721] ‘global’ is not a (visible) method of class ‘Foo’ diff --git a/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr b/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr index 3b2616b60d..a27f7bb1c7 100644 --- a/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr +++ b/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr @@ -1,3 +1,3 @@ -WarnMinimalFail3.hs:12:15: +WarnMinimalFail3.hs:12:15: error: [GHC-54721] ‘parent’ is not a (visible) method of class ‘Child’ diff --git a/testsuite/tests/warnings/should_compile/DeprU.stderr b/testsuite/tests/warnings/should_compile/DeprU.stderr index f8db14ef0f..f184ef6262 100644 --- a/testsuite/tests/warnings/should_compile/DeprU.stderr +++ b/testsuite/tests/warnings/should_compile/DeprU.stderr @@ -5,6 +5,6 @@ DeprU.hs:3:1: warning: [-Wdeprecations (in -Wdefault)] Module ‘DeprM’ is deprecated: "Here can be your menacing deprecation warning!" -DeprU.hs:6:5: warning: [-Wdeprecations (in -Wdefault)] +DeprU.hs:6:5: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘f’ (imported from DeprM): Deprecated: "Here can be your menacing deprecation warning!" diff --git a/testsuite/tests/warnings/should_compile/DerivingTypeable.stderr b/testsuite/tests/warnings/should_compile/DerivingTypeable.stderr index 20a19ab530..aba7849030 100644 --- a/testsuite/tests/warnings/should_compile/DerivingTypeable.stderr +++ b/testsuite/tests/warnings/should_compile/DerivingTypeable.stderr @@ -1,3 +1,4 @@ -DerivingTypeable.hs:8:12: warning: [-Wderiving-typeable] - Deriving ‘Typeable’ has no effect: all types now auto-derive Typeable - In the data declaration for ‘Foo’ + +DerivingTypeable.hs:8:12: warning: [GHC-90584] [-Wderiving-typeable] + • Deriving ‘Typeable’ has no effect: all types now auto-derive Typeable + • In the data declaration for ‘Foo’ diff --git a/testsuite/tests/warnings/should_compile/DodgyExports01.stderr b/testsuite/tests/warnings/should_compile/DodgyExports01.stderr index 8e9c00d8b8..d3cae826ab 100644 --- a/testsuite/tests/warnings/should_compile/DodgyExports01.stderr +++ b/testsuite/tests/warnings/should_compile/DodgyExports01.stderr @@ -1,5 +1,5 @@ -DodgyExports01.hs:2:13: warning: [-Wdodgy-exports (in -Wextra)] +DodgyExports01.hs:2:13: warning: [GHC-75356] [-Wdodgy-exports (in -Wextra)] The export item ‘T(..)’ suggests that ‘T’ has (in-scope) constructors or class methods, but it has none diff --git a/testsuite/tests/warnings/should_compile/MissingMod.stderr b/testsuite/tests/warnings/should_compile/MissingMod.stderr index 119e72cd28..92ada51d60 100644 --- a/testsuite/tests/warnings/should_compile/MissingMod.stderr +++ b/testsuite/tests/warnings/should_compile/MissingMod.stderr @@ -1,5 +1,6 @@ -<no location info>: warning: [-Wmissing-home-modules] - Modules are not listed in command line but needed for compilation: MissingMod1 +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] + Modules are not listed in command line but needed for compilation: + MissingMod1 [1 of 2] Compiling MissingMod1 ( MissingMod1.hs, MissingMod1.o ) [2 of 2] Compiling MissingMod ( MissingMod.hs, MissingMod.o ) diff --git a/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 index 0868f26f07..528436cec0 100644 --- a/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 +++ b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 @@ -1,18 +1,18 @@ -Overflow.hs:8:15: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:8:15: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 10000000000000000000000000000000 is out of the Int# range -2147483648..2147483647 -Overflow.hs:13:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:13:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000 is out of the Int# range -2147483648..2147483647 -Overflow.hs:18:5: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:18:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 1000000000000000000000000000000 is out of the Int range -2147483648..2147483647 -Overflow.hs:22:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:22:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000000000 is out of the Int range -2147483648..2147483647 -Overflow.hs:27:6: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:27:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..4294967295 -Overflow.hs:31:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:31:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..4294967295 diff --git a/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-64 b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-64 index ce657aebf6..e66e614831 100644 --- a/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-64 +++ b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-64 @@ -1,18 +1,18 @@ -Overflow.hs:8:15: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:8:15: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 10000000000000000000000000000000 is out of the Int# range -9223372036854775808..9223372036854775807 -Overflow.hs:13:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:13:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000 is out of the Int# range -9223372036854775808..9223372036854775807 -Overflow.hs:18:5: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:18:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 1000000000000000000000000000000 is out of the Int range -9223372036854775808..9223372036854775807 -Overflow.hs:22:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:22:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000000000 is out of the Int range -9223372036854775808..9223372036854775807 -Overflow.hs:27:6: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:27:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..18446744073709551615 -Overflow.hs:31:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:31:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..18446744073709551615 diff --git a/testsuite/tests/warnings/should_compile/PluralS.stderr b/testsuite/tests/warnings/should_compile/PluralS.stderr index d8a6f76957..5ba0ad9347 100644 --- a/testsuite/tests/warnings/should_compile/PluralS.stderr +++ b/testsuite/tests/warnings/should_compile/PluralS.stderr @@ -1,12 +1,12 @@ -PluralS.hs:15:17: warning: [-Wtype-defaults (in -Wall)] +PluralS.hs:15:17: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraint Num a0 arising from the literal ‘123’ • In the first argument of ‘seq’, namely ‘123’ In the expression: 123 `seq` () In an equation for ‘defaultingNum’: defaultingNum = 123 `seq` () -PluralS.hs:17:24: warning: [-Wtype-defaults (in -Wall)] +PluralS.hs:17:24: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints (Show a0) arising from a use of ‘show’ at PluralS.hs:17:24-27 (Num a0) arising from the literal ‘123’ at PluralS.hs:17:29-31 @@ -14,14 +14,14 @@ PluralS.hs:17:24: warning: [-Wtype-defaults (in -Wall)] In an equation for ‘defaultingNumAndShow’: defaultingNumAndShow = show 123 -PluralS.hs:23:17: warning: [-Wredundant-constraints] - • Redundant constraint: Num a - • In the type signature for: - redundantNum :: forall a. (Num a, Num a) => a +PluralS.hs:23:17: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Num a + In the type signature for: + redundantNum :: forall a. (Num a, Num a) => a -PluralS.hs:26:22: warning: [-Wredundant-constraints] - • Redundant constraints: (Show a, Num a, Eq a, Eq a) - • In the type signature for: - redundantMultiple :: forall a. - (Num a, Show a, Num a, Eq a, Eq a) => - a +PluralS.hs:26:22: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraints: (Show a, Num a, Eq a, Eq a) + In the type signature for: + redundantMultiple :: forall a. + (Num a, Show a, Num a, Eq a, Eq a) => + a diff --git a/testsuite/tests/warnings/should_compile/StarBinder.stderr b/testsuite/tests/warnings/should_compile/StarBinder.stderr index 64bd8a3fbc..b9370e0bb2 100644 --- a/testsuite/tests/warnings/should_compile/StarBinder.stderr +++ b/testsuite/tests/warnings/should_compile/StarBinder.stderr @@ -1,12 +1,12 @@ -StarBinder.hs:6:14: warning: [-Wstar-binder (in -Wdefault)] +StarBinder.hs:6:14: warning: [GHC-21887] [-Wstar-binder (in -Wdefault)] Found binding occurrence of ‘*’ yet StarIsType is enabled. Suggested fix: To use (or export) this operator in modules with StarIsType, - including the definition module, you must qualify it. + including the definition module, you must qualify it. -StarBinder.hs:6:30: warning: [-Wstar-binder (in -Wdefault)] +StarBinder.hs:6:30: warning: [GHC-21887] [-Wstar-binder (in -Wdefault)] Found binding occurrence of ‘*’ yet StarIsType is enabled. Suggested fix: To use (or export) this operator in modules with StarIsType, - including the definition module, you must qualify it. + including the definition module, you must qualify it. diff --git a/testsuite/tests/warnings/should_compile/T10637/T10637.stderr b/testsuite/tests/warnings/should_compile/T10637/T10637.stderr index ece4316739..d0b53d1ff2 100644 --- a/testsuite/tests/warnings/should_compile/T10637/T10637.stderr +++ b/testsuite/tests/warnings/should_compile/T10637/T10637.stderr @@ -1,3 +1,3 @@ -T10637.hs:3:23: warning: [-Wunused-imports (in -Wextra)] +T10637.hs:3:23: warning: [GHC-88907] [-Wunused-imports (in -Wextra)] {-# SOURCE #-} unnecessary in import of ‘A’ diff --git a/testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 index 8fcd1a3a1f..0928274914 100644 --- a/testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 +++ b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 @@ -1,12 +1,12 @@ -T10930.hs:6:5: warning: [-Woverflowed-literals (in -Wdefault)] +T10930.hs:6:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -123 is out of the Word range 0..4294967295 -T10930.hs:7:5: warning: [-Woverflowed-literals (in -Wdefault)] +T10930.hs:7:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -123 is negative but Natural only supports positive numbers -T10930.hs:9:5: warning: [-Wempty-enumerations (in -Wdefault)] +T10930.hs:9:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T10930.hs:10:5: warning: [-Wempty-enumerations (in -Wdefault)] +T10930.hs:10:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/warnings/should_compile/T10930.stderr-ws-64 b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-64 index 1b593b9f38..64e8d5b3cc 100644 --- a/testsuite/tests/warnings/should_compile/T10930.stderr-ws-64 +++ b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-64 @@ -1,11 +1,12 @@ -T10930.hs:6:5: warning: [-Woverflowed-literals (in -Wdefault)] +T10930.hs:6:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -123 is out of the Word range 0..18446744073709551615 -T10930.hs:7:5: warning: [-Woverflowed-literals (in -Wdefault)] +T10930.hs:7:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -123 is negative but Natural only supports positive numbers -T10930.hs:9:5: warning: [-Wempty-enumerations (in -Wdefault)] Enumeration is empty +T10930.hs:9:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] + Enumeration is empty -T10930.hs:10:5: warning: [-Wempty-enumerations (in -Wdefault)] +T10930.hs:10:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/warnings/should_compile/T10930b.stderr b/testsuite/tests/warnings/should_compile/T10930b.stderr index a967efa839..689aa54821 100644 --- a/testsuite/tests/warnings/should_compile/T10930b.stderr +++ b/testsuite/tests/warnings/should_compile/T10930b.stderr @@ -1,15 +1,15 @@ -T10930b.hs:6:6: warning: [-Woverflowed-literals (in -Wdefault)] +T10930b.hs:6:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -10 is negative but Natural only supports positive numbers -T10930b.hs:6:13: warning: [-Woverflowed-literals (in -Wdefault)] +T10930b.hs:6:13: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -3 is negative but Natural only supports positive numbers -T10930b.hs:7:5: warning: [-Wempty-enumerations (in -Wdefault)] +T10930b.hs:7:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T10930b.hs:7:6: warning: [-Woverflowed-literals (in -Wdefault)] +T10930b.hs:7:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -3 is negative but Natural only supports positive numbers -T10930b.hs:7:12: warning: [-Woverflowed-literals (in -Wdefault)] +T10930b.hs:7:12: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -10 is negative but Natural only supports positive numbers diff --git a/testsuite/tests/warnings/should_compile/T11077.stderr b/testsuite/tests/warnings/should_compile/T11077.stderr index 9621e8d5e1..011f5a264c 100644 --- a/testsuite/tests/warnings/should_compile/T11077.stderr +++ b/testsuite/tests/warnings/should_compile/T11077.stderr @@ -1,3 +1,3 @@ -T11077.hs:5:1: warning: [-Wmissing-exported-signatures] +T11077.hs:5:1: warning: [GHC-38417] [-Wmissing-exported-signatures] Top-level binding with no type signature: foo :: a diff --git a/testsuite/tests/warnings/should_compile/T12574.stderr b/testsuite/tests/warnings/should_compile/T12574.stderr index 35427c1b90..1a276f8835 100644 --- a/testsuite/tests/warnings/should_compile/T12574.stderr +++ b/testsuite/tests/warnings/should_compile/T12574.stderr @@ -1,4 +1,4 @@ -T12574.hs:3:1: warning: [-Wmissing-local-signatures] +T12574.hs:3:1: warning: [GHC-64414] [-Wmissing-local-signatures] Polymorphic local binding with no type signature: T12574.id :: forall {p}. p -> p diff --git a/testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 index 6309a9765e..dded19d4ff 100644 --- a/testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 +++ b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 @@ -1,3 +1,3 @@ -T13256.hs:4:12: warning: [-Woverflowed-literals (in -Wdefault)] +T13256.hs:4:12: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000000000 is out of the Int range -2147483648..2147483647 diff --git a/testsuite/tests/warnings/should_compile/T13256.stderr-ws-64 b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-64 index 6b06a7d093..454744b75e 100644 --- a/testsuite/tests/warnings/should_compile/T13256.stderr-ws-64 +++ b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-64 @@ -1,3 +1,3 @@ -T13256.hs:4:12: warning: [-Woverflowed-literals (in -Wdefault)] +T13256.hs:4:12: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000000000 is out of the Int range -9223372036854775808..9223372036854775807 diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr index 383b6df7bd..d34450454a 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr @@ -1,7 +1,7 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 -[1 of 3] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 3] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 3] Linking src-exe/Main +[1 of 3] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 3] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 3] Linking src-exe\Main.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr index 383b6df7bd..d34450454a 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr @@ -1,7 +1,7 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 -[1 of 3] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 3] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 3] Linking src-exe/Main +[1 of 3] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 3] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 3] Linking src-exe\Main.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr index 9d084b94f6..165cd8100b 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr @@ -1,8 +1,8 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 Main -[1 of 4] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 4] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 4] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o ) -[4 of 4] Linking src-exe/AltMain +[1 of 4] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 4] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 4] Compiling AltMain ( src-exe\AltMain.hs, src-exe\AltMain.o ) +[4 of 4] Linking src-exe\AltMain.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr index 9d084b94f6..165cd8100b 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr @@ -1,8 +1,8 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 Main -[1 of 4] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 4] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 4] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o ) -[4 of 4] Linking src-exe/AltMain +[1 of 4] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 4] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 4] Compiling AltMain ( src-exe\AltMain.hs, src-exe\AltMain.o ) +[4 of 4] Linking src-exe\AltMain.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr index b627f7eaf5..3cbbcc1b9f 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr @@ -1,8 +1,8 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 -[1 of 4] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 4] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 4] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o ) -[4 of 4] Linking src-exe/AltMain +[1 of 4] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 4] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 4] Compiling AltMain ( src-exe\AltMain.hs, src-exe\AltMain.o ) +[4 of 4] Linking src-exe\AltMain.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr index b627f7eaf5..3cbbcc1b9f 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr @@ -1,8 +1,8 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 -[1 of 4] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 4] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 4] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o ) -[4 of 4] Linking src-exe/AltMain +[1 of 4] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 4] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 4] Compiling AltMain ( src-exe\AltMain.hs, src-exe\AltMain.o ) +[4 of 4] Linking src-exe\AltMain.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr index 685860db43..bf4f360054 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr @@ -1,8 +1,8 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: Main -[1 of 4] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 4] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 4] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o ) -[4 of 4] Linking src-exe/AltMain +[1 of 4] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 4] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 4] Compiling AltMain ( src-exe\AltMain.hs, src-exe\AltMain.o ) +[4 of 4] Linking src-exe\AltMain.exe diff --git a/testsuite/tests/warnings/should_compile/T14794a.stderr b/testsuite/tests/warnings/should_compile/T14794a.stderr index 807a070350..8bbe40280f 100644 --- a/testsuite/tests/warnings/should_compile/T14794a.stderr +++ b/testsuite/tests/warnings/should_compile/T14794a.stderr @@ -1,6 +1,6 @@ -T14794a.hs:8:1: warning: [-Wmissing-signatures (in -Wall)] +T14794a.hs:8:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: testExported :: Bool -T14794a.hs:10:1: warning: [-Wmissing-signatures (in -Wall)] +T14794a.hs:10:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: testUnexported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T14794b.stderr b/testsuite/tests/warnings/should_compile/T14794b.stderr index 8f7f7e805b..de8fa5b83a 100644 --- a/testsuite/tests/warnings/should_compile/T14794b.stderr +++ b/testsuite/tests/warnings/should_compile/T14794b.stderr @@ -1,3 +1,3 @@ -T14794b.hs:8:1: warning: [-Wmissing-exported-signatures] +T14794b.hs:8:1: warning: [GHC-38417] [-Wmissing-exported-signatures] Top-level binding with no type signature: testExported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T14794c.stderr b/testsuite/tests/warnings/should_compile/T14794c.stderr index 413eea960f..e909432cfc 100644 --- a/testsuite/tests/warnings/should_compile/T14794c.stderr +++ b/testsuite/tests/warnings/should_compile/T14794c.stderr @@ -1,6 +1,6 @@ -T14794c.hs:8:1: warning: [-Wmissing-signatures (in -Wall)] +T14794c.hs:8:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: testExported :: Bool -T14794c.hs:10:1: warning: [-Wmissing-signatures (in -Wall)] +T14794c.hs:10:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: testUnexported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T14794d.stderr b/testsuite/tests/warnings/should_compile/T14794d.stderr index 61177b520e..b2fea47622 100644 --- a/testsuite/tests/warnings/should_compile/T14794d.stderr +++ b/testsuite/tests/warnings/should_compile/T14794d.stderr @@ -1,8 +1,8 @@ -T14794d.hs:8:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T14794d.hs:8:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern TestExported :: Bool -T14794d.hs:10:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T14794d.hs:10:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern TestUnexported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T14794e.stderr b/testsuite/tests/warnings/should_compile/T14794e.stderr index b7c70b6e51..5ed8dff62c 100644 --- a/testsuite/tests/warnings/should_compile/T14794e.stderr +++ b/testsuite/tests/warnings/should_compile/T14794e.stderr @@ -1,4 +1,4 @@ -T14794e.hs:8:1: warning: [-Wmissing-exported-pattern-synonym-signatures] +T14794e.hs:8:1: warning: [GHC-38417] [-Wmissing-exported-pattern-synonym-signatures] Pattern synonym with no type signature: pattern TestExported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T14794f.stderr b/testsuite/tests/warnings/should_compile/T14794f.stderr index fd138d5911..0f67355151 100644 --- a/testsuite/tests/warnings/should_compile/T14794f.stderr +++ b/testsuite/tests/warnings/should_compile/T14794f.stderr @@ -1,8 +1,8 @@ -T14794f.hs:8:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T14794f.hs:8:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern TestExported :: Bool -T14794f.hs:10:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T14794f.hs:10:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern TestUnexported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T15460.stderr-ws-32 b/testsuite/tests/warnings/should_compile/T15460.stderr-ws-32 index 2859116da8..91a87092d4 100644 --- a/testsuite/tests/warnings/should_compile/T15460.stderr-ws-32 +++ b/testsuite/tests/warnings/should_compile/T15460.stderr-ws-32 @@ -1,3 +1,3 @@ -T15460.hs:8:16: warning: [-Woverflowed-literals (in -Wdefault)] +T15460.hs:8:16: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 7237005577332262213973186563042994240829374041602535252466099000494570602495 is out of the GHC.Prim.Int# range -2147483648..2147483647 diff --git a/testsuite/tests/warnings/should_compile/T15460.stderr-ws-64 b/testsuite/tests/warnings/should_compile/T15460.stderr-ws-64 index 5907b44320..296a01aa41 100644 --- a/testsuite/tests/warnings/should_compile/T15460.stderr-ws-64 +++ b/testsuite/tests/warnings/should_compile/T15460.stderr-ws-64 @@ -1,3 +1,3 @@ -T15460.hs:8:16: warning: [-Woverflowed-literals (in -Wdefault)] +T15460.hs:8:16: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 7237005577332262213973186563042994240829374041602535252466099000494570602495 is out of the GHC.Prim.Int# range -9223372036854775808..9223372036854775807 diff --git a/testsuite/tests/warnings/should_compile/T18402.stderr b/testsuite/tests/warnings/should_compile/T18402.stderr index 1fe12832c9..0b2853bf56 100644 --- a/testsuite/tests/warnings/should_compile/T18402.stderr +++ b/testsuite/tests/warnings/should_compile/T18402.stderr @@ -1,9 +1,9 @@ -T18402.hs:3:5: warning: [-Wempty-enumerations (in -Wdefault)] +T18402.hs:3:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T18402.hs:4:5: warning: [-Wempty-enumerations (in -Wdefault)] +T18402.hs:4:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T18402.hs:5:5: warning: [-Wempty-enumerations (in -Wdefault)] +T18402.hs:5:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/warnings/should_compile/T18862a.stderr b/testsuite/tests/warnings/should_compile/T18862a.stderr index e2a6fe3f3c..2a60962bcb 100644 --- a/testsuite/tests/warnings/should_compile/T18862a.stderr +++ b/testsuite/tests/warnings/should_compile/T18862a.stderr @@ -1,5 +1,5 @@ -T18862a.hs:5:9: warning: [-Wtype-equality-requires-operators (in -Wdefault)] +T18862a.hs:5:9: warning: [GHC-58520] [-Wtype-equality-requires-operators (in -Wdefault)] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators diff --git a/testsuite/tests/warnings/should_compile/T18862b.stderr b/testsuite/tests/warnings/should_compile/T18862b.stderr index ac959be7d8..8f0514131b 100644 --- a/testsuite/tests/warnings/should_compile/T18862b.stderr +++ b/testsuite/tests/warnings/should_compile/T18862b.stderr @@ -1,5 +1,5 @@ -T18862b.hs:7:9: warning: [-Wtype-equality-out-of-scope (in -Wcompat)] +T18862b.hs:7:9: warning: [GHC-12003] [-Wtype-equality-out-of-scope (in -Wcompat)] • The ‘~’ operator is out of scope. Assuming it to stand for an equality constraint. • NB: ‘~’ used to be built-in syntax but now is a regular type operator diff --git a/testsuite/tests/warnings/should_compile/T19296.stderr b/testsuite/tests/warnings/should_compile/T19296.stderr index e76c0cbbef..1fb1f7fe13 100644 --- a/testsuite/tests/warnings/should_compile/T19296.stderr +++ b/testsuite/tests/warnings/should_compile/T19296.stderr @@ -1,31 +1,31 @@ -T19296.hs:6:6: warning: [-Wredundant-constraints] - • Redundant constraint: Eq a - • In the type signature for: - f :: forall a. Eq a => a -> () +T19296.hs:6:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Eq a + In the type signature for: + f :: forall a. Eq a => a -> () | 6 | f :: Eq a => a -> () | ^^^^ -T19296.hs:10:21: warning: [-Wredundant-constraints] +T19296.hs:10:21: warning: [GHC-30606] [-Wredundant-constraints] • Redundant constraint: Eq a - • In an expression type signature: + In an expression type signature: forall a1. Eq a1 => a1 -> () - In the expression: (\ x -> ()) :: Eq a => a -> () + • In the expression: (\ x -> ()) :: Eq a => a -> () In an equation for ‘g’: g _ = (\ x -> ()) :: Eq a => a -> () | 10 | g _ = (\x -> ()) :: Eq a => a -> () | ^^^^ -T19296.hs:13:6: warning: [-Wredundant-constraints] - • Redundant constraint: Eq a - • In the type signature for: - h :: forall a b. (Eq a, Ord b) => a -> b -> b +T19296.hs:13:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Eq a + In the type signature for: + h :: forall a b. (Eq a, Ord b) => a -> b -> b | 13 | h :: (Eq a, Ord b) => a -> b -> b | ^^^^^^^^^^^^^ -T19296.hs:21:1: warning: +T19296.hs:21:1: warning: [GHC-40548] Forall'd constraint ‘Eq a’ is not bound in RULE lhs Orig bndrs: [a, $dEq] Orig lhs: let { @@ -38,28 +38,28 @@ T19296.hs:21:1: warning: 21 | {-# SPECIALISE spec :: Eq a => a -> Int -> Int #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -T19296.hs:21:24: warning: [-Wredundant-constraints] +T19296.hs:21:24: warning: [GHC-30606] [-Wredundant-constraints] • Redundant constraint: Eq a - • In the type signature for: + In the type signature for: spec :: forall a. Eq a => a -> Int -> Int - In the pragma: {-# SPECIALISE spec :: Eq a => a -> Int -> Int #-} + • In the pragma: {-# SPECIALISE spec :: Eq a => a -> Int -> Int #-} | 21 | {-# SPECIALISE spec :: Eq a => a -> Int -> Int #-} | ^^^^ -T19296.hs:31:20: warning: [-Wredundant-constraints] - • Redundant constraint: Show a - • In the type signature for: - foo :: Show a => [a] +T19296.hs:31:20: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Show a + In the type signature for: + foo :: Show a => [a] | 31 | default foo :: Show a => [a] | ^^^^^^ -T19296.hs:39:12: warning: [-Wredundant-constraints] +T19296.hs:39:12: warning: [GHC-30606] [-Wredundant-constraints] • Redundant constraints: (Eq b, Ord b) - • In the type signature for: + In the type signature for: bar :: forall b. (Eq b, Ord b) => Int -> b -> Int - In the instance declaration for ‘Bar Int’ + • In the instance declaration for ‘Bar Int’ | 39 | bar :: (Eq b, Ord b) => Int -> b -> Int | ^^^^^^^^^^^^^ diff --git a/testsuite/tests/warnings/should_compile/T19564a.stderr b/testsuite/tests/warnings/should_compile/T19564a.stderr index f64805fa31..cce4e63dd5 100644 --- a/testsuite/tests/warnings/should_compile/T19564a.stderr +++ b/testsuite/tests/warnings/should_compile/T19564a.stderr @@ -1,36 +1,36 @@ -T19564a.hs:7:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:7:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Id :: * -> * -T19564a.hs:11:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:11:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Alt :: (* -> *) -> Constraint -T19564a.hs:15:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:15:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Arr :: * -> * -> * -T19564a.hs:16:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:16:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type B :: * -T19564a.hs:19:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:19:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type YesNo :: * -T19564a.hs:20:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:20:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type V2 :: * -> * -T19564a.hs:23:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:23:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Free :: (* -> *) -> * -> * -T19564a.hs:28:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:28:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type D1 :: * -> * -T19564a.hs:31:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:31:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type C :: forall {k}. k -> Constraint diff --git a/testsuite/tests/warnings/should_compile/T19564c.stderr b/testsuite/tests/warnings/should_compile/T19564c.stderr index 587ea089fc..ca5a0279ef 100644 --- a/testsuite/tests/warnings/should_compile/T19564c.stderr +++ b/testsuite/tests/warnings/should_compile/T19564c.stderr @@ -1,36 +1,36 @@ -T19564c.hs:9:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:9:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Id :: * -> * -T19564c.hs:13:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:13:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Alt :: (* -> *) -> Constraint -T19564c.hs:17:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:17:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Arr :: * -> * -> * -T19564c.hs:18:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:18:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type B :: * -T19564c.hs:21:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:21:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type YesNo :: * -T19564c.hs:22:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:22:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type V2 :: * -> * -T19564c.hs:25:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:25:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Free :: (* -> *) -> * -> * -T19564c.hs:30:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:30:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type D1 :: * -> * -T19564c.hs:33:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:33:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type C :: * -> Constraint diff --git a/testsuite/tests/warnings/should_compile/T9178.stderr b/testsuite/tests/warnings/should_compile/T9178.stderr index 769452c2b0..ca2af9a850 100644 --- a/testsuite/tests/warnings/should_compile/T9178.stderr +++ b/testsuite/tests/warnings/should_compile/T9178.stderr @@ -1,8 +1,8 @@ [1 of 2] Compiling T9178DataType ( T9178DataType.hs, T9178DataType.o ) [2 of 2] Compiling T9178 ( T9178.hs, T9178.o ) -T9178.hs:8:1: warning: [-Worphans (in -Wall)] +T9178.hs:8:1: warning: [GHC-90177] [-Worphans (in -Wall)] Orphan instance: instance Show T9178_Type Suggested fix: - Move the instance declaration to the module of the class or of the type, or - wrap the type with a newtype and declare the instance on the new type. + Move the instance declaration to the module of the class or of the type, or + wrap the type with a newtype and declare the instance on the new type. diff --git a/testsuite/tests/warnings/should_compile/T9230.stderr b/testsuite/tests/warnings/should_compile/T9230.stderr index 208002033b..e1411dcfb8 100644 --- a/testsuite/tests/warnings/should_compile/T9230.stderr +++ b/testsuite/tests/warnings/should_compile/T9230.stderr @@ -1,4 +1,4 @@ -T9230.hs:5:1: warning: [-Wtabs (in -Wdefault)] +T9230.hs:5:1: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here. Suggested fix: Please use spaces instead. diff --git a/testsuite/tests/warnings/should_compile/UnusedPackages.stderr b/testsuite/tests/warnings/should_compile/UnusedPackages.stderr index f86b09b82a..6323ede3ff 100644 --- a/testsuite/tests/warnings/should_compile/UnusedPackages.stderr +++ b/testsuite/tests/warnings/should_compile/UnusedPackages.stderr @@ -1,9 +1,9 @@ -<no location info>: warning: [-Wunused-packages] +<no location info>: warning: [GHC-42258] [-Wunused-packages] The following packages were specified via -package or -package-id flags, but were not needed for compilation: - bytestring-0.11.3.0 (exposed by flag -package bytestring) - - ghc-9.3 (exposed by flag -package ghc) + - ghc-9.5 (exposed by flag -package ghc) - process-1.6.14.0 (exposed by flag -package process) [1 of 2] Compiling Main ( UnusedPackages.hs, UnusedPackages.o ) -[2 of 2] Linking UnusedPackages +[2 of 2] Linking UnusedPackages.exe diff --git a/testsuite/tests/warnings/should_compile/Werror01.stderr b/testsuite/tests/warnings/should_compile/Werror01.stderr index 1cebb3f0d0..85c01ed19b 100644 --- a/testsuite/tests/warnings/should_compile/Werror01.stderr +++ b/testsuite/tests/warnings/should_compile/Werror01.stderr @@ -1,3 +1,3 @@ -Werror01.hs:5:1: warning: [-Wmissing-signatures (in -Wall)] +Werror01.hs:5:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: foo :: () -> () diff --git a/testsuite/tests/warnings/should_compile/Werror02.stderr b/testsuite/tests/warnings/should_compile/Werror02.stderr index c33037caae..e3183a7207 100644 --- a/testsuite/tests/warnings/should_compile/Werror02.stderr +++ b/testsuite/tests/warnings/should_compile/Werror02.stderr @@ -1,2 +1,3 @@ -Werror02.hs:5:1: warning: [-Wmissing-signatures (in -Wall)] + +Werror02.hs:5:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: foo :: () -> () diff --git a/testsuite/tests/warnings/should_fail/CaretDiagnostics1.stderr b/testsuite/tests/warnings/should_fail/CaretDiagnostics1.stderr index 3f0a4f350b..354ccadaa0 100644 --- a/testsuite/tests/warnings/should_fail/CaretDiagnostics1.stderr +++ b/testsuite/tests/warnings/should_fail/CaretDiagnostics1.stderr @@ -1,5 +1,5 @@ -CaretDiagnostics1.hs:7:8-15: error: +CaretDiagnostics1.hs:7:8-15: error: [GHC-83865] • Couldn't match expected type ‘IO a0’ with actual type ‘Int’ • In the second argument of ‘(+)’, namely ‘(3 :: Int)’ In a stmt of a 'do' block: @@ -11,7 +11,7 @@ CaretDiagnostics1.hs:7:8-15: error: 7 | (3 :: Int) | ^^^^^^^^ -CaretDiagnostics1.hs:8:9-27: error: +CaretDiagnostics1.hs:8:9-27: error: [GHC-83865] • Couldn't match type ‘[Char]’ with ‘()’ Expected: () Actual: String @@ -23,7 +23,7 @@ CaretDiagnostics1.hs:8:9-27: error: 8 | pure ("this is not an IO" + ( )) | ^^^^^^^^^^^^^^^^^^^ -CaretDiagnostics1.hs:13:7-11: error: +CaretDiagnostics1.hs:13:7-11: error: [GHC-83865] • Couldn't match type: a1 -> a1 with: [Char] Expected: a1 -> a1 @@ -35,7 +35,7 @@ CaretDiagnostics1.hs:13:7-11: error: 13 | "γηξ" -> ( | ^^^^^ -CaretDiagnostics1.hs:(13,16)-(14,13): error: +CaretDiagnostics1.hs:(13,16)-(14,13): error: [GHC-83865] • Couldn't match expected type ‘Char -> t0’ with actual type ‘()’ • The function ‘()’ is applied to one value argument, but its type ‘()’ has none @@ -45,7 +45,7 @@ CaretDiagnostics1.hs:(13,16)-(14,13): error: 13 | "γηξ" -> ( | ^... -CaretDiagnostics1.hs:17:7-8: error: +CaretDiagnostics1.hs:17:7-8: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘()’ • In the expression: () In an equation for ‘fóo’: fóo = () @@ -53,7 +53,7 @@ CaretDiagnostics1.hs:17:7-8: error: 17 | fóo = () | ^^ -CaretDiagnostics1.hs:20:17-18: error: +CaretDiagnostics1.hs:20:17-18: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘()’ • In the expression: () In an equation for ‘tabby’: tabby = () @@ -61,7 +61,7 @@ CaretDiagnostics1.hs:20:17-18: error: 20 | tabby = () | ^^ -CaretDiagnostics1.hs:23:25-26: error: +CaretDiagnostics1.hs:23:25-26: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘()’ • In the expression: () In an equation for ‘tabby2’: tabby2 = () diff --git a/testsuite/tests/warnings/should_fail/CaretDiagnostics2.stderr b/testsuite/tests/warnings/should_fail/CaretDiagnostics2.stderr index 713f9246a5..ecae2ac6de 100644 --- a/testsuite/tests/warnings/should_fail/CaretDiagnostics2.stderr +++ b/testsuite/tests/warnings/should_fail/CaretDiagnostics2.stderr @@ -1,5 +1,5 @@ -CaretDiagnostics2.hs:3:1: error: +CaretDiagnostics2.hs:3:1: error: [GHC-21231] lexical error (UTF-8 decoding error) | 3 | �&l��5k� diff --git a/testsuite/tests/warnings/should_fail/Colour.stderr b/testsuite/tests/warnings/should_fail/Colour.stderr index 8631313a7b..79b3ef9683 100644 --- a/testsuite/tests/warnings/should_fail/Colour.stderr +++ b/testsuite/tests/warnings/should_fail/Colour.stderr @@ -1,5 +1,5 @@ -[;1mColour.hs:1:8: [;1m[31merror:[0m[0m[;1m[0m[0m[;1m +[;1mColour.hs:1:8: [;1m[31merror[0m[0m[;1m: [[;1m[31mGHC-83865[0m[0m[;1m][0m[0m[;1m • Couldn't match expected type ‘IO ()’ with actual type ‘()’ • In the expression: () :: IO () In an equation for ‘main’: main = () :: IO ()[0m[0m diff --git a/testsuite/tests/warnings/should_fail/T20263.stderr b/testsuite/tests/warnings/should_fail/T20263.stderr index 5d7b260959..b252ac2e2d 100644 --- a/testsuite/tests/warnings/should_fail/T20263.stderr +++ b/testsuite/tests/warnings/should_fail/T20263.stderr @@ -1,5 +1,5 @@ -T20263.hs:2:17: error: [-Wunicode-bidirectional-format-characters (in -Wdefault), -Werror=unicode-bidirectional-format-characters] +T20263.hs:2:17: error: [GHC-03272] [-Wunicode-bidirectional-format-characters (in -Wdefault), Werror=unicode-bidirectional-format-characters] A unicode bidirectional formatting character (U+2067 RIGHT-TO-LEFT ISOLATE (RLI)) was found at offset 30 in the file along with further bidirectional formatting characters at offset 31: U+2066 LEFT-TO-RIGHT ISOLATE (LRI) diff --git a/testsuite/tests/warnings/should_fail/WerrorFail.stderr b/testsuite/tests/warnings/should_fail/WerrorFail.stderr index 03e93567bc..4046bb4ae0 100644 --- a/testsuite/tests/warnings/should_fail/WerrorFail.stderr +++ b/testsuite/tests/warnings/should_fail/WerrorFail.stderr @@ -1,5 +1,5 @@ -WerrorFail.hs:6:1: error: [-Wincomplete-patterns (in -Wextra), -Werror=incomplete-patterns] +WerrorFail.hs:6:1: error: [GHC-62161] [-Wincomplete-patterns (in -Wextra), Werror=incomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘foo’: - Patterns of type ‘Maybe a’ not matched: Just _ + Patterns of type ‘Maybe a’ not matched: Just _ diff --git a/testsuite/tests/warnings/should_fail/WerrorFail2.stderr b/testsuite/tests/warnings/should_fail/WerrorFail2.stderr index c3bc935392..732f568e6a 100644 --- a/testsuite/tests/warnings/should_fail/WerrorFail2.stderr +++ b/testsuite/tests/warnings/should_fail/WerrorFail2.stderr @@ -1,15 +1,15 @@ -WerrorFail2.hs:15:1: warning: [-Wmissing-signatures (in -Wall)] +WerrorFail2.hs:15:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: sInt :: S -> Int -WerrorFail2.hs:15:10: error: [-Wincomplete-patterns (in -Wextra), -Werror=incomplete-patterns] +WerrorFail2.hs:15:10: error: [GHC-62161] [-Wincomplete-patterns (in -Wextra), Werror=incomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘S’ not matched: C2 _ -WerrorFail2.hs:19:1: warning: [-Wmissing-signatures (in -Wall)] +WerrorFail2.hs:19:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: printRec :: IO () -WerrorFail2.hs:19:18: error: [-Wmissing-fields (in -Wdefault), -Werror=missing-fields] +WerrorFail2.hs:19:18: error: [GHC-20125] [-Wmissing-fields (in -Wdefault), Werror=missing-fields] • Fields of ‘Rec’ not initialised: f2 :: Int • In the first argument of ‘print’, namely ‘Rec {f1 = 1}’ diff --git a/testsuite/tests/wcompat-warnings/WCompatWarningsOn.stderr b/testsuite/tests/wcompat-warnings/WCompatWarningsOn.stderr index 1b3c2ff34b..a24d18353d 100644 --- a/testsuite/tests/wcompat-warnings/WCompatWarningsOn.stderr +++ b/testsuite/tests/wcompat-warnings/WCompatWarningsOn.stderr @@ -16,7 +16,7 @@ Template.hs:16:3: warning: [-Wnoncanonical-monoid-instances (in -Wdefault, -Wcom Either remove definition for ‘mappend’ (recommended) or define as ‘mappend = (<>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid -Template.hs:20:15: warning: [-Wstar-is-type (in -Wall, -Wcompat)] +Template.hs:20:15: warning: [GHC-39567] [-Wstar-is-type (in -Wall, -Wcompat)] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. |