Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into sam/right-assoc-col…
Browse files Browse the repository at this point in the history
…lections
  • Loading branch information
goodlyrottenapple committed Sep 11, 2023
2 parents 9d1a51b + ca76acb commit 9a803db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kore/src/Kore/JsonRpc.hs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ respond serverState moduleName runSMT =
case verifyIn serializedModule state of
Left err -> pure $ Left $ backendError CouldNotVerifyPattern err
Right verifiedPattern -> do
let tracingEnabled =
fromMaybe False logSuccessfulRewrites || fromMaybe False logSuccessfulSimplifications
traversalResult <-
liftIO
( runSMT (Exec.metadataTools serializedModule) lemmas $
Expand All @@ -134,7 +136,7 @@ respond serverState moduleName runSMT =
then EnableMovingAverage
else DisableMovingAverage
)
(fromMaybe False $ liftA2 (||) logSuccessfulRewrites logSuccessfulSimplifications)
tracingEnabled
serializedModule
(toStopLabels cutPointRules terminalRules)
verifiedPattern
Expand Down

0 comments on commit 9a803db

Please sign in to comment.