[commit: ghc] master: Kill nameSetElems in getInfo (99ace83)

git at git.haskell.org git at git.haskell.org
Thu Jun 2 13:15:25 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/99ace837a364a5faa207280576c6ffbda4fe262a/ghc

>---------------------------------------------------------------

commit 99ace837a364a5faa207280576c6ffbda4fe262a
Author: Bartosz Nitka <niteria at gmail.com>
Date:   Thu Jun 2 06:18:03 2016 -0700

    Kill nameSetElems in getInfo
    
    nameSetAll is more precise here


>---------------------------------------------------------------

99ace837a364a5faa207280576c6ffbda4fe262a
 compiler/main/InteractiveEval.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/main/InteractiveEval.hs b/compiler/main/InteractiveEval.hs
index e564288..6ca5d24 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



More information about the ghc-commits mailing list