Added/updated tests for LexicalScope.
This commit is contained in:
@@ -4,10 +4,10 @@ fun foo(a: Array<Int>) {
|
||||
}
|
||||
---------------------
|
||||
L0:
|
||||
<START>
|
||||
1 <START>
|
||||
v(a: Array<Int>)
|
||||
w(a)
|
||||
mark({ a[0] += 1 })
|
||||
2 mark({ a[0] += 1 })
|
||||
mark(a[0] += 1)
|
||||
mark(a[0])
|
||||
r(a)
|
||||
@@ -21,7 +21,7 @@ L0:
|
||||
r(1)
|
||||
call(a[0], set)
|
||||
L1:
|
||||
<END> NEXT:[<SINK>]
|
||||
1 <END> NEXT:[<SINK>]
|
||||
error:
|
||||
<ERROR> PREV:[]
|
||||
sink:
|
||||
|
||||
Reference in New Issue
Block a user