Make IrValueDeclaration.type mutable
This commit is contained in:
@@ -15,5 +15,5 @@ abstract class IrValueDeclaration : IrDeclarationBase(), IrDeclarationWithName,
|
||||
abstract override val descriptor: ValueDescriptor
|
||||
|
||||
abstract override val symbol: IrValueSymbol
|
||||
abstract val type: IrType
|
||||
abstract var type: IrType
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ class IrVariableImpl(
|
||||
override var origin: IrDeclarationOrigin,
|
||||
override val symbol: IrVariableSymbol,
|
||||
override val name: Name,
|
||||
override val type: IrType,
|
||||
override var type: IrType,
|
||||
override val isVar: Boolean,
|
||||
override val isConst: Boolean,
|
||||
override val isLateinit: Boolean
|
||||
|
||||
Reference in New Issue
Block a user