Commit 697e68a
authored
fix(rt): handle fun-type closure env refs in callee setup (#956)
- Extend closure callee setup (`setupCalleeClosure2`) to accept
closure-env references whose pointee resolves to `typeInfoFunType` (in
addition to `typeInfoVoidType`).
- Add `isFunType(TypeInfo)` helper predicate used by that guard.
- In the fix commit, refresh `closure_access_struct-fail.main.expected`
to show the behavior change from stuck frontier to terminal
`#EndProgram`.
- Cleanup after fix:
- rename `closure_access_struct-fail.rs` -> `closure_access_struct.rs`
- remove `show/closure_access_struct-fail.main.expected`
- remove this case from `PROVE_RS_SHOW_SPECS`1 parent 682df6b commit 697e68a
4 files changed
Lines changed: 7 additions & 17 deletions
File tree
- kmir/src
- kmir/kdist/mir-semantics
- tests/integration
- data/prove-rs
- show
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
585 | 588 | | |
586 | 589 | | |
587 | 590 | | |
588 | 591 | | |
| 592 | + | |
589 | 593 | | |
590 | 594 | | |
591 | 595 | | |
592 | 596 | | |
593 | 597 | | |
| 598 | + | |
| 599 | + | |
594 | 600 | | |
595 | 601 | | |
596 | 602 | | |
| |||
Lines changed: 0 additions & 15 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| |||
0 commit comments