Skip to content

Commit

Permalink
Fix getDefProofObligations to add context after each def's POs
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbattle committed Oct 24, 2024
1 parent 7fc1261 commit 0e22886
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,9 @@ public ProofObligationList getDefProofObligations(POContextStack ctxt, POGState

for (PODefinition d: this)
{
ctxt.push(new POLetDefContext(d)); // In scope for recursive or total obligations
count++;

obligations.addAll(d.getProofObligations(ctxt, pogState, env));
ctxt.push(new POLetDefContext(d));
count++;
}

for (int i=0; i<count; i++)
Expand Down

0 comments on commit 0e22886

Please sign in to comment.