Rollback change in 'usesDefaultArguments'

This commit is contained in:
Mikhael Bogdanov
2017-12-20 10:58:26 +01:00
parent 32b90a1cae
commit 3e1f471121
@@ -120,7 +120,7 @@ fun IrMemberAccessExpression.addArguments(args: List<Pair<ParameterDescriptor, I
fun IrExpression.isNullConst() = this is IrConst<*> && this.kind == IrConstKind.Null
fun IrMemberAccessExpression.usesDefaultArguments(): Boolean =
this.descriptor.valueParameters.any { this.getValueArgument(it) == null && !it.isVararg}
this.descriptor.valueParameters.any { this.getValueArgument(it) == null}
fun IrFunction.createParameterDeclarations() {
fun ParameterDescriptor.irValueParameter() = IrValueParameterImpl(