IR: cleanup expression implementations
Remove unused constructors with descriptors, minimize usages of secondary constructors and make some properties non-lateinit, fix some inspections.
This commit is contained in:
+1
-3
@@ -673,9 +673,7 @@ abstract class IrFileDeserializer(
|
||||
val operator = deserializeTypeOperator(proto.operator)
|
||||
val operand = deserializeIrType(proto.operand)//.brokenIr
|
||||
val argument = deserializeExpression(proto.argument)
|
||||
return IrTypeOperatorCallImpl(start, end, type, operator, operand).apply {
|
||||
this.argument = argument
|
||||
}
|
||||
return IrTypeOperatorCallImpl(start, end, type, operator, operand, argument)
|
||||
}
|
||||
|
||||
private fun deserializeVararg(proto: ProtoVararg, start: Int, end: Int, type: IrType): IrVararg {
|
||||
|
||||
Reference in New Issue
Block a user