IR: make IrDeclarationReference and subtypes classes

This commit is contained in:
Alexander Udalov
2020-07-22 19:15:34 +02:00
parent ee904a975a
commit ba7ff36274
15 changed files with 39 additions and 66 deletions
@@ -511,7 +511,7 @@ class FunctionInlining(
private class IrGetValueWithoutLocation(
override val symbol: IrValueSymbol,
override val origin: IrStatementOrigin? = null
) : IrExpressionBase(), IrGetValue {
) : IrGetValue() {
override val startOffset: Int get() = UNDEFINED_OFFSET
override val endOffset: Int get() = UNDEFINED_OFFSET