summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedlists
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2017-09-02 21:52:21 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2017-09-04 22:17:40 +0200
commitcb3363e921fa58f9ad462d4bf5f4c819f910bf2a (patch)
tree4cc619bc037c0784894e619fe6a2f7399dd80419 /testsuite/tests/overloadedlists
parent0ec4376902ee88a77a9f2ac9f3c03a4432455320 (diff)
downloadhaskell-cb3363e921fa58f9ad462d4bf5f4c819f910bf2a.tar.gz
Move NonEmpty definition into GHC.Base
This is a preparatory refactoring for Semigroup=>Monoid as it prevents a messy .hs-boot file which would interact inconveniently with the buildsystem...
Diffstat (limited to 'testsuite/tests/overloadedlists')
-rw-r--r--testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr
index 0faaaec792..1c5ab2ee61 100644
--- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr
+++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr
@@ -8,7 +8,7 @@ overloadedlistsfail01.hs:5:8: error:
instance Show Integer -- Defined in ‘GHC.Show’
instance Show a => Show (Maybe a) -- Defined in ‘GHC.Show’
...plus 22 others
- ...plus six instances involving out-of-scope types
+ ...plus 7 instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the expression: print [1]
In an equation for ‘main’: main = print [1]
@@ -19,7 +19,7 @@ overloadedlistsfail01.hs:5:14: error:
Probable fix: use a type annotation to specify what ‘a0’ should be.
These potential instances exist:
instance GHC.Exts.IsList [a] -- Defined in ‘GHC.Exts’
- ...plus two instances involving out-of-scope types
+ ...plus three instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the first argument of ‘print’, namely ‘[1]’
In the expression: print [1]