summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedlists
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-05-13 12:42:58 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2014-08-28 11:14:12 +0100
commitbaa3c9a306df0432f2697009585c66ff096d197e (patch)
tree64e3d55c5326a322cdec68c7306bba6f619d16a6 /testsuite/tests/overloadedlists
parent99178c1f904166911483c692f9438ff4992ec2dc (diff)
downloadhaskell-baa3c9a306df0432f2697009585c66ff096d197e.tar.gz
Wibbles to "...plus N others" error message about instances in scope
I this this arises from my de-orphaning the Enum Word instance
Diffstat (limited to 'testsuite/tests/overloadedlists')
-rw-r--r--testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr10
1 files changed, 4 insertions, 6 deletions
diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr
index cfa2b94a55..c5338bc43b 100644
--- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr
+++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr
@@ -5,9 +5,8 @@ overloadedlistsfail01.hs:5:8:
Note: there are several potential instances:
instance Show Double -- Defined in ‘GHC.Float’
instance Show Float -- Defined in ‘GHC.Float’
- instance (Integral a, Show a) => Show (GHC.Real.Ratio a)
- -- Defined in ‘GHC.Real’
- ...plus 23 others
+ instance Show () -- Defined in ‘GHC.Show’
+ ...plus 22 others
In the expression: print [1]
In an equation for ‘main’: main = print [1]
@@ -28,9 +27,8 @@ overloadedlistsfail01.hs:5:15:
Note: there are several potential instances:
instance Num Double -- Defined in ‘GHC.Float’
instance Num Float -- Defined in ‘GHC.Float’
- instance Integral a => Num (GHC.Real.Ratio a)
- -- Defined in ‘GHC.Real’
- ...plus three others
+ instance Num Int -- Defined in ‘GHC.Num’
+ ...plus two others
In the expression: 1
In the first argument of ‘print’, namely ‘[1]’
In the expression: print [1]