Skip to content

Commit 289f9d5

Browse files
authored
final log now falls under initial context (#2198)
1 parent 48592b7 commit 289f9d5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

kore/src/Kore/Equation/Application.hs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,11 @@ attemptEquation sideCondition termLike equation =
220220
whileDebugAttemptEquation'
221221
:: simplifier (AttemptEquationResult variable)
222222
-> simplifier (AttemptEquationResult variable)
223-
whileDebugAttemptEquation' action = do
224-
result <- whileDebugAttemptEquation termLike equationRenamed action
225-
debugAttemptEquationResult equation result
226-
return result
223+
whileDebugAttemptEquation' action =
224+
whileDebugAttemptEquation termLike equationRenamed $ do
225+
result <- action
226+
debugAttemptEquationResult equation result
227+
return result
227228

228229
-- | Simplify the argument of a function definition equation with the
229230
-- match substitution and the priority predicate. This will avoid

0 commit comments

Comments
 (0)