<@U2H3SABQF> Kotlin's data classes compute equals,...
# language-proposals
l
@elect Kotlin's data classes compute equals, hashCode and toString only on the `val`s and `var`s declared in the constructor according to the doc. If you need to compute these methods with a
val
or
var
not declared in the constructor, you may need to use your IDE's generate options to automatically implement the methods properly
👍 1