[Analysis API] Fix Unexpected FirClassLikeSymbol null for class org.jetbrains.kotlin.fir.types.ConeClassLikeErrorLookupTag exception
on calling `asPsiType` on an unresolved type with type arguments ^KT-65550 fixed
This commit is contained in:
committed by
Space Team
parent
50d526fe91
commit
d925d3be76
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
fun foo(x: UNRESOLVED<Nothing>) {
|
||||
<expr>x</expr>
|
||||
}
|
||||
Vendored
+97
@@ -0,0 +1,97 @@
|
||||
KtType: UNRESOLVED<kotlin.Nothing>
|
||||
asPsiType(allowErrorTypes=false, mode=DEFAULT, isAnnotationMethod=false):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=DEFAULT, isAnnotationMethod=true):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=DEFAULT_UAST, isAnnotationMethod=false):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=DEFAULT_UAST, isAnnotationMethod=true):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=GENERIC_ARGUMENT, isAnnotationMethod=false):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=GENERIC_ARGUMENT, isAnnotationMethod=true):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=SUPER_TYPE, isAnnotationMethod=false):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=SUPER_TYPE, isAnnotationMethod=true):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS, isAnnotationMethod=false):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS, isAnnotationMethod=true):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=RETURN_TYPE_BOXED, isAnnotationMethod=false):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=RETURN_TYPE_BOXED, isAnnotationMethod=true):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=RETURN_TYPE, isAnnotationMethod=false):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=RETURN_TYPE, isAnnotationMethod=true):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=VALUE_PARAMETER, isAnnotationMethod=false):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=false, mode=VALUE_PARAMETER, isAnnotationMethod=true):
|
||||
null
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=DEFAULT, isAnnotationMethod=false):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=DEFAULT, isAnnotationMethod=true):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=DEFAULT_UAST, isAnnotationMethod=false):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=DEFAULT_UAST, isAnnotationMethod=true):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=GENERIC_ARGUMENT, isAnnotationMethod=false):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=GENERIC_ARGUMENT, isAnnotationMethod=true):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=SUPER_TYPE, isAnnotationMethod=false):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=SUPER_TYPE, isAnnotationMethod=true):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS, isAnnotationMethod=false):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS, isAnnotationMethod=true):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=RETURN_TYPE_BOXED, isAnnotationMethod=false):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=RETURN_TYPE_BOXED, isAnnotationMethod=true):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=RETURN_TYPE, isAnnotationMethod=false):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=RETURN_TYPE, isAnnotationMethod=true):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=VALUE_PARAMETER, isAnnotationMethod=false):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
asPsiType(allowErrorTypes=true, mode=VALUE_PARAMETER, isAnnotationMethod=true):
|
||||
PsiType:UNRESOLVED<Void>
|
||||
|
||||
Reference in New Issue
Block a user