Generate delegates to DefaultImpls in fun interface wrappers

#KT-37436 Fixed
This commit is contained in:
Alexander Udalov
2020-05-01 18:01:45 +02:00
parent 77e479fda8
commit fc1217ba07
17 changed files with 240 additions and 63 deletions
@@ -1,6 +1,5 @@
// !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions
// IGNORE_BACKEND: JVM, JVM_IR
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR
// SKIP_DCE_DRIVEN
@@ -30,4 +29,4 @@ fun box(): String {
if (runProxy { 10 } != "10") return "fail2"
return runBase { "OK" }
}
}