-
Notifications
You must be signed in to change notification settings - Fork 1.7k
new lint: warn when overriding toString() in a Diagnosticable #57926
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
Comments
See: #34378 (Another case where an annotation would help.) |
Now that we have support for A preliminary is updating flutter to get the latest |
|
@pq thanks for the new lint!
|
you will be able to do that by extending the existing debugFillProperties method to specify which color is important. |
@jacob314 for |
@a14n: would you be up for cleaning up |
Leaving FlutterErrorDetails is reasonable. Like any ignore, it would be nice to later cleanup to avoid using an ignore but it isn't critical. |
Removing https://github.com/flutter/flutter/blob/a901b650b60b96413b93daf85ceadf2c869f0688/packages/flutter/test/widgets/list_view_test.dart#L30 doesn't generate test failures. So you can directly remove it in your PR that adds the lint. |
From flutter/flutter#29622 (comment).
The text was updated successfully, but these errors were encountered: