summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/T8639_api.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/T8639_api.hs')
-rw-r--r--testsuite/tests/ghc-api/T8639_api.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/ghc-api/T8639_api.hs b/testsuite/tests/ghc-api/T8639_api.hs
index 2ddfb4919e..36458b8eca 100644
--- a/testsuite/tests/ghc-api/T8639_api.hs
+++ b/testsuite/tests/ghc-api/T8639_api.hs
@@ -19,8 +19,8 @@ main
-- With the next line, you get an "Not in scope" exception.
-- If you comment out this runStmt, it runs without error and prints the type.
- runStmt "putStrLn (show 3)" RunToCompletion
- runStmt "hFlush stdout" RunToCompletion
+ execStmt "putStrLn (show 3)" execOptions
+ execStmt "hFlush stdout" execOptions
ty <- exprType "T8639_api_a.it"
liftIO (putStrLn (showPpr flags ty))