summaryrefslogtreecommitdiff
path: root/compiler/ghci/Debugger.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2011-06-11 14:19:44 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2011-06-11 14:19:44 +0100
commit6f60f1f541cafdb3bfdd71d48eb9dd7f0a708bda (patch)
tree92c94c5297fb8cd1ab7292081f68dd659d489cba /compiler/ghci/Debugger.hs
parent8fb9d66966e99beea793b695edef596ac8d5aea5 (diff)
downloadhaskell-6f60f1f541cafdb3bfdd71d48eb9dd7f0a708bda.tar.gz
Fix tracking of what RdrNames are used (fixes Trac #5211)
The issue here was: what import declaration brings into scope the 'op here import qualified Foo( op ) import Bar( C(op) ) instance C Int where op = ... Well, the import of Bar, obviously. But what if the import Bar had been import Bar( C ) Then the instance is still supposed to work, getting op from the Foo.op imported from Foo. (I'm assuming its the same op, of course.)
Diffstat (limited to 'compiler/ghci/Debugger.hs')
-rw-r--r--compiler/ghci/Debugger.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/ghci/Debugger.hs b/compiler/ghci/Debugger.hs
index 141a513f45..55ac4c0b18 100644
--- a/compiler/ghci/Debugger.hs
+++ b/compiler/ghci/Debugger.hs
@@ -24,7 +24,6 @@ import VarSet
import UniqSupply
import TcType
import GHC
-import InteractiveEval
import Outputable
import PprTyThing
import MonadUtils