Estimated hours taken: 3
Branches: main
When converting lambdas into separate predicates, the non-local sets of
the procedure which contained the lambda may change. However, the
compiler didn't recompute instmap deltas so that some non-local variables
might not appear in the instmap delta for the goal.
compiler/lambda.m:
Recompute instmap deltas after requantifying the procedure.
tests/valid/Mmakefile:
tests/valid/lambda_instmap_bug2.m:
Add test case.