File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ import Kore.Internal.TermLike (
139
139
)
140
140
import qualified Kore.Internal.TermLike as TermLike
141
141
import qualified Kore.Log as Log
142
+ import Kore.Log.WarnIfLowProductivity (warnIfLowProductivity )
142
143
import Kore.Reachability (
143
144
ClaimState (.. ),
144
145
ClaimStateTransformer (.. ),
@@ -305,8 +306,12 @@ replInterpreter0 printAux printKore replCmd = do
305
306
output
306
307
case shouldContinue of
307
308
Continue -> pure Continue
308
- SuccessStop -> liftIO exitSuccess
309
- FailStop -> liftIO . exitWith $ ExitFailure 2
309
+ SuccessStop -> do
310
+ warnIfLowProductivity
311
+ liftIO exitSuccess
312
+ FailStop -> do
313
+ warnIfLowProductivity
314
+ liftIO . exitWith $ ExitFailure 2
310
315
where
311
316
-- Extracts the Writer out of the RWST monad using the current state
312
317
-- and updates the state, returning the writer output along with the
You can’t perform that action at this time.
0 commit comments