simonpj 2004/10/20 06:34:31 PDT
Modified files:
ghc/compiler/deSugar Desugar.lhs
ghc/compiler/iface LoadIface.lhs MkIface.lhs
ghc/compiler/rename RnNames.lhs RnSource.lhs
ghc/compiler/typecheck TcRnDriver.lhs
Log:
---------------------------------
Fix a bug in usage recording
---------------------------------
As a result of the new stuff on hi-boot-file consistency checking, I
accidentally caused Foo.hi to record a usage line for module Foo, and
this in turn caused rather nasty bad things to happen. In particular,
there were occasional crashes of form
ghc-6.3: panic! (the `impossible' happened, GHC version 6.3.20041017):
forkM Constructor Var.TcTyVar{d r1B9}
At least I think that's why the crash happened.
Anyway, it was certainly a bug, and this commit fixes it. The main
payload of this fix is in Desugar.lhs; the rest is comments and
tidying.
Revision Changes Path
1.77 +15 -9 fptools/ghc/compiler/deSugar/Desugar.lhs
1.19 +1 -1 fptools/ghc/compiler/iface/LoadIface.lhs
1.19 +14 -14 fptools/ghc/compiler/iface/MkIface.lhs
1.177 +6 -3 fptools/ghc/compiler/rename/RnNames.lhs
1.169 +5 -0 fptools/ghc/compiler/rename/RnSource.lhs
1.83 +2 -0 fptools/ghc/compiler/typecheck/TcRnDriver.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc