JVM_IR indy-SAM conversions: more cases
KT-44278 KT-26060 KT-42621
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// JVM_TARGET: 1.8
|
||||
// SAM_CONVERSIONS: INDY
|
||||
|
||||
fun interface IFoo<T> {
|
||||
fun foo(x: T): T
|
||||
}
|
||||
|
||||
fun foo(fs: IFoo<String>) = fs.foo("O")
|
||||
|
||||
fun box() = foo { "${it}K" }
|
||||
Reference in New Issue
Block a user