[commit: testsuite] master: Accept output for mc22 (a7acfb5)
Ian Lynagh
igloo at earth.li
Tue May 22 04:00:04 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/a7acfb5fce09f59aa81eab0fc3cc3e53f04876e7
>---------------------------------------------------------------
commit a7acfb5fce09f59aa81eab0fc3cc3e53f04876e7
Author: Ian Lynagh <igloo at earth.li>
Date: Tue May 22 00:27:28 2012 +0100
Accept output for mc22
I'm not entirely sure why it changed, but I think it's OK.
>---------------------------------------------------------------
tests/typecheck/should_fail/mc22.stderr | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tests/typecheck/should_fail/mc22.stderr b/tests/typecheck/should_fail/mc22.stderr
index e4247ab..d14684a 100644
--- a/tests/typecheck/should_fail/mc22.stderr
+++ b/tests/typecheck/should_fail/mc22.stderr
@@ -1,6 +1,11 @@
mc22.hs:8:11:
No instance for (Num (t0 [Char])) arising from a use of `+'
+ The type variable `t0' is ambiguous
+ Possible fix: add a type signature that fixes these type variable(s)
+ Note: there is a potential instance available:
+ instance Integral a => Num (GHC.Real.Ratio a)
+ -- Defined in `GHC.Real'
Possible fix: add an instance declaration for (Num (t0 [Char]))
In the expression: x + 1
In the expression:
More information about the Cvs-ghc
mailing list