25 lines
792 B
Plaintext
25 lines
792 B
Plaintext
== Delegate ==
|
|
class Delegate {
|
|
fun get(_this: Nothing?, p: PropertyMetadata): Int = 0
|
|
}
|
|
---------------------
|
|
=====================
|
|
== get ==
|
|
fun get(_this: Nothing?, p: PropertyMetadata): Int = 0
|
|
---------------------
|
|
<v0>: {<: Nothing?} NEW: magic[FAKE_INITIALIZER](_this: Nothing?) -> <v0>
|
|
<v1>: {<: PropertyMetadata} NEW: magic[FAKE_INITIALIZER](p: PropertyMetadata) -> <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
|
|
---------------------
|
|
<v1>: * NEW: magic[VALUE_CONSUMER](val b by a|<v0>) -> <v1>
|
|
a <v0>: Delegate NEW: r(a) -> <v0>
|
|
=====================
|