[FIR] Cleanup hides members condition
This commit is contained in:
+2
-4
@@ -311,10 +311,8 @@ internal open class FirTowerResolveTask(
|
|||||||
explicitReceiverValue: ReceiverValue?,
|
explicitReceiverValue: ReceiverValue?,
|
||||||
parentGroup: TowerGroup = TowerGroup.EmptyRoot
|
parentGroup: TowerGroup = TowerGroup.EmptyRoot
|
||||||
) {
|
) {
|
||||||
val shouldProcessExtensionsBeforeMembers =
|
// We will process hides members only for function calls with name in HIDES_MEMBERS_NAME_LIST
|
||||||
info.callKind == CallKind.Function && info.name in HIDES_MEMBERS_NAME_LIST
|
if (info.callKind != CallKind.Function || info.name !in HIDES_MEMBERS_NAME_LIST) return
|
||||||
|
|
||||||
if (!shouldProcessExtensionsBeforeMembers) return
|
|
||||||
|
|
||||||
val importingScopes = components.fileImportsScope.asReversed()
|
val importingScopes = components.fileImportsScope.asReversed()
|
||||||
for ((index, topLevelScope) in importingScopes.withIndex()) {
|
for ((index, topLevelScope) in importingScopes.withIndex()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user