FIR: Fix invalid INITIALIZER_TYPE_MISMATCH for suspend lambda
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// FIR_IDENTICAL
|
||||
// SKIP_TXT
|
||||
|
||||
fun <T> runBlocking(block: suspend () -> T): T = TODO()
|
||||
|
||||
fun foo() = runBlocking<Unit> {
|
||||
val foo: suspend (String) -> Int = {
|
||||
it.length
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user