FIR: Minor. Drop unused parameter
This commit is contained in:
-1
@@ -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
|
||||||
|
|||||||
-2
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user