Change order of arguments in IrValueParameter.copyTo

This commit is contained in:
Georgy Bronnikov
2018-11-27 18:04:57 +03:00
parent c018109bca
commit f4a189fe82
@@ -155,10 +155,10 @@ val IrFunctionReference.isSuspend get() = (symbol.owner as? IrSimpleFunction)?.i
fun IrValueParameter.copyTo( fun IrValueParameter.copyTo(
irFunction: IrFunction, irFunction: IrFunction,
origin: IrDeclarationOrigin = this.origin,
index: Int = this.index, index: Int = this.index,
startOffset: Int = this.startOffset, startOffset: Int = this.startOffset,
endOffset: Int = this.endOffset, endOffset: Int = this.endOffset,
origin: IrDeclarationOrigin = this.origin,
name: Name = this.name, name: Name = this.name,
type: IrType = this.type.remapTypeParameters(this.parent as IrTypeParametersContainer, irFunction), type: IrType = this.type.remapTypeParameters(this.parent as IrTypeParametersContainer, irFunction),
varargElementType: IrType? = this.varargElementType varargElementType: IrType? = this.varargElementType