Generate delegates to DefaultImpls in fun interface wrappers
#KT-37436 Fixed
This commit is contained in:
+3
@@ -26,5 +26,8 @@ interface Test {
|
||||
// FILE: sam.kt
|
||||
|
||||
fun box(): String {
|
||||
val lambda = { "X" }
|
||||
if (JavaCall().call(lambda) != "X") return "Fail"
|
||||
|
||||
return JavaCall().call {"OK"}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user