[commit: testsuite] master: Wibble after #8218 (ffa99f4)
git at git.haskell.org
git at git.haskell.org
Mon Sep 23 18:00:27 CEST 2013
Repository : ssh://git@git.haskell.org/testsuite
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/ffa99f42e54b21ac09442b3770e3b4c346cd5c70/testsuite
>---------------------------------------------------------------
commit ffa99f42e54b21ac09442b3770e3b4c346cd5c70
Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
Date: Mon Sep 23 17:57:31 2013 +0200
Wibble after #8218
The new hidden line in output of tcfail181 is
instance Monad m => Monad (Control.Applicative.WrappedMonad m).
It might seem weird that Control.Applicative is suggested when
not imported, but it's almost certainly a side-effect of AMP and
it's harmless.
>---------------------------------------------------------------
ffa99f42e54b21ac09442b3770e3b4c346cd5c70
tests/typecheck/should_fail/tcfail181.stderr | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/typecheck/should_fail/tcfail181.stderr b/tests/typecheck/should_fail/tcfail181.stderr
index 33b75ff..5f272da 100644
--- a/tests/typecheck/should_fail/tcfail181.stderr
+++ b/tests/typecheck/should_fail/tcfail181.stderr
@@ -10,6 +10,7 @@ tcfail181.hs:17:9:
instance Monad ((->) r) -- Defined in ‛GHC.Base’
instance Monad IO -- Defined in ‛GHC.Base’
instance Monad [] -- Defined in ‛GHC.Base’
+ ...plus one other
In the expression: foo
In the expression: foo {bar = return True}
In an equation for ‛wog’: wog x = foo {bar = return True}
More information about the ghc-commits
mailing list