Open floitschG opened 9 years ago
Given the complexities of overriding the equality operator (see [0]), the docs should have correct examples of how to override the operator. Both the "Idiomatic Dart" [1] and the dartdoc [2] don't provide examples.
[0] http://work.j832.com/2014/05/equality-and-dart.html [1] https://www.dartlang.org/articles/idiomatic-dart/#equality [2] https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:core.Object#id_==
Removed Type-Defect label. Added Type-Documentation label.
Given the complexities of overriding the equality operator (see [0]), the docs should have correct examples of how to override the operator. Both the "Idiomatic Dart" [1] and the dartdoc [2] don't provide examples.
[0] http://work.j832.com/2014/05/equality-and-dart.html [1] https://www.dartlang.org/articles/idiomatic-dart/#equality [2] https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:core.Object#id_==