[FIR] Report deprecations on typealias constructor calls
Typealias constructor calls are now always wrapped with synthetic FirConstructorCalls so that the referenced typeAlias can be extracted. Previously, it was only necessary to map type arguments. #KT-57780 Fixed
This commit is contained in:
committed by
Space Team
parent
b9e5b8a087
commit
2de9480101
@@ -93,6 +93,9 @@ private object TypeAliasForConstructorKey : FirDeclarationDataKey()
|
||||
|
||||
var FirConstructor.typeAliasForConstructor: FirTypeAliasSymbol? by FirDeclarationDataRegistry.data(TypeAliasForConstructorKey)
|
||||
|
||||
val FirConstructorSymbol.typeAliasForConstructor: FirTypeAliasSymbol?
|
||||
get() = fir.typeAliasForConstructor
|
||||
|
||||
interface FirCodeFragmentContext {
|
||||
val towerDataContext: FirTowerDataContext
|
||||
val variables: Map<FirBasedSymbol<*>, Set<ConeKotlinType>>
|
||||
|
||||
Reference in New Issue
Block a user