Skip to content

Commit 19bb2e4

Browse files
committed
Regression for tests with closures
- `and_then_closure` - `closure_acces_struct`
1 parent 10b55d4 commit 19bb2e4

5 files changed

Lines changed: 32 additions & 0 deletions

File tree

kmir/src/tests/integration/data/prove-rs/and_then_closure.rs renamed to kmir/src/tests/integration/data/prove-rs/and_then_closure-fail.rs

File renamed without changes.

kmir/src/tests/integration/data/prove-rs/closure_access_struct.rs renamed to kmir/src/tests/integration/data/prove-rs/closure_access_struct-fail.rs

File renamed without changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
┌─ 1 (root, init)
3+
│ #execTerminator ( terminator ( ... kind: terminatorKindCall ( ... func: operandC
4+
│ span: 0
5+
6+
│ (142 steps)
7+
└─ 3 (stuck, leaf)
8+
#traverseProjection ( toLocal ( 2 ) , Aggregate ( variantIdx ( 0 ) , ListItem (
9+
span: 157
10+
11+
12+
┌─ 2 (root, leaf, target, terminal)
13+
│ #EndProgram ~> .K
14+
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
┌─ 1 (root, init)
3+
│ #execTerminator ( terminator ( ... kind: terminatorKindCall ( ... func: operandC
4+
│ span: 0
5+
6+
│ (196 steps)
7+
└─ 3 (stuck, leaf)
8+
#traverseProjection ( toLocal ( 2 ) , Aggregate ( variantIdx ( 0 ) , ListItem (
9+
span: 125
10+
11+
12+
┌─ 2 (root, leaf, target, terminal)
13+
│ #EndProgram ~> .K
14+
15+

kmir/src/tests/integration/test_integration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363
'test_offset_from-fail',
6464
'ref-ptr-cast-elem-fail',
6565
'ref-ptr-cast-elem-offset-fail',
66+
'and_then_closure-fail',
67+
'closure_access_struct-fail',
6668
]
6769

6870

0 commit comments

Comments
 (0)