Mon Sep 10 03:38:30 PDT 2007  Simon Marlow <[EMAIL PROTECTED]>
  * FIX #903: mkWWcpr: not a product
  This fixes the long-standing bug that prevents some code with
  mutally-recursive modules from being compiled with --make and -O,
  including GHC itself.  See the comments for details.
  
  There are some additional cleanups that were forced/enabled by this
  patch: I removed importedSrcLoc/importedSrcSpan: it wasn't adding any
  useful information, since a Name already contains its defining Module.
  In fact when re-typechecking an interface file we were wrongly
  replacing the interesting SrcSpans in the Names with boring
  importedSrcSpans, which meant that location information could degrade
  after reloading modules.  Also, recreating all these Names was a waste
  of space/time.

    M ./compiler/basicTypes/Name.lhs -1 +8
    M ./compiler/basicTypes/SrcLoc.lhs -30 +3
    M ./compiler/iface/LoadIface.lhs -11 +2
    M ./compiler/main/GHC.hs -19 +102
    M ./compiler/main/PprTyThing.hs -4 +5
    M ./compiler/types/FamInstEnv.lhs -1 +1
    M ./compiler/types/InstEnv.lhs -1 +1

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to