Make IrValueDeclaration.type mutable

This commit is contained in:
Georgy Bronnikov
2020-09-10 15:15:53 +03:00
parent 1f37795e08
commit 5065b1a4c6
7 changed files with 32 additions and 8 deletions
@@ -542,7 +542,11 @@ class FunctionInlining(
override val startOffset: Int get() = UNDEFINED_OFFSET
override val endOffset: Int get() = UNDEFINED_OFFSET
override val type: IrType get() = symbol.owner.type
override var type: IrType
get() = symbol.owner.type
set(value) {
symbol.owner.type = value
}
override fun <R, D> accept(visitor: IrElementVisitor<R, D>, data: D) =
visitor.visitGetValue(this, data)