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:
Steven Schäfer
2020-11-02 16:32:01 +01:00
committed by Alexander Udalov
parent aa81041415
commit d4cb521433
6 changed files with 111 additions and 47 deletions
+12
View File
@@ -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) }
}