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,23 @@
== Ab ==
abstract class Ab {
abstract fun getArray() : Array<Int>
}
---------------------
=====================
== getArray ==
abstract fun getArray() : Array<Int>
---------------------
=====================
== test ==
fun test(ab: Ab) {
ab.getArray()[1]
}
---------------------
ab <v1> NEW()
getArray <v2> NEW(<v1>)
getArray() <v2> COPY
ab.getArray() <v2> COPY
1 <v3> NEW()
ab.getArray()[1] <v4> NEW(<v2>, <v3>)
{ ab.getArray()[1] } <v4> COPY
=====================