Added/updated tests for LexicalScope.

This commit is contained in:
Svetlana Isakova
2014-03-05 19:32:10 +04:00
parent 2cfcd1783b
commit 006f3ccbe9
81 changed files with 1404 additions and 604 deletions
@@ -5,7 +5,7 @@ class C {
}
---------------------
L0:
<START>
1 <START>
L1:
<END> NEXT:[<SINK>]
error:
@@ -17,7 +17,7 @@ sink:
fun component1() = 1
---------------------
L0:
<START>
1 <START>
r(1)
L1:
<END> NEXT:[<SINK>]
@@ -30,7 +30,7 @@ sink:
fun component2() = 2
---------------------
L0:
<START>
1 <START>
r(2)
L1:
<END> NEXT:[<SINK>]
@@ -46,10 +46,10 @@ fun test(c: C) {
}
---------------------
L0:
<START>
1 <START>
v(c: C)
w(c)
mark({ val (a, b) = c val d = 1 })
2 mark({ val (a, b) = c val d = 1 })
r(c)
v(a)
call(a, component1)
@@ -61,7 +61,7 @@ L0:
r(1)
w(d)
L1:
<END> NEXT:[<SINK>]
1 <END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink: