Thu Nov 1 10:50:22 PDT 2007 [EMAIL PROTECTED]
* Rejig the error messages a bit; fixes a minor bug
The type checker was only reporting the first message if an equality
failed to match. This patch does a bit of refactoring and fixes the
bug, which was in the bogus use of eqInstMisMatch
in tcSimplify.report_no_instances.b
This is really a bug in 6.8 too, so this would be good to merge across
to the 6.8 branch.
M ./compiler/typecheck/Inst.lhs -5 +3
M ./compiler/typecheck/TcSimplify.lhs -6 +8
M ./compiler/typecheck/TcTyFuns.lhs -38 +43
M ./compiler/typecheck/TcUnify.lhs -7 +3
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc