Closed FireJade closed 8 years ago
Currently, record equality delegates to ScalaRunTime._equals, which takes only the elements of the record into account and not its productPrefix or type. We additionally check canEqual, which uses isInstanceOf, to ensure that the types can be equal.
This LGTM.
Currently, record equality delegates to ScalaRunTime._equals, which takes only the elements of the record into account and not its productPrefix or type. We additionally check canEqual, which uses isInstanceOf, to ensure that the types can be equal.