and on that note, is it possible to add default params to the abstract vals somehow? if I make them open nonabstract and add defaults there, it wont get applied to subclasses right?
h
Hullaballoonatic
07/10/2019, 2:41 AM
i'm not sure what you mean by that. if you override the open parameter, then it won't receive the default value, yes. you can still provide another default value to the overridden field, if you want.
u
ursus
07/10/2019, 3:31 AM
yea, but then defaults are per leaf class, so they cannot be synchronized via base class .. other than using external consts, but still