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.
Showing with 18 additions and 21 deletions