[tree generator] Remove AbstractField.defaultValueInBase

It is now unneeded, and future needs should be possible to
be resolved otherwise.
Removing it will simplify further changes to tree generator,
especially for IR.
This commit is contained in:
Wojciech Litewka
2024-03-12 13:43:42 +01:00
committed by Space Team
parent 6b9a671476
commit c1266daf73
5 changed files with 9 additions and 12 deletions
@@ -32,7 +32,6 @@ sealed class Field(
override var withGetter: Boolean = false
override var defaultValueInBase: String? = null
override var defaultValueInImplementation: String? = null
override var defaultValueInBuilder: String?
get() = null
@@ -58,7 +57,6 @@ sealed class Field(
override fun updateFieldsInCopy(copy: Field) {
super.updateFieldsInCopy(copy)
copy.withGetter = withGetter
copy.defaultValueInBase = defaultValueInBase
copy.defaultValueInImplementation = defaultValueInImplementation
copy.customUseInIrFactoryStrategy = customUseInIrFactoryStrategy
copy.customSetter = customSetter