simonpj 2003/03/27 00:25:32 PST
Modified files:
ghc/compiler/typecheck TcDefaults.lhs
Log:
-------------------------------------
Fix a wibble in default-type setting for TH
-------------------------------------
When a bunch of declarations contains no 'default' declaration,
we were setting 'defaultDefaultTys' as appropriate default types.
This isn't right for Template Haskell, which may have more than
one bunch of top-level decls. (The bunches are separated by
top-level declaration splices.)
Instead, if there is no 'default' declaration we should do nothing.
Revision Changes Path
1.30 +13 -3 fptools/ghc/compiler/typecheck/TcDefaults.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc