[FIR] do not fail when Continuation classes not found in classpath

This commit is contained in:
Ilya Kirillov
2022-08-05 14:05:57 +02:00
parent 8856977c78
commit 4d5f1dc1bb
9 changed files with 65 additions and 3 deletions
@@ -0,0 +1,2 @@
// NO_RUNTIME
fun foo(<caret>p :suspend (Int) -> Unit) {}
@@ -0,0 +1,2 @@
KtType: suspend (kotlin.Int) -> kotlin.Unit
PsiType: PsiType:Function2<? super Integer, ? super NonExistentClass, ? extends Object>
@@ -0,0 +1,2 @@
// WITH_STDLIB
fun foo(<caret>p :suspend (Int) -> Unit) {}
@@ -0,0 +1,2 @@
KtType: suspend (kotlin.Int) -> kotlin.Unit
PsiType: PsiType:Function2<? super Integer, ? super Continuation<? super Unit>, ? extends Object>