-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Removing unnecessary parenthesis #7881
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
Conversation
cbracken
left a comment
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.
The change in its current form LGTM, but you'll need to update the changelog.
Do I add the change to the closest Or do I only need to add it to the cases where the change is outside the example folder? |
|
I've been working on Flutter nearly a decade and I'll be honest, until yesterday I didn't know either (evidence). The example changes won't need anything, but CI is likely complaining about the following:
So I suspect bumping the patch version here: and adding a changelog entry here: should be sufficient. |
|
Looks like this test needs fixing: Looking at this line in the pubspec.yaml, you'll want to update this line in generator_tools.dart. |
|
Thanks. I had completely ignored that comment. |
|
CHANGELOG/version override: While this technically changes some production code, the change is a no-op other than to silence a warning. (Technically the example/lib/main.dart changes should have a version change under our policy since they are published to pub.dev, but the change is trivial enough that we can just pick that up on the next publish event.) |
flutter/packages@a35f02d...5582669 2024-10-17 [email protected] [two_dimensional_scrollables] Fixes TreeViewNode collapsing not working (flutter/packages#7474) 2024-10-17 [email protected] Revert "[in_app_purchase_storekit] Add support for purchase and transactions #7574" (flutter/packages#7886) 2024-10-17 [email protected] [camera_android] Mark `description` in `sendCameraErrorEvent` as `@NonNull` (flutter/packages#7877) 2024-10-17 [email protected] [image_picker_web] Loosen mime dep to >=1.0.4 <3.0.0 (flutter/packages#7879) 2024-10-17 [email protected] Removing unnecessary parenthesis (flutter/packages#7881) 2024-10-17 [email protected] [in_app_purchase_storekit] Add support for purchase and transactions #7574 (flutter/packages#7812) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This is simply removing unnecessary parenthesis from various places inside the packages. This change is because of a change to the unnecessary_parentesis lint that will trigger in these places. Here is the CL https://dart-review.googlesource.com/c/sdk/+/390161.
unnecessary_parenthesis] false negative in conditional operator dart-lang/sdk#57126Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].CHANGELOG.mdto add a description of the change, [following repository CHANGELOG style], or this PR is [exempt from CHANGELOG changes].///).If anything else is needed please let me know.
I'd like to ask for this PR to wait a bit until the bots are run again on that CL so that I can be sure nothing else will trigger, I will come back here and update this whenever everything is complete. Thanks!