K1/K2: add a test confirming current behavior of KT-57014 case
This commit is contained in:
committed by
Space Team
parent
9e7e44e58f
commit
6e1b6427ab
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
// ISSUE: KT-57014
|
||||
// FULL_JDK
|
||||
// JVM_TARGET: 1.8
|
||||
|
||||
import java.util.function.Supplier
|
||||
|
||||
fun main() {
|
||||
val sam = Supplier<String> {
|
||||
foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(): String? = null
|
||||
Reference in New Issue
Block a user