[project @ 1999-05-18 15:17:58 by simonpj]
authorsimonpj <unknown>
Tue, 18 May 1999 15:17:58 +0000 (15:17 +0000)
committersimonpj <unknown>
Tue, 18 May 1999 15:17:58 +0000 (15:17 +0000)
SMALL TYPECHECKER FIXES

[The real commit preceded this, but had the stupid message "RULES-NOTES"
 because I used "cvs commit -m" instead of "cvs commit -F"]

1. Allow type synonyms with kind other than '*'

2. Check that the default methods declared in a class decl are
   from that class decl

ghc/compiler/typecheck/TcInstDcls.lhs

index 3333d42..2f14a7b 100644 (file)
@@ -4,10 +4,7 @@
 \section[TcInstDecls]{Typechecking instance declarations}
 
 \begin{code}
-module TcInstDcls (
-       tcInstDecls1,
-       tcInstDecls2
-    ) where
+module TcInstDcls ( tcInstDecls1, tcInstDecls2 ) where
 
 #include "HsVersions.h"