From: Pepe Iborra Date: Mon, 20 Aug 2007 13:35:46 +0000 (+0000) Subject: Make :stepover work like :step X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=6e9b0b152e64ce2f9e05a054605624f36bf44617 Make :stepover work like :step --- diff --git a/compiler/ghci/InteractiveUI.hs b/compiler/ghci/InteractiveUI.hs index 19cc8f1..5c5e9c1 100644 --- a/compiler/ghci/InteractiveUI.hs +++ b/compiler/ghci/InteractiveUI.hs @@ -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