[commit: testsuite] master: Improved error report (11493c2)
Simon Peyton Jones
simonpj at microsoft.com
Mon Jul 25 10:35:01 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/11493c2f4de3ee45654019afcb4dc03d9b00edef
>---------------------------------------------------------------
commit 11493c2f4de3ee45654019afcb4dc03d9b00edef
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Sat Jul 23 18:13:15 2011 +0100
Improved error report
>---------------------------------------------------------------
tests/arrows/should_fail/arrowfail001.stderr | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/arrows/should_fail/arrowfail001.stderr b/tests/arrows/should_fail/arrowfail001.stderr
index 91ec965..68ee7cf 100644
--- a/tests/arrows/should_fail/arrowfail001.stderr
+++ b/tests/arrows/should_fail/arrowfail001.stderr
@@ -1,8 +1,7 @@
arrowfail001.hs:16:36:
- Ambiguous type variable `a' in the constraint:
- (Foo a) arising from a use of `foo'
- Probable fix: add a type signature that fixes these type variable(s)
+ No instance for (Foo a)
+ arising from a use of `foo'
In the expression: foo
In the expression: proc x -> case x of { Bar a -> foo -< a }
In an equation for `get':
More information about the Cvs-ghc
mailing list