Files
kotlin-fork/compiler/testData/cfg/conventions/bothReceivers.values
T
Stanislav Erokhin dd24fd47f7 Update control flow test data for tower resolution algorithm
- locals win
- drop old invokeExtension convention
2015-12-11 17:01:02 +03:00

27 lines
616 B
Plaintext
Vendored

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