diff options
Diffstat (limited to 'testsuite/tests/warnings/should_compile/PluralS.stderr')
-rw-r--r-- | testsuite/tests/warnings/should_compile/PluralS.stderr | 24 |
1 files changed, 12 insertions, 12 deletions
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 |