simonpj 2004/03/11 02:52:58 PST
Modified files:
ghc/compiler/typecheck TcClassDcl.lhs
Log:
Fix a long-standing bug; the type checker should recover from a failure
in the default method of a class declaration, else the default method
doesn't get added to the type envt, and we get an opaque
tcLookupGlobal: `FunnyError.$dmb' is not in scope
message.
Revision Changes Path
1.140 +7 -1 fptools/ghc/compiler/typecheck/TcClassDcl.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc