summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_compile')
-rw-r--r--testsuite/tests/parser/should_compile/ColumnPragma.stderr2
-rw-r--r--testsuite/tests/parser/should_compile/OpaqueParseWarn1.stderr3
-rw-r--r--testsuite/tests/parser/should_compile/T15139.stderr14
-rw-r--r--testsuite/tests/parser/should_compile/T18834a.stderr6
-rw-r--r--testsuite/tests/parser/should_compile/T18834b.stderr6
-rw-r--r--testsuite/tests/parser/should_compile/T21589.stderr8
-rw-r--r--testsuite/tests/parser/should_compile/T2245.stderr2
-rw-r--r--testsuite/tests/parser/should_compile/T3303.stderr4
-rw-r--r--testsuite/tests/parser/should_compile/T515.stderr8
-rw-r--r--testsuite/tests/parser/should_compile/T9723a.stderr2
-rw-r--r--testsuite/tests/parser/should_compile/T9723b.stderr2
-rw-r--r--testsuite/tests/parser/should_compile/read014.stderr2
-rw-r--r--testsuite/tests/parser/should_compile/read043.stderr2
-rw-r--r--testsuite/tests/parser/should_compile/read044.stderr2
-rw-r--r--testsuite/tests/parser/should_compile/read064.stderr2
-rw-r--r--testsuite/tests/parser/should_compile/read066.stderr2
16 files changed, 33 insertions, 34 deletions
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