Remove a false assertion
authorPepe Iborra <mnislaih@gmail.com>
Fri, 12 Jan 2007 14:40:40 +0000 (14:40 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Fri, 12 Jan 2007 14:40:40 +0000 (14:40 +0000)
compiler/ghci/InteractiveUI.hs

index a295245..7e82cea 100644 (file)
@@ -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