FIR: handle suspend functions in callable reference resolve properly
This commit is contained in:
-11
@@ -1,11 +0,0 @@
|
||||
// !CHECK_TYPE
|
||||
// !LANGUAGE: +ReleaseCoroutines
|
||||
// SKIP_TXT
|
||||
|
||||
import kotlin.reflect.KSuspendFunction0
|
||||
|
||||
suspend fun foo() {}
|
||||
|
||||
fun test() {
|
||||
::foo checkType { <!INAPPLICABLE_CANDIDATE!>_<!><KSuspendFunction0<Unit>>() }
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !CHECK_TYPE
|
||||
// !LANGUAGE: +ReleaseCoroutines
|
||||
// SKIP_TXT
|
||||
|
||||
Reference in New Issue
Block a user