[FIR] fix internal error on suspend conversion with not-computed return type

^KT-62836 Fixed
This commit is contained in:
Dmitrii Gridin
2024-03-05 15:45:58 +01:00
committed by Space Team
parent f4096ae8e9
commit 928fb94052
11 changed files with 58 additions and 25 deletions
@@ -0,0 +1,8 @@
// FIR_IDENTICAL
fun box() = useSuspendFunInt(Test())
fun useSuspendFunInt(fn: suspend () -> String): String = ""
open class Test : () -> String {
override fun invoke() = "OK"
}