[FIR] Expand typealiases when checking deprecations

^KT-59901 Fixed
This commit is contained in:
Nikolay Lunyak
2023-08-01 09:25:49 +03:00
committed by Space Team
parent 03fdba5aa7
commit 4a9ba1c9ac
16 changed files with 140 additions and 145 deletions
@@ -248,7 +248,7 @@ private fun JavaAnnotation.toFirAnnotationCall(session: FirSession): FirAnnotati
}
/**
* This is required to avoid contract violation during [org.jetbrains.kotlin.fir.declarations.getDeprecationForCallSite]
* This is required to avoid contract violation during [org.jetbrains.kotlin.fir.declarations.getOwnDeprecationForCallSite]
* Because argument transformation may lead to [org.jetbrains.kotlin.fir.declarations.FirResolvePhase.TYPES]+ lazy resolution
* See KT-59342
* TODO: KT-60520