Tue Sep  8 07:09:06 PDT 2009  Simon Marlow <[email protected]>
  * Add -package-id, improve package shadowing behaviour and error messages
  Ignore-this: 7180370e7ad19a6d632e8e3c9732267c
  A few changes bundled together here:
  
   - Add -package-id flag, like -package but takes an
     InstalledPackageId as an argument (mainly for Cabal)
     (docs to follow)
  
   - Fix the shadowing behaviour: if we end up with
     two packages with the same name/version that came from
     different package databases, then one will shadow the
     other.  This may mean we have to disable other packages
     that depended on the now-shadowed package.  Lots of
     refactoring to ensure that we can get reasonable diagnostics when
     this happens
  
  <command line>: cannot satisfy -package shadowdep: 
      shadowdep-1-XXX is unusable due to missing or recursive dependencies:
        shadow-1-XXX
      (use -v for more information)

    M ./compiler/main/DynFlags.hs -3 +6
    M ./compiler/main/Packages.lhs -86 +188
    M ./ghc/InteractiveUI.hs +1

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090908140906-12142-2c4ebb54d4212ab00aac02a5587718f774e02752.gz

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

Reply via email to