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