diff options
author | Bartosz Nitka <niteria@gmail.com> | 2016-06-02 06:18:03 -0700 |
---|---|---|
committer | Bartosz Nitka <niteria@gmail.com> | 2016-06-02 06:18:58 -0700 |
commit | 99ace837a364a5faa207280576c6ffbda4fe262a (patch) | |
tree | 490ebc260d0922d94732a609bfc0ed5a40e5df03 | |
parent | f2b3be031075156cf128aba127bdddb84f8b2eb8 (diff) | |
download | haskell-99ace837a364a5faa207280576c6ffbda4fe262a.tar.gz |
Kill nameSetElems in getInfo
nameSetAll is more precise here
-rw-r--r-- | compiler/main/InteractiveEval.hs | 2 |
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 |