mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-22 08:31:28 +00:00
[FIR] Minor. Fix code style
This commit is contained in:
@@ -114,20 +114,20 @@ private class FirCallArgumentsProcessor(private val function: FirFunction<*>) {
|
||||
|
||||
val parameter = parameters.getOrNull(currentPositionedParameterIndex)
|
||||
if (parameter == null) {
|
||||
addDiagnostic(TooManyArguments(argument, function))
|
||||
addDiagnostic(TooManyArguments(argument, function))
|
||||
return false
|
||||
}
|
||||
|
||||
if (!parameter.isVararg) {
|
||||
return if (!parameter.isVararg) {
|
||||
currentPositionedParameterIndex++
|
||||
|
||||
result[parameter] = ResolvedCallArgument.SimpleArgument(argument)
|
||||
return false
|
||||
false
|
||||
}
|
||||
// all position arguments will be mapped to current vararg parameter
|
||||
else {
|
||||
addVarargArgument(argument)
|
||||
return true
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user