diff options
Diffstat (limited to 'testsuite/tests/deSugar')
34 files changed, 112 insertions, 113 deletions
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 |