JVM IR: Fix names for SAM callable references with inline class return types
This fixes the ABI issues in KT-42879.
This commit is contained in:
committed by
Alexander Udalov
parent
aa81041415
commit
d4cb521433
@@ -0,0 +1,12 @@
|
||||
// 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) }
|
||||
}
|
||||
Reference in New Issue
Block a user