[project @ 2005-08-18 10:02:54 by simonpj]
authorsimonpj <unknown>
Thu, 18 Aug 2005 10:02:54 +0000 (10:02 +0000)
committersimonpj <unknown>
Thu, 18 Aug 2005 10:02:54 +0000 (10:02 +0000)
commit67e7de3d6b111d6f61134b591f486964411d146d
tree2678880285f22c7414264a96f31bcc6d9356dcb2
parentfc0c93a9e90261baf9590b6208f8a51b2d413d63
[project @ 2005-08-18 10:02:54 by simonpj]
Make the forkM failure fail more tidily.  Interface-file inconsistencies
give rise to failures in the IfM monad.  An error message is printed, but
up to now we've also said "The impossible happened, must be a GHC bug".
That's not true, though, it could just be messed up interface files.

So this commit still makes the compiler halt, but in a tidier, less
self-accusatory way.

Still to come: when original names in interface files mention the
package Id too, the error will become clearer still.

MERGE to STABLE
ghc/compiler/iface/LoadIface.lhs
ghc/compiler/typecheck/TcRnMonad.lhs