diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/Arguments.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/Arguments.kt index cdb59c1bdba..63d5cf46f5e 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/Arguments.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/Arguments.kt @@ -486,7 +486,7 @@ private fun Candidate.prepareExpectedType( } } } - ?: getExpectedTypeWithImplicintIntegerCoercion(session, argument, parameter, basicExpectedType) + ?: getExpectedTypeWithImplicitIntegerCoercion(session, argument, parameter, basicExpectedType) ?: basicExpectedType return this.substitutor.substituteOrSelf(expectedType) } @@ -508,7 +508,7 @@ private fun Candidate.getExpectedTypeWithSAMConversion( } } -private fun getExpectedTypeWithImplicintIntegerCoercion( +private fun getExpectedTypeWithImplicitIntegerCoercion( session: FirSession, argument: FirExpression, parameter: FirValueParameter,