[commit: ghc] master: Export runTcInteractive from TcRnDriver, and from GHC (Trac #8878) (60bbc0a)
git at git.haskell.org
git at git.haskell.org
Thu Mar 13 12:25:15 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/60bbc0af79ddfe977d93e271b57c2bc25d3fcde6/ghc
>---------------------------------------------------------------
commit 60bbc0af79ddfe977d93e271b57c2bc25d3fcde6
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu Mar 13 12:13:49 2014 +0000
Export runTcInteractive from TcRnDriver, and from GHC (Trac #8878)
>---------------------------------------------------------------
60bbc0af79ddfe977d93e271b57c2bc25d3fcde6
compiler/main/GHC.hs | 2 ++
compiler/typecheck/TcRnDriver.lhs | 1 +
2 files changed, 3 insertions(+)
diff --git a/compiler/main/GHC.hs b/compiler/main/GHC.hs
index 553d1a9..5fe384e 100644
--- a/compiler/main/GHC.hs
+++ b/compiler/main/GHC.hs
@@ -102,6 +102,7 @@ module GHC (
parseName,
RunResult(..),
runStmt, runStmtWithLocation, runDecls, runDeclsWithLocation,
+ runTcInteractive, -- Desired by some clients (Trac #8878)
parseImportDecl, SingleStep(..),
resume,
Resume(resumeStmt, resumeThreadId, resumeBreakInfo, resumeSpan,
@@ -257,6 +258,7 @@ module GHC (
import ByteCodeInstr
import BreakArray
import InteractiveEval
+import TcRnDriver ( runTcInteractive )
#endif
import HscMain
diff --git a/compiler/typecheck/TcRnDriver.lhs b/compiler/typecheck/TcRnDriver.lhs
index dad2c67..90d7151 100644
--- a/compiler/typecheck/TcRnDriver.lhs
+++ b/compiler/typecheck/TcRnDriver.lhs
@@ -13,6 +13,7 @@ module TcRnDriver (
getModuleInterface,
tcRnDeclsi,
isGHCiMonad,
+ runTcInteractive, -- Used by GHC API clients (Trac #8878)
#endif
tcRnLookupName,
tcRnGetInfo,
More information about the ghc-commits
mailing list