FIR: Minor. Drop unused parameter

This commit is contained in:
Denis.Zharkov
2021-01-20 13:11:01 +03:00
parent 9493e68584
commit 7df4f67f7c
2 changed files with 0 additions and 3 deletions
@@ -175,7 +175,6 @@ class FirCallCompleter(
receiverType: ConeKotlinType?, receiverType: ConeKotlinType?,
parameters: List<ConeKotlinType>, parameters: List<ConeKotlinType>,
expectedReturnType: ConeKotlinType?, expectedReturnType: ConeKotlinType?,
rawReturnType: ConeKotlinType,
stubsForPostponedVariables: Map<TypeVariableMarker, StubTypeMarker> stubsForPostponedVariables: Map<TypeVariableMarker, StubTypeMarker>
): ReturnArgumentsAnalysisResult { ): ReturnArgumentsAnalysisResult {
val lambdaArgument: FirAnonymousFunction = lambdaAtom.atom val lambdaArgument: FirAnonymousFunction = lambdaAtom.atom
@@ -37,7 +37,6 @@ interface LambdaAnalyzer {
receiverType: ConeKotlinType?, receiverType: ConeKotlinType?,
parameters: List<ConeKotlinType>, parameters: List<ConeKotlinType>,
expectedReturnType: ConeKotlinType?, // null means, that return type is not proper i.e. it depends on some type variables expectedReturnType: ConeKotlinType?, // null means, that return type is not proper i.e. it depends on some type variables
rawReturnType: ConeKotlinType,
stubsForPostponedVariables: Map<TypeVariableMarker, StubTypeMarker> stubsForPostponedVariables: Map<TypeVariableMarker, StubTypeMarker>
): ReturnArgumentsAnalysisResult ): ReturnArgumentsAnalysisResult
} }
@@ -129,7 +128,6 @@ class PostponedArgumentsAnalyzer(
receiver, receiver,
parameters, parameters,
expectedTypeForReturnArguments, expectedTypeForReturnArguments,
rawReturnType,
stubsForPostponedVariables stubsForPostponedVariables
) )
applyResultsOfAnalyzedLambdaToCandidateSystem(c, lambda, candidate, results, expectedTypeForReturnArguments, ::substitute) applyResultsOfAnalyzedLambdaToCandidateSystem(c, lambda, candidate, results, expectedTypeForReturnArguments, ::substitute)