Files
kotlin-fork/compiler/testData/codegen/bytecodeText/directInvoke/inplaceClosure.kt
T
pyos 288451db4d JVM_IR: remove an unnecessary hack from BridgeLowering
Correct IR is more important than whether some inaccessible members
precisely match what was generated by the old backend.
2021-06-03 12:35:23 +03:00

6 lines
107 B
Kotlin
Vendored

fun test() {
val fn = fun Int.() = 2
1.fn()
}
// 1 invoke \(Ljava/lang/Object;\)Ljava/lang/Object;