X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fghci%2FInteractiveUI.hs;h=7e82ceacbcb8a097ef8dca784226dd890324632b;hp=a295245a8b469022389301eff5aadca72a90ecd1;hb=cf596c1d6c12d61570626408d2f5ee81a4b9a7ee;hpb=8894145751d8c7841b25e3fe561b42f65982d057 diff --git a/compiler/ghci/InteractiveUI.hs b/compiler/ghci/InteractiveUI.hs index a295245..7e82cea 100644 --- a/compiler/ghci/InteractiveUI.hs +++ b/compiler/ghci/InteractiveUI.hs @@ -1402,10 +1402,8 @@ handler (DynException dyn) = do at_topLevel <- isTopLevel if at_topLevel then return True else throwDyn StopParentSession - | Just (ChildSessionStopped msg) <- fromDynamic dyn - -- Reload modules and display some message - = do ASSERTM (isTopLevel) - io(putStrLn msg) >> return False + | Just (ChildSessionStopped msg) <- fromDynamic dyn + = io(putStrLn msg) >> return False handler exception = do flushInterpBuffers