backend: fix tailRecursion/defaultArgsOverridden.kt
This commit is contained in:
committed by
SvyatoslavScherbina
parent
ac757e1285
commit
fe55e1f0e2
+1
-1
@@ -63,4 +63,4 @@ internal fun IrMemberAccessExpression.addArguments(args: List<Pair<ParameterDesc
|
||||
internal fun IrExpression.isNullConst() = this is IrConst<*> && this.kind == IrConstKind.Null
|
||||
|
||||
fun IrCall.usesDefaultArguments(): Boolean =
|
||||
this.descriptor.valueParameters.any { this.getValueArgument(it) != null }
|
||||
this.descriptor.valueParameters.any { this.getValueArgument(it) == null }
|
||||
|
||||
Reference in New Issue
Block a user