KT-59093 [Analysis API] Make all resolveCall overloads nullable
Instead of returning an error which does not mean anything specific, it's easier just to return `null`
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ internal abstract class SymbolLightAbstractAnnotation(parent: PsiElement) :
|
||||
val callElement = kotlinOrigin ?: return null
|
||||
return analyzeForLightClasses(callElement) {
|
||||
val valueParameter = callElement.resolveCall()
|
||||
.singleConstructorCallOrNull()
|
||||
?.singleConstructorCallOrNull()
|
||||
?.symbol
|
||||
?.valueParameters
|
||||
?.find { it.name.identifierOrNullIfSpecial == attributeName }
|
||||
|
||||
Reference in New Issue
Block a user