New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad operator== in dart2js_mirror.dart #11641
Comments
Added this to the M7 milestone. |
Is this still an issue? Removed Priority-Unassigned label. |
Yes. |
It is actually a false positive, and we do not currently require a hint-free analyze_dart2js_test. |
It is not a false positive. The implementation in mirrors is brittle and shouldn't be written that way. |
Removed this from the 1.6 milestone. |
Removed Oldschool-Milestone-1.6 label. |
Closing since |
dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart:1256:17: Hint: The class "Dart2JsDynamicMirror" overrides "operator==", but not "get hashCode".
bool operator ==(Object other) {
^^
dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart:1224:17: Hint: The class "Dart2JsVoidMirror" overrides "operator==", but not "get hashCode".
bool operator ==(Object other) {
^^
dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart:1105:17: Hint: The class "Dart2JsInterfaceTypeMirror" overrides "operator==", but not "get hashCode".
bool operator ==(Object other) {
^^
dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart:973:17: Hint: The class "Dart2JsTypeVariableMirror" overrides "operator==", but not "get hashCode".
bool operator ==(var other) {
^^
dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart:850:17: Hint: The class "Dart2JsClassMirror" overrides "operator==", but not "get hashCode".
bool operator ==(Object other) {
^^
The text was updated successfully, but these errors were encountered: