Tue Dec 30 07:04:45 PST 2008 [email protected]
* 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
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc