[FIR2IR] Fix SAM conversion of adapted callable reference

#KT-63329 Fixed
This commit is contained in:
Kirill Rakhman
2023-11-30 13:19:34 +01:00
committed by Space Team
parent c8b77fe18c
commit 2391f00b75
11 changed files with 71 additions and 53 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
// TARGET_BACKEND: JVM
// TARGET_BACKEND: JVM_IR
// CHECK_BYTECODE_LISTING
// ^Verify that no anonymous class is generated KT-63329 KT-62858, old backend gets this wrong.
// FILE: kt49226.kt
fun box(): String {
+7
View File
@@ -0,0 +1,7 @@
@kotlin.Metadata
public final class Kt49226Kt {
// source: 'kt49226.kt'
private synthetic final static method box$arrayOf(p0: java.lang.String): java.lang.String[]
private final static method box$arrayOf__proxy(p0: java.lang.String): java.lang.String[]
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}