JVM_IR indy-SAM on functional expression

This commit is contained in:
Dmitry Petrov
2021-02-17 13:44:33 +03:00
parent 134fda8bad
commit 6d019d9544
29 changed files with 634 additions and 8 deletions
@@ -4,6 +4,7 @@
// IGNORE_BACKEND: JS_IR_ES6
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// SAM_CONVERSIONS: CLASS
fun box(): String {
val f = { }
@@ -1,5 +1,6 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// SAM_CONVERSIONS: CLASS
// FILE: MyRunnable.java
public interface MyRunnable {
public void run();
+1
View File
@@ -1,5 +1,6 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// SAM_CONVERSIONS: CLASS
// FILE: Foo.kt
package foo
+1
View File
@@ -1,5 +1,6 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// SAM_CONVERSIONS: CLASS
// FILE: Foo.kt
@file:JvmName("testXX")
package test
+1
View File
@@ -1,5 +1,6 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// SAM_CONVERSIONS: CLASS
// FILE: Foo.kt
@file:JvmMultifileClass
@file:JvmName("testX")
+1
View File
@@ -1,5 +1,6 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// SAM_CONVERSIONS: CLASS
// FILE: Foo.kt
@file:JvmMultifileClass
@file:JvmName("testX")
+1
View File
@@ -1,5 +1,6 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// SAM_CONVERSIONS: CLASS
// FILE: kt22906_1.kt
package test
+1
View File
@@ -1,5 +1,6 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// SAM_CONVERSIONS: CLASS
// FILE: kt22906_1.kt
package test
@@ -2,6 +2,7 @@
// WITH_RUNTIME
// FULL_JDK
// SKIP_JDK6
// SAM_CONVERSIONS: CLASS
// FILE: test.kt
// Test that SAM wrappers with type parameters are cached properly.
class A {