Files
kotlin-fork/compiler/testData/cfg/declarations/multiDeclaration/MultiDecl.values
T
2020-02-13 11:15:58 +03:00

30 lines
724 B
Plaintext
Vendored

== C ==
class C {
operator fun component1() = 1
operator fun component2() = 2
}
---------------------
=====================
== component1 ==
operator fun component1() = 1
---------------------
1 <v0>: Int NEW: r(1) -> <v0>
=====================
== component2 ==
operator fun component2() = 2
---------------------
2 <v0>: Int NEW: r(2) -> <v0>
=====================
== test ==
fun test(c: C) {
val (a, b) = c
val d = 1
}
---------------------
<v0>: C NEW: magic[FAKE_INITIALIZER](c: C) -> <v0>
a <v2>: Int NEW: call(a, component1|<v1>) -> <v2>
b <v3>: Int NEW: call(b, component2|<v1>) -> <v3>
c <v1>: C NEW: r(c) -> <v1>
1 <v4>: Int NEW: r(1) -> <v4>
=====================