Make :stepover <expr> work like :step
authorPepe Iborra <mnislaih@gmail.com>
Mon, 20 Aug 2007 13:35:46 +0000 (13:35 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Mon, 20 Aug 2007 13:35:46 +0000 (13:35 +0000)
compiler/ghci/InteractiveUI.hs

index 19cc8f1..5c5e9c1 100644 (file)
@@ -1562,7 +1562,7 @@ stepOverCmd [] = do
               then doContinue (`isSubspanOf` parent) GHC.SingleStep
               else doContinue (const True) GHC.SingleStep
 
-    where 
+stepOverCmd expression = stepCmd expression
 
 {- 
  So, the only tricky part in stepOver is detecting that we have