K2: apply SAM if argument has postponed lambdas #KT-53966 Fixed

This commit is contained in:
Mikhail Glukhikh
2023-01-19 13:58:38 +01:00
committed by Space Team
parent 5a9e8b3c0a
commit 898a9a0f2c
12 changed files with 173 additions and 22 deletions
@@ -1,7 +1,9 @@
package
public fun consumeTicker(/*0*/ ticker: Ticker?): kotlin.Unit
public fun main(): kotlin.Unit
public fun main(/*0*/ arg: kotlin.Nothing?): kotlin.Unit
public fun </*0*/ T> select(/*0*/ a: T, /*1*/ b: T): T
public fun tick(/*0*/ num: kotlin.Int): kotlin.Unit
public fun interface Ticker {
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
@@ -9,3 +11,4 @@ public fun interface Ticker {
public abstract fun tick(/*0*/ num: kotlin.Int): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}