patch applied (ghc): Refactor RnEnv to fix Trac #2901

Simon Peyton Jones simonpj at microsoft.com
Tue Dec 30 10:10:28 EST 2008


Tue Dec 30 07:04:45 PST 2008  simonpj at microsoft.com
  * Refactor RnEnv to fix Trac #2901
  
  This tidy-up fixes Trac #2901, and eliminates 20 lines of code.
  Mainly this is done by making a version of lookupGlobalOccRn that
  returns (Maybe Name); this replaces lookupSrcOccRn but does more.
  

    M ./compiler/rename/RnEnv.lhs -56 +35
    M ./compiler/typecheck/TcInstDcls.lhs -2 +2
    M ./compiler/typecheck/TcRnDriver.lhs -1 +1
    M ./compiler/typecheck/TcSplice.lhs -5 +1

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081230150445-1287e-4207bdb450fbbe11d199b8fcfa59d1f01a4ded33.gz



More information about the Cvs-ghc mailing list