[FIR] fix internal error on suspend conversion with not-computed return type
^KT-62836 Fixed
This commit is contained in:
committed by
Space Team
parent
f4096ae8e9
commit
928fb94052
@@ -0,0 +1,8 @@
|
||||
// FIR_IDENTICAL
|
||||
fun box() = useSuspendFunInt(Test())
|
||||
|
||||
fun useSuspendFunInt(fn: suspend () -> String): String = ""
|
||||
|
||||
open class Test : () -> String {
|
||||
override fun invoke() = "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user