Rollback change in 'usesDefaultArguments'
This commit is contained in:
@@ -120,7 +120,7 @@ fun IrMemberAccessExpression.addArguments(args: List<Pair<ParameterDescriptor, I
|
|||||||
fun IrExpression.isNullConst() = this is IrConst<*> && this.kind == IrConstKind.Null
|
fun IrExpression.isNullConst() = this is IrConst<*> && this.kind == IrConstKind.Null
|
||||||
|
|
||||||
fun IrMemberAccessExpression.usesDefaultArguments(): Boolean =
|
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 IrFunction.createParameterDeclarations() {
|
||||||
fun ParameterDescriptor.irValueParameter() = IrValueParameterImpl(
|
fun ParameterDescriptor.irValueParameter() = IrValueParameterImpl(
|
||||||
|
|||||||
Reference in New Issue
Block a user