diff options
Diffstat (limited to 'testsuite/tests/warnings/should_compile/PluralS.stderr')
-rw-r--r-- | testsuite/tests/warnings/should_compile/PluralS.stderr | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/tests/warnings/should_compile/PluralS.stderr b/testsuite/tests/warnings/should_compile/PluralS.stderr index 4cffc15a1f..b1ceab6762 100644 --- a/testsuite/tests/warnings/should_compile/PluralS.stderr +++ b/testsuite/tests/warnings/should_compile/PluralS.stderr @@ -6,12 +6,11 @@ PluralS.hs:15:17: warning: [-Wtype-defaults (in -Wall)] In the expression: 123 `seq` () In an equation for ‘defaultingNum’: defaultingNum = 123 `seq` () -PluralS.hs:17:29: warning: [-Wtype-defaults (in -Wall)] +PluralS.hs:17:24: warning: [-Wtype-defaults (in -Wall)] • Defaulting the following constraints to type ‘Integer’ - (Num a0) arising from the literal ‘123’ at PluralS.hs:17:29-31 (Show a0) arising from a use of ‘show’ at PluralS.hs:17:24-31 - • In the first argument of ‘show’, namely ‘123’ - In the expression: show 123 + (Num a0) arising from the literal ‘123’ at PluralS.hs:17:29-31 + • In the expression: show 123 In an equation for ‘defaultingNumAndShow’: defaultingNumAndShow = show 123 |