Skip to content

Commit

Permalink
Fixed incorrect merge where wrong state is forwarded
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoeilers committed Dec 2, 2024
1 parent 761d4dd commit 6cd6ef1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/scala/rules/MoreCompleteExhaleSupporter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -406,13 +406,13 @@ object moreCompleteExhaleSupporter extends SymbolicExecutionRules {
})
} else {
if (!moreNeeded) {
Q(s, newHeap, None, v)
Q(s0, newHeap, None, v)
} else {
v.decider.assert(pNeeded === NoPerm) {
case true =>
Q(s, newHeap, None, v)
Q(s0, newHeap, None, v)
case false =>
createFailure(ve, v, s, pNeeded === NoPerm, pNeededExp.map(pn => ast.EqCmp(pn, ast.NoPerm()())(pn.pos, pn.info, pn.errT)))
createFailure(ve, v, s0, pNeeded === NoPerm, pNeededExp.map(pn => ast.EqCmp(pn, ast.NoPerm()())(pn.pos, pn.info, pn.errT)))
}
}
}
Expand Down

0 comments on commit 6cd6ef1

Please sign in to comment.