[FE 1.0] Support suspend only SAM conversions

^KT-50477 Fixed
This commit is contained in:
Victor Petukhov
2022-01-12 18:45:47 +03:00
committed by teamcity
parent d2c0234895
commit 22b2554368
15 changed files with 157 additions and 8 deletions
@@ -0,0 +1,13 @@
package
public fun accept(/*0*/ fi: FI): kotlin.Int
public suspend fun foo(): kotlin.Unit
public fun foo2(): kotlin.Unit
public fun main(): kotlin.Unit
public fun interface FI {
public abstract suspend fun call(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}