diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirTypeIntersectionScope.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirTypeIntersectionScope.kt index cfb77f7a65e..ed44c7157cc 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirTypeIntersectionScope.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirTypeIntersectionScope.kt @@ -447,7 +447,7 @@ class FirTypeIntersectionScope private constructor( functionSymbol: FirFunctionSymbol<*>, processor: (FirFunctionSymbol<*>, FirTypeScope) -> ProcessorAction ): ProcessorAction = - processDirectOverriddenCallablesCallablesWithBaseScope( + processDirectOverriddenCallablesWithBaseScope( functionSymbol, processor, FirTypeScope::processDirectOverriddenFunctionsWithBaseScope ) @@ -456,12 +456,12 @@ class FirTypeIntersectionScope private constructor( propertySymbol: FirPropertySymbol, processor: (FirPropertySymbol, FirTypeScope) -> ProcessorAction ): ProcessorAction = - processDirectOverriddenCallablesCallablesWithBaseScope( + processDirectOverriddenCallablesWithBaseScope( propertySymbol, processor, FirTypeScope::processDirectOverriddenPropertiesWithBaseScope ) - private fun > processDirectOverriddenCallablesCallablesWithBaseScope( + private fun > processDirectOverriddenCallablesWithBaseScope( callableSymbol: D, processor: (D, FirTypeScope) -> ProcessorAction, processDirectOverriddenInBaseScope: FirTypeScope.(D, ((D, FirTypeScope) -> ProcessorAction)) -> ProcessorAction