From 965da058985d1501d92377fdd8b54d53cc6b5e02 Mon Sep 17 00:00:00 2001 From: sewardj Date: Wed, 13 Dec 2000 12:18:40 +0000 Subject: [PATCH] [project @ 2000-12-13 12:18:40 by sewardj] BarfKind --> GhcException --- ghc/compiler/ghci/InteractiveUI.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/ghci/InteractiveUI.hs b/ghc/compiler/ghci/InteractiveUI.hs index 52559b7..45a3e18 100644 --- a/ghc/compiler/ghci/InteractiveUI.hs +++ b/ghc/compiler/ghci/InteractiveUI.hs @@ -1,5 +1,5 @@ ----------------------------------------------------------------------------- --- $Id: InteractiveUI.hs,v 1.22 2000/12/12 10:11:21 sewardj Exp $ +-- $Id: InteractiveUI.hs,v 1.23 2000/12/13 12:18:40 sewardj Exp $ -- -- GHC Interactive User Interface -- @@ -21,6 +21,7 @@ import Module import Outputable import Util import TypeRep {- instance Outputable Type; do not delete -} +import Panic ( GhcException(..) ) import Exception #ifndef NO_READLINE @@ -155,7 +156,7 @@ runCommand c = io ( putStrLn ("Phase " ++ phase ++ " failed (code " ++ show code ++ ")")) Interrupted -> io (putStrLn "Interrupted.") - _ -> io (putStrLn (show (dyn :: BarfKind))) + _ -> io (putStrLn (show (dyn :: GhcException))) >> return False ) $ doCommand c -- 1.7.10.4