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
@@ -0,0 +1,12 @@
// TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
// SAM_CONVERSIONS: INDY
// FILE: simple.kt
val lambda = { "OK" }
fun box() = Sam(lambda).get()
// FILE: Sam.java
public interface Sam {
String get();
}