From ae4bf23ecc1552e18623670b12eba6ba81afa711 Mon Sep 17 00:00:00 2001 From: pepe Date: Sat, 11 Oct 2008 11:47:20 +0000 Subject: [PATCH] Fix a typo which was causing ghci to quit on commands errors --- compiler/ghci/InteractiveUI.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ghci/InteractiveUI.hs b/compiler/ghci/InteractiveUI.hs index b5d66a1..3b5fde9 100644 --- a/compiler/ghci/InteractiveUI.hs +++ b/compiler/ghci/InteractiveUI.hs @@ -666,7 +666,7 @@ runCommands' eh getCmd = do where printErrorAndKeepGoing err = do GHC.printExceptionAndWarnings err - return True + return False noSpace q = q >>= maybe (return Nothing) (\c->case removeSpaces c of -- 1.7.10.4