Files
kotlin-fork/compiler/testData/cfg/conventions/bothReceivers.values
T
2014-07-11 19:13:49 +04:00

28 lines
771 B
Plaintext

== Bar ==
class Bar {
}
---------------------
=====================
== Foo ==
class Foo() {
fun Bar.invoke() {}
}
---------------------
=====================
== invoke ==
fun Bar.invoke() {}
---------------------
=====================
== foobar ==
fun foobar(f: Foo) {
Bar().f()
}
---------------------
<v0>: Foo NEW: magic[FAKE_INITIALIZER](f: Foo) -> <v0>
Bar() <v2>: Bar NEW: call(Bar(), <init>) -> <v2>
f <v1>: Foo NEW: r(f) -> <v1>
f() <v3>: * NEW: call(f(), invoke|<v1>, <v2>) -> <v3>
Bar().f() <v3>: * COPY
{ Bar().f() } <v3>: * COPY
=====================