[FIR] Fixed invalid real psi source fir fir annotation name reference
This commit is contained in:
committed by
TeamCityServer
parent
aaefe94763
commit
38242bee75
@@ -1472,7 +1472,7 @@ open class RawFirBuilder(
|
|||||||
annotationEntry.extractArgumentsTo(this)
|
annotationEntry.extractArgumentsTo(this)
|
||||||
val name = (annotationTypeRef as? FirUserTypeRef)?.qualifier?.last()?.name ?: Name.special("<no-annotation-name>")
|
val name = (annotationTypeRef as? FirUserTypeRef)?.qualifier?.last()?.name ?: Name.special("<no-annotation-name>")
|
||||||
calleeReference = buildSimpleNamedReference {
|
calleeReference = buildSimpleNamedReference {
|
||||||
source = this@buildAnnotationCall.source
|
source = (annotationEntry.typeReference?.typeElement as? KtUserType)?.referenceExpression?.toFirSourceElement()
|
||||||
this.name = name
|
this.name = name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user