[project @ 2002-09-27 08:16:24 by simonpj]
authorsimonpj <unknown>
Fri, 27 Sep 2002 08:16:25 +0000 (08:16 +0000)
committersimonpj <unknown>
Fri, 27 Sep 2002 08:16:25 +0000 (08:16 +0000)
commitb7cc3d012a98cc49abb3441e6637d5148f57f1d1
tree3c5a6d40028b8cafbd454a1adfadd62bfdcaa3c0
parent67491efa4287838b83dd60175483f324917dfd6c
[project @ 2002-09-27 08:16:24 by simonpj]
--------------------------------
     Do type-checking of external-core input
--------------------------------

When we read in an External Core file, we should really type-check it.
We weren't, because we treated it as if it were trusted, interface-file
material.

This commit fixes the problem, albeit in a bit of a hacky way.  The
typechecking is done by Lint, which does not give as friendly error
messages as does the normal typechecker.  But it's much better than nothing.

I also removed the entirely-unused 'warnings' from the Lint monad.
ghc/compiler/coreSyn/CoreLint.lhs
ghc/compiler/typecheck/TcIfaceSig.lhs