diff options
Diffstat (limited to 'testsuite/tests/module')
84 files changed, 115 insertions, 105 deletions
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> |