Kill varEnvElts in tcPragExpr
authorBartosz Nitka <niteria@gmail.com>
Wed, 18 May 2016 23:47:29 +0000 (16:47 -0700)
committerBartosz Nitka <niteria@gmail.com>
Wed, 18 May 2016 23:47:44 +0000 (16:47 -0700)
commit13e40f998e15a626a4212bde0987ddbc98b3f56f
tree866dc1b2bb993af0dc54991de2b66c119885cd07
parent6282bc31808e335cd8386dd20d469bc2457f84de
Kill varEnvElts in tcPragExpr

I had to refactor some things to take VarSet instead of [Var],
but I think it's more precise this way.

Test Plan: ./validate

Reviewers: simonmar, simonpj, austin, bgamari, goldfire

Reviewed By: simonpj

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2227

GHC Trac Issues: #4012
compiler/coreSyn/CoreLint.hs
compiler/iface/IfaceEnv.hs
compiler/iface/TcIface.hs
compiler/typecheck/TcRnMonad.hs
compiler/typecheck/TcRnTypes.hs