one of the key reasons why data classes have all t...
# language-proposals
y
one of the key reasons why data classes have all the restrictions that they do is in order to have precise and predictable semantics for equals and hashCode