Files
kotlin-fork/compiler/testData/cfg/declarations/properties/DelegatedProperty.values
T

26 lines
859 B
Plaintext
Vendored

== Delegate ==
class Delegate {
fun getValue(_this: Nothing?, p: KProperty<*>): Int = 0
}
---------------------
=====================
== getValue ==
fun getValue(_this: Nothing?, p: KProperty<*>): Int = 0
---------------------
<v0>: {<: Nothing?} NEW: magic[FAKE_INITIALIZER](_this: Nothing?) -> <v0>
<v1>: {<: KProperty<*>} NEW: magic[FAKE_INITIALIZER](p: KProperty<*>) -> <v1>
0 <v2>: Int NEW: r(0) -> <v2>
=====================
== a ==
val a = Delegate()
---------------------
Delegate() <v0>: Delegate NEW: call(Delegate(), <init>) -> <v0>
=====================
== b ==
val b by a
---------------------
<v0>: Int NEW: magic[UNRECOGNIZED_WRITE_RHS](val b by a) -> <v0>
<v2>: * NEW: magic[VALUE_CONSUMER](val b by a|<v1>) -> <v2>
a <v1>: Delegate NEW: r(a) -> <v1>
=====================