Add tests for element -> pseudo-value mapping
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
== C ==
|
||||
class C {
|
||||
fun component1() = 1
|
||||
fun component2() = 2
|
||||
}
|
||||
---------------------
|
||||
=====================
|
||||
== component1 ==
|
||||
fun component1() = 1
|
||||
---------------------
|
||||
1 <v0> NEW()
|
||||
=====================
|
||||
== component2 ==
|
||||
fun component2() = 2
|
||||
---------------------
|
||||
2 <v0> NEW()
|
||||
=====================
|
||||
== test ==
|
||||
fun test(c: C) {
|
||||
val (a, b) = c
|
||||
val d = 1
|
||||
}
|
||||
---------------------
|
||||
a <v2> NEW(<v1>)
|
||||
b <v3> NEW(<v1>)
|
||||
c <v1> NEW()
|
||||
1 <v4> NEW()
|
||||
=====================
|
||||
Reference in New Issue
Block a user