mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 00:21:35 +00:00
NB some cases such as captured extension receiver for an extension lambda are not supported yet; to be discussed, to what extent should we actually follow JVM code shape here.
26 lines
475 B
Kotlin
Vendored
26 lines
475 B
Kotlin
Vendored
class Foo {
|
|
fun foo() {}
|
|
}
|
|
|
|
class Bar {
|
|
fun bar() {}
|
|
}
|
|
|
|
fun Foo.test(bar: Bar) {
|
|
fun Bar.test() {
|
|
class Local {
|
|
fun run() {
|
|
foo()
|
|
bar()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// JVM_TEMPLATES
|
|
// 1 final synthetic LMultipleExtensionReceiversKt\$test\$1; this\$0
|
|
// 1 final synthetic LBar; \$this_test
|
|
|
|
// JVM_IR_TEMPLATES
|
|
// 1 private final synthetic LFoo; \$this_test
|
|
// 1 private final synthetic LBar; \$this_test\$1 |