[kotlin] Migrate 'buildSelfClassType()' to 'defaultType'

^KT-67996

GitOrigin-RevId: 55a0d44c0e6ad3124ea6a37f76ffbf0878338ded
This commit is contained in:
Yan Zhulanow
2024-06-24 02:37:41 +09:00
committed by intellij-monorepo-bot
parent ac7aa9e4c9
commit 290bde2691
5 changed files with 5 additions and 5 deletions

View File

@@ -122,7 +122,7 @@ fun collectReceiverTypesForExplicitReceiverExpression(explicitReceiver: KtExpres
if (receiverSymbol is KaNamedClassOrObjectSymbol && explicitReceiver.parent is KtCallableReferenceExpression) {
val receiverSymbolType = receiverSymbol.buildClassTypeBySymbolWithTypeArgumentsFromExpression(explicitReceiver)
return listOfNotNull(receiverSymbolType, receiverSymbol.companionObject?.buildSelfClassType())
return listOfNotNull(receiverSymbolType, receiverSymbol.companionObject?.defaultType)
}
}