Add tests for element -> pseudo-value mapping

This commit is contained in:
Alexey Sedunov
2014-05-19 18:32:03 +04:00
parent d2c055e9da
commit 4a5d2e6728
78 changed files with 3105 additions and 1 deletions
@@ -0,0 +1,27 @@
== foo ==
fun foo() {
"before"
val bar = object {
{
val x = 1
}
fun foo() {
val a = 2
}
}
"after"
}
---------------------
"before" <v0> NEW()
1 <v1> NEW()
object { { val x = 1 } fun foo() { val a = 2 } } <v2> NEW()
"after" <v3> NEW()
{ "before" val bar = object { { val x = 1 } fun foo() { val a = 2 } } "after" } <v3> COPY
=====================
== foo ==
fun foo() {
val a = 2
}
---------------------
2 <v0> NEW()
=====================