diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirSuperTypeScope.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirSuperTypeScope.kt index 463a1d55eb6..b8b2000f621 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirSuperTypeScope.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirSuperTypeScope.kt @@ -19,8 +19,8 @@ class FirSuperTypeScope( ) : AbstractFirOverrideScope(session) { override fun processFunctionsByName(name: Name, processor: (ConeFunctionSymbol) -> ProcessorAction): ProcessorAction { - val accepted = mutableSetOf() - val pending = mutableSetOf() + val accepted = HashSet() + val pending = mutableListOf() for (scope in scopes) { if (scope.processFunctionsByName(name) { @@ -41,8 +41,8 @@ class FirSuperTypeScope( } override fun processPropertiesByName(name: Name, processor: (ConeVariableSymbol) -> ProcessorAction): ProcessorAction { - val accepted = mutableSetOf() - val pending = mutableSetOf() + val accepted = HashSet() + val pending = mutableListOf() for (scope in scopes) { if (scope.processPropertiesByName(name) { if (it !in accepted && it.isOverridden(accepted) == null) {