[project @ 2004-03-11 10:52:55 by simonpj]
authorsimonpj <unknown>
Thu, 11 Mar 2004 10:52:55 +0000 (10:52 +0000)
committersimonpj <unknown>
Thu, 11 Mar 2004 10:52:55 +0000 (10:52 +0000)
commit56edf70abe6a94685f7398a90ee73dd41dfabcc0
tree2e59dbadab0733011346bd403f6c4896437a8c49
parent798614f1e492463c5cbe29e5ff19d446885c0d54
[project @ 2004-03-11 10:52:55 by simonpj]
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.
ghc/compiler/typecheck/TcClassDcl.lhs