[commit: testsuite] master: Ooops, I messed up the stderr file for T5287; this fixes it (466e95e)
Simon Peyton Jones
simonpj at microsoft.com
Mon Jul 25 10:35:03 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/466e95e7c0b16410af3113d3e60810abd61732f5
>---------------------------------------------------------------
commit 466e95e7c0b16410af3113d3e60810abd61732f5
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Sat Jul 23 18:14:00 2011 +0100
Ooops, I messed up the stderr file for T5287; this fixes it
>---------------------------------------------------------------
tests/deriving/should_fail/T5287.stderr | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/tests/deriving/should_fail/T5287.stderr b/tests/deriving/should_fail/T5287.stderr
index 608e7aa..4067522 100644
--- a/tests/deriving/should_fail/T5287.stderr
+++ b/tests/deriving/should_fail/T5287.stderr
@@ -1,11 +1,7 @@
-ghc-stage2.exe: panic! (the 'impossible' happened)
- (GHC version 7.3.20110721 for i386-unknown-mingw32):
- solveDerivEqns: probable loop
- (T5287.hs:6:29-32 main:Bug.$fReadE{v rhW} [e{tv aaR} [tv]] base:GHC.Read.Read{tc 2d} [main:Bug.E{tc raM}
- e{tv aaR} [tv]] = [base:GHC.Read.Read{tc 2d}
- (main:Bug.D{tc raO}
- e{tv aaR} [tv])])
- [[main:Bug.A{tc raQ} e{tv aaR} [tv] oops{tv alO} [tcs]]]
-
-Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
+T5287.hs:6:29:
+ Ambiguous type variable `oops' in the constraint:
+ (A e oops)
+ arising from the 'deriving' clause of a data type declaration
+ Probable fix: use a 'standalone deriving' declaration instead
+ When deriving the instance for (Read (E e))
More information about the Cvs-ghc
mailing list