I'm also puzzled as to how the synthetic members generated by the compiler on data classes are supposed to behave when there is inheritance mixed in.
Since data classes receive
equals
,
hashCode
automatically based on its own properties, what happens when you extend another class that provides its own members. Are those considered in the synthetic members generation?