X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghci%2FGhciMonad.hs;h=d5e491bbf5ccfaf3eb55db2cc27ebdab5ef8649e;hb=8f0034600a8a5fa507994646f96e63e2933a5330;hp=8374491891ceafc71ca7a5ab4d6ce6af6a20ee14;hpb=7f1db085b2256e3372feca52d493ca7577413cbe;p=ghc-hetmet.git diff --git a/compiler/ghci/GhciMonad.hs b/compiler/ghci/GhciMonad.hs index 8374491..d5e491b 100644 --- a/compiler/ghci/GhciMonad.hs +++ b/compiler/ghci/GhciMonad.hs @@ -248,8 +248,8 @@ runStmt expr step = do return GHC.RunFailed) $ do GHC.runStmt expr step -resume :: GHC.SingleStep -> GHCi GHC.RunResult -resume step = GHC.resume step +resume :: (SrcSpan -> Bool) -> GHC.SingleStep -> GHCi GHC.RunResult +resume canLogSpan step = GHC.resume canLogSpan step -- -------------------------------------------------------------------------- -- timing & statistics