summaryrefslogtreecommitdiff
path: root/compiler/main/InteractiveEval.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-11-07 11:50:36 -0500
committerBen Gamari <ben@smart-cactus.org>2017-11-07 13:13:16 -0500
commit93b4820607aed1ab633e836084c5e39f5e631f87 (patch)
treecd1b51c1ff088e9ff25747875bd12e963ae1ec40 /compiler/main/InteractiveEval.hs
parentc1bc923b08860101d0b74795ff42f6022c7fec0b (diff)
downloadhaskell-93b4820607aed1ab633e836084c5e39f5e631f87.tar.gz
Revert "WIP on combining Step 1 and 3 of Trees That Grow"
This reverts commit 0ff152c9e633accca48815e26e59d1af1fe44ceb. Sadly this broke when bootstrapping with 8.0.2 due to #14396. Reverts haddock submodule.
Diffstat (limited to 'compiler/main/InteractiveEval.hs')
-rw-r--r--compiler/main/InteractiveEval.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/main/InteractiveEval.hs b/compiler/main/InteractiveEval.hs
index 72092d737e..e63d6e3a95 100644
--- a/compiler/main/InteractiveEval.hs
+++ b/compiler/main/InteractiveEval.hs
@@ -871,8 +871,7 @@ compileParsedExprRemote expr@(L loc _) = withSession $ \hsc_env -> do
let expr_fs = fsLit "_compileParsedExpr"
expr_name = mkInternalName (getUnique expr_fs) (mkTyVarOccFS expr_fs) loc
let_stmt = L loc . LetStmt . L loc . HsValBinds $
- ValBindsIn noExt
- (unitBag $ mkHsVarBind loc (getRdrName expr_name) expr) []
+ ValBindsIn (unitBag $ mkHsVarBind loc (getRdrName expr_name) expr) []
Just ([_id], hvals_io, fix_env) <- liftIO $ hscParsedStmt hsc_env let_stmt
updateFixityEnv fix_env