[project @ 2004-10-01 10:08:49 by simonpj]
authorsimonpj <unknown>
Fri, 1 Oct 2004 10:09:36 +0000 (10:09 +0000)
committersimonpj <unknown>
Fri, 1 Oct 2004 10:09:36 +0000 (10:09 +0000)
commitda95f4a039f7bc12b625338353df8399dec41c5e
treebd3cacd44d63697567a9022f56147834ec753e29
parent1276aa3fa5219898ddd1764579ade0c28995973b
[project @ 2004-10-01 10:08:49 by simonpj]
-----------------------------------
Do simple checking on hi-boot files
-----------------------------------

This commit arranges that, when compiling A.hs, we compare
the types we infer with those in A.hi-boot, if the latter
exists.  (Or, more accurately, if anything A.hs imports in
turn imports A.hi-boot, directly or indirectly.)

This has been on the to-do list forever.
15 files changed:
ghc/compiler/iface/LoadIface.lhs
ghc/compiler/main/HscTypes.lhs
ghc/compiler/rename/RnNames.lhs
ghc/compiler/typecheck/TcEnv.lhs
ghc/compiler/typecheck/TcExpr.lhs
ghc/compiler/typecheck/TcHsSyn.lhs
ghc/compiler/typecheck/TcMType.lhs
ghc/compiler/typecheck/TcPat.lhs
ghc/compiler/typecheck/TcRnDriver.lhs
ghc/compiler/typecheck/TcRnTypes.lhs
ghc/compiler/typecheck/TcTyDecls.lhs
ghc/compiler/typecheck/TcType.lhs
ghc/compiler/typecheck/TcUnify.lhs
ghc/compiler/types/Type.lhs
ghc/compiler/types/TypeRep.lhs