[FIR] Expand typealiases when checking deprecations
^KT-59901 Fixed
This commit is contained in:
committed by
Space Team
parent
03fdba5aa7
commit
4a9ba1c9ac
@@ -29,7 +29,7 @@ sealed class FirClassLikeSymbol<D : FirClassLikeDeclaration>(
|
||||
|
||||
val name get() = classId.shortClassName
|
||||
|
||||
fun getDeprecation(apiVersion: ApiVersion): DeprecationsPerUseSite? {
|
||||
fun getOwnDeprecation(apiVersion: ApiVersion): DeprecationsPerUseSite? {
|
||||
if (annotations.isEmpty()) return null
|
||||
lazyResolveToPhase(FirResolvePhase.COMPILER_REQUIRED_ANNOTATIONS)
|
||||
return fir.deprecationsProvider.getDeprecationsInfo(apiVersion)
|
||||
|
||||
Reference in New Issue
Block a user