summaryrefslogtreecommitdiff
path: root/compiler/GHC/Plugins.hs
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-06-15 21:44:08 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-07-27 04:55:12 +0000
commit3767fc823bf2827bab5a972b3d05017bc65e25b3 (patch)
treea6342bbb6982fc0133557bb6c633a4ade2e15e19 /compiler/GHC/Plugins.hs
parentb154ec781a8f7cf84aa2e415a09e222c60bcd285 (diff)
downloadhaskell-wip/rip-out-interactive-context.tar.gz
WIP: remove `InteractiveContext` from `HscEnv`wip/rip-out-interactive-context
GHC the library typechecks!
Diffstat (limited to 'compiler/GHC/Plugins.hs')
-rw-r--r--compiler/GHC/Plugins.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/Plugins.hs b/compiler/GHC/Plugins.hs
index 9eb540dc9e..8a8599172e 100644
--- a/compiler/GHC/Plugins.hs
+++ b/compiler/GHC/Plugins.hs
@@ -163,7 +163,8 @@ import qualified Language.Haskell.TH as TH
GHC.Plugins.Monad does not depend on GHC.Tc.Utils.Env -}
instance MonadThings CoreM where
lookupThing name = do { hsc_env <- getHscEnv
- ; liftIO $ lookupGlobal hsc_env name }
+ -- TODO interactive context?
+ ; liftIO $ lookupGlobal hsc_env Nothing name }
{-
************************************************************************