I think the main reason with not supporting inheri...
# getting-started
r
I think the main reason with not supporting inheritance in data classes is that the semantics of
copy
,
equals
, and
hashCode
become unclear. So rather than adding complexity the designers chose to keep things simple.