Minor: Remove duplicate IrSetField builder
This commit is contained in:
committed by
Alexander Udalov
parent
86683e94fc
commit
1fafbb8d72
@@ -333,16 +333,6 @@ fun IrBuilderWithScope.irConcat() =
|
|||||||
IrStringConcatenationImpl(startOffset, endOffset, context.irBuiltIns.stringType)
|
IrStringConcatenationImpl(startOffset, endOffset, context.irBuiltIns.stringType)
|
||||||
|
|
||||||
|
|
||||||
fun IrBuilderWithScope.irSetField(receiver: IrExpression, irField: IrField, value: IrExpression): IrExpression =
|
|
||||||
IrSetFieldImpl(
|
|
||||||
startOffset,
|
|
||||||
endOffset,
|
|
||||||
irField.symbol,
|
|
||||||
receiver = receiver,
|
|
||||||
value = value,
|
|
||||||
type = context.irBuiltIns.unitType
|
|
||||||
)
|
|
||||||
|
|
||||||
inline fun IrBuilderWithScope.irBlock(
|
inline fun IrBuilderWithScope.irBlock(
|
||||||
startOffset: Int = this.startOffset,
|
startOffset: Int = this.startOffset,
|
||||||
endOffset: Int = this.endOffset,
|
endOffset: Int = this.endOffset,
|
||||||
|
|||||||
Reference in New Issue
Block a user