patch applied (ghc): Put full ImportDecls in ModSummary instead of just ModuleNames

Simon Marlow simonmarhaskell at gmail.com
Tue Dec 2 09:47:25 EST 2008


Tue Dec  2 05:37:36 PST 2008  Simon Marlow <marlowsd at gmail.com>
  * Put full ImportDecls in ModSummary instead of just ModuleNames
  ... and use it to make ghc -M generate correct cross-package
  dependencies when using package-qualified imports (needed for the new
  build system).  Since we're already parsing the ImportDecl from the
  source file, there seems no good reason not to keep it in the
  ModSummary, it might be useful for other things too.

    M ./compiler/iface/MkIface.lhs -2 +3
    M ./compiler/main/DriverMkDepend.hs -15 +17
    M ./compiler/main/GHC.hs -10 +19
    M ./compiler/main/HeaderInfo.hs -18 +6
    M ./compiler/main/HscTypes.lhs -2 +3

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081202133736-12142-d284436e944aea5de1d881243bd01af543a27e78.gz



More information about the Cvs-ghc mailing list