Fix Trac #1061: refactor handling of default methods
authorsimonpj@microsoft.com <unknown>
Wed, 21 May 2008 13:00:28 +0000 (13:00 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 21 May 2008 13:00:28 +0000 (13:00 +0000)
In an instance declaration, omitted methods get a definition that
uses the default method.  We used to generate source code and feed it
to the type checker.  But tc199 shows that is a bad idea -- see
Note [Default methods in instances] in TcClassDcl.

So this patch refactors to insteadl all us to generate the
*post* typechecked code directly for default methods.


No differences found