Add tests for element -> pseudo-value mapping
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
== foo ==
|
||||
fun foo() {
|
||||
"before"
|
||||
for (i in 1..10) {
|
||||
val a = i
|
||||
}
|
||||
"after"
|
||||
}
|
||||
---------------------
|
||||
"before" <v0> NEW()
|
||||
1 <v1> NEW()
|
||||
.. <v3> NEW(<v1>, <v2>)
|
||||
10 <v2> NEW()
|
||||
1..10 <v3> COPY
|
||||
i <v5> NEW()
|
||||
"after" <v6> NEW()
|
||||
{ "before" for (i in 1..10) { val a = i } "after" } <v6> COPY
|
||||
=====================
|
||||
Reference in New Issue
Block a user