[FIR] Get rid of FirAnnotation.fullyExpandedClassId

It's duplicated by `toAnnotationClassId`.
This commit is contained in:
Nikolay Lunyak
2023-01-16 14:07:16 +02:00
committed by Space Team
parent 343b856cfc
commit 4cddbb5fc0
7 changed files with 22 additions and 30 deletions
@@ -233,6 +233,3 @@ fun hasLowPriorityAnnotation(annotations: List<FirAnnotation>) = annotations.any
val lookupTag = it.annotationTypeRef.coneTypeSafe<ConeClassLikeType>()?.lookupTag ?: return@any false
lookupTag.classId == LOW_PRIORITY_IN_OVERLOAD_RESOLUTION_CLASS_ID
}
fun FirAnnotation.fullyExpandedClassId(useSiteSession: FirSession): ClassId? =
unexpandedConeClassLikeType?.fullyExpandedType(useSiteSession)?.classId