summaryrefslogtreecommitdiff
path: root/compiler/main/GHC.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-03-13 12:13:49 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2014-03-13 12:13:49 +0000
commit60bbc0af79ddfe977d93e271b57c2bc25d3fcde6 (patch)
tree1fd83097d532f2600fb6f5738220c69a2a43d3bc /compiler/main/GHC.hs
parentb34068144ec3d7bfe4279b16ad16d54dd46f1c5a (diff)
downloadhaskell-60bbc0af79ddfe977d93e271b57c2bc25d3fcde6.tar.gz
Export runTcInteractive from TcRnDriver, and from GHC (Trac #8878)
Diffstat (limited to 'compiler/main/GHC.hs')
-rw-r--r--compiler/main/GHC.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/main/GHC.hs b/compiler/main/GHC.hs
index 553d1a935f..5fe384e9a6 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