Also it's a shame that you cannot, because that could save a lot of copy+pasted code
k
karelpeeters
06/01/2019, 10:12 PM
Inner objects?
h
Hullaballoonatic
06/01/2019, 10:12 PM
by that i mean whatever type companion objects are
k
karelpeeters
06/01/2019, 10:42 PM
Ah no, it's not possible to have anything inheritance-like for companion objects.
t
thana
06/02/2019, 11:44 AM
if you think that's a shame, you could try starting a discussion about that on discuss.kotlinlang.org
in java, the parameterless default constructor is autogenerated when you do not define any other constructor. I think it's woth at least thinking about autogenerating a "default" constructor matching the parantclasses primary constructor (which will get hairy as soon as you inherit from that class again)