[commit: packages/haskeline] master: Fixing a copy-pasting artifact. (67488a5)

git at git.haskell.org git at git.haskell.org
Tue Dec 13 19:21:46 UTC 2016


Repository : ssh://git@git.haskell.org/haskeline

On branch  : master
Link       : http://git.haskell.org/packages/haskeline.git/commitdiff/67488a531839db94c7485140f3c1f106b29cd66a

>---------------------------------------------------------------

commit 67488a531839db94c7485140f3c1f106b29cd66a
Author: Bakhtiyar Neyman <b.neymanov at gmail.com>
Date:   Mon Mar 7 01:27:20 2016 -0800

    Fixing a copy-pasting artifact.


>---------------------------------------------------------------

67488a531839db94c7485140f3c1f106b29cd66a
 System/Console/Haskeline/Term.hs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/System/Console/Haskeline/Term.hs b/System/Console/Haskeline/Term.hs
index 5186a12..dfb9ad2 100644
--- a/System/Console/Haskeline/Term.hs
+++ b/System/Console/Haskeline/Term.hs
@@ -59,9 +59,8 @@ flushEventQueue print' eventChan = yield >> loopUntilFlushed
                   case event of
                       ExternalPrint str -> do
                           print' (str ++ "\n") >> loopUntilFlushed
-                      ErrorEvent e -> throwIO e
                       -- We don't want to raise exceptions when doing cleanup.
-                      _ -> do loopUntilFlushed
+                      _ -> loopUntilFlushed
 
 -- | Operations needed for file-style interaction.
 --



More information about the ghc-commits mailing list