Remove dupliate "io (revertCAFs)" and discardActiveBreakPoints calls
authorIan Lynagh <igloo@earth.li>
Fri, 17 Aug 2007 21:23:20 +0000 (21:23 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 17 Aug 2007 21:23:20 +0000 (21:23 +0000)
compiler/ghci/InteractiveUI.hs

index 179f259..19cc8f1 100644 (file)
@@ -893,8 +893,6 @@ checkModule m = do
 
 reloadModule :: String -> GHCi ()
 reloadModule m = do
-  io (revertCAFs)              -- always revert CAFs on reload.
-  discardActiveBreakPoints
   session <- getSession
   doLoad session $ if null m then LoadAllTargets 
                              else LoadUpTo (GHC.mkModuleName m)