summaryrefslogtreecommitdiff
path: root/ghc/InteractiveUI.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-05-06 20:49:58 +0100
committerIan Lynagh <igloo@earth.li>2012-05-06 20:49:58 +0100
commitb26a1b3f5aeeb5a0f8c862d529288c859198d1a6 (patch)
treef573959bb87c788d172157108e616415475a478d /ghc/InteractiveUI.hs
parentfcb19dbdc168b6bf4aefabf01cfe1fa2808f3aac (diff)
downloadhaskell-b26a1b3f5aeeb5a0f8c862d529288c859198d1a6.tar.gz
Build fix
Diffstat (limited to 'ghc/InteractiveUI.hs')
-rw-r--r--ghc/InteractiveUI.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index 225071e2e3..1a80b49639 100644
--- a/ghc/InteractiveUI.hs
+++ b/ghc/InteractiveUI.hs
@@ -186,7 +186,7 @@ keepGoing' a str = a str >> return False
keepGoingPaths :: ([FilePath] -> InputT GHCi ()) -> (String -> InputT GHCi Bool)
keepGoingPaths a str
= do case toArgs str of
- Left err -> hPutStrLn stderr err
+ Left err -> liftIO $ hPutStrLn stderr err
Right args -> a args
return False