FIR: introduce ILLEGAL_SUSPEND_FUNCTION_CALL & PROPERTY_ACCESS diagnostics
This commit is contained in:
committed by
teamcityserver
parent
e4992176c1
commit
8f1d07084b
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
// !LANGUAGE: +Coroutines
|
||||
// SKIP_TXT
|
||||
|
||||
import kotlin.reflect.KSuspendFunction0
|
||||
|
||||
fun test(c: KSuspendFunction0<Unit>) {
|
||||
c()
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +Coroutines
|
||||
// SKIP_TXT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user