mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[kotlin] Migrate 'buildSelfClassType()' to 'defaultType'
^KT-67996 GitOrigin-RevId: 55a0d44c0e6ad3124ea6a37f76ffbf0878338ded
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ac7aa9e4c9
commit
290bde2691
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user