summaryrefslogtreecommitdiff
path: root/compiler/main/InteractiveEval.hs
diff options
context:
space:
mode:
authorBartosz Nitka <niteria@gmail.com>2016-06-02 06:18:03 -0700
committerBartosz Nitka <niteria@gmail.com>2016-06-02 06:18:58 -0700
commit99ace837a364a5faa207280576c6ffbda4fe262a (patch)
tree490ebc260d0922d94732a609bfc0ed5a40e5df03 /compiler/main/InteractiveEval.hs
parentf2b3be031075156cf128aba127bdddb84f8b2eb8 (diff)
downloadhaskell-99ace837a364a5faa207280576c6ffbda4fe262a.tar.gz
Kill nameSetElems in getInfo
nameSetAll is more precise here
Diffstat (limited to 'compiler/main/InteractiveEval.hs')
-rw-r--r--compiler/main/InteractiveEval.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/InteractiveEval.hs b/compiler/main/InteractiveEval.hs
index e564288d21..6ca5d24351 100644
--- a/compiler/main/InteractiveEval.hs
+++ b/compiler/main/InteractiveEval.hs
@@ -785,7 +785,7 @@ getInfo allInfo name
plausible rdr_env names
-- Dfun involving only names that are in ic_rn_glb_env
= allInfo
- || all ok (nameSetElems names)
+ || nameSetAll ok names
where -- A name is ok if it's in the rdr_env,
-- whether qualified or not
ok n | n == name = True