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(
irFunction: IrFunction,
origin: IrDeclarationOrigin = this.origin,
index: Int = this.index,
startOffset: Int = this.startOffset,
endOffset: Int = this.endOffset,
origin: IrDeclarationOrigin = this.origin,
name: Name = this.name,
type: IrType = this.type.remapTypeParameters(this.parent as IrTypeParametersContainer, irFunction),
varargElementType: IrType? = this.varargElementType