Fix a typo which was causing ghci to quit on commands errors
authorpepe <mnislaih@gmail.com>
Sat, 11 Oct 2008 11:47:20 +0000 (11:47 +0000)
committerpepe <mnislaih@gmail.com>
Sat, 11 Oct 2008 11:47:20 +0000 (11:47 +0000)
compiler/ghci/InteractiveUI.hs

index b5d66a1..3b5fde9 100644 (file)
@@ -666,7 +666,7 @@ runCommands' eh getCmd = do
   where
     printErrorAndKeepGoing err = do
         GHC.printExceptionAndWarnings err
   where
     printErrorAndKeepGoing err = do
         GHC.printExceptionAndWarnings err
-        return True
+        return False
 
     noSpace q = q >>= maybe (return Nothing)
                             (\c->case removeSpaces c of 
 
     noSpace q = q >>= maybe (return Nothing)
                             (\c->case removeSpaces c of