[commit: ghc] master: Export getHscEnv from HscMain (d14e5bf)

git at git.haskell.org git at git.haskell.org
Tue Dec 3 16:51:21 UTC 2013


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

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

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

commit d14e5bf387860d338b3b693453ebe4126a4b2765
Author: Edsko de Vries <edsko at well-typed.com>
Date:   Sun Dec 1 13:55:07 2013 +0000

    Export getHscEnv from HscMain


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

d14e5bf387860d338b3b693453ebe4126a4b2765
 compiler/main/HscMain.hs |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/compiler/main/HscMain.hs b/compiler/main/HscMain.hs
index a2d87a5..65dcc9d 100644
--- a/compiler/main/HscMain.hs
+++ b/compiler/main/HscMain.hs
@@ -73,7 +73,10 @@ module HscMain
     -- * Low-level exports for hooks
     , hscCompileCoreExpr'
 #endif
+      -- We want to make sure that we export enough to be able to redefine
+      -- hscFileFrontEnd in client code
     , hscParse', hscSimplify', hscDesugar', tcRnModule'
+    , getHscEnv
     , hscSimpleIface', hscNormalIface'
     , oneShotMsg
     , hscFileFrontEnd, genericHscFrontend, dumpIfaceStats



More information about the ghc-commits mailing list