Files
kotlin-fork/compiler/testData/codegen/bytecodeListing/kt42879.kt
T
Steven Schäfer d4cb521433 JVM IR: Fix names for SAM callable references with inline class return types
This fixes the ABI issues in KT-42879.
2020-11-03 18:33:34 +01:00

13 lines
157 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM
inline class A(val value: Int)
fun interface I {
fun compute(value: Int): A
}
fun f(i: I) {}
fun g() {
f { it -> A(it) }
}