-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[url_launcher] fix noop toString() diagnostics #6173
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@goderbauer, @stuartmorgan : could you advise about the version check failure reported by the "publishable" bot? |
Th exceptions to requiring a new version are listed here: https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#version. I think this PR qualifies for the following exception:
I added the exception label and restarted the check. |
I think for the same reason, we don't need a changelog. (Tag added.) |
It's not a big deal in this case, but for future reference this did not qualify. This changed actual production code run by clients of the package, and thus should have had a version change, because it could have been wrong. Extremely unlikely here, but possible. "I'm sure this won't break anything" is a famously common description of changes that break things 🙂 That exception is for things like:
because that comment does not have any impact on the code as run by clients. |
Thanks for chiming in @stuartmorgan! |
Noted! |
Flutter engine fixes: flutter/engine#35100 Flutter tools fixes: flutter/flutter#108836 Flutter plugins test fixes: flutter/plugins#6173 Flutter plugins script fixes: flutter/plugins#6175 Flutter plugins testing/scenario_app: flutter/engine#35165 (Internal) linter test execution fixes: cl/464897186 Change-Id: Ica7cbcba7599d1367fc67e088ff634398a160df7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/253501 Commit-Queue: Phil Quitslund <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
Fix diagnostics that will get flagged in the next Dart SDK roll.
See breakage:
https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8806923775196938257/+/u/flutter_test_flutter_plugins/stdout
Source Linter DEP bump: https://dart-review.googlesource.com/c/sdk/+/253501
/cc @a14n @srawlins
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.