FIR: introduce ILLEGAL_SUSPEND_FUNCTION_CALL & PROPERTY_ACCESS diagnostics

This commit is contained in:
Mikhail Glukhikh
2021-07-20 16:36:43 +03:00
committed by teamcityserver
parent e4992176c1
commit 8f1d07084b
33 changed files with 147 additions and 222 deletions
@@ -1,8 +0,0 @@
// !LANGUAGE: +Coroutines
// SKIP_TXT
import kotlin.reflect.KSuspendFunction0
fun test(c: KSuspendFunction0<Unit>) {
c()
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// !LANGUAGE: +Coroutines
// SKIP_TXT