[FIR] KT-57175: Expand typealiases in the annotation class checker

^KT-57175 Fixed
This commit is contained in:
Nikolay Lunyak
2023-03-08 17:12:45 +02:00
committed by Space Team
parent 5cbe699fc4
commit f39467b4ba
6 changed files with 29 additions and 0 deletions
@@ -72,6 +72,7 @@ object FirAnnotationClassDeclarationChecker : FirRegularClassChecker() {
val typeRef = parameter.returnTypeRef
val coneType = typeRef.coneTypeSafe<ConeLookupTagBasedType>()
?.fullyExpandedType(context.session) as? ConeLookupTagBasedType
val classId = coneType?.classId
if (coneType != null) when {