Tue Jun 15 00:06:26 PDT 2010 [email protected]
* Fix Trac #4127: build GlobalRdrEnv in GHCi correctly
GHCi was building its GlobalRdrEnv wrongly, so that the
gre_par field was bogus. That in turn fooled the renamer.
The fix is easy: use the right function! Namely, call
RnNames.gresFromAvail rather than availsToNameSet.
M ./compiler/main/GHC.hs -1 +1
M ./compiler/main/InteractiveEval.hs -18 +14
M ./compiler/rename/RnNames.lhs -1 +2
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100615070626-1287e-2f2eb9a8d8d35b74c9b3f406f6a9360f460b59bf.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc