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