[project @ 2003-03-27 08:25:31 by simonpj]
authorsimonpj <unknown>
Thu, 27 Mar 2003 08:25:31 +0000 (08:25 +0000)
committersimonpj <unknown>
Thu, 27 Mar 2003 08:25:31 +0000 (08:25 +0000)
commitb52d5ab796622dbfba963a8b591e6abb76a0f5fb
treee563cc8515e86aa148ed97f3e1b6ce897a3bcb33
parent3ede7cd49ee06a70dd7e314a72856e71128aace0
[project @ 2003-03-27 08:25:31 by simonpj]
-------------------------------------
      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.
ghc/compiler/typecheck/TcDefaults.lhs