-
Notifications
You must be signed in to change notification settings - Fork 29.7k
fix sort_directives violations #80817
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
|
Gold has detected about 1 untriaged digest(s) on patchset 1. |
|
Looks like there were several places where the imports were sorted about the language version comment: |
|
Ah. Not good. Thanks for the catch @jonahwilliams. I'll tidy up. Thanks! |
|
Sorry for the haste. I should have run |
|
Gold has detected about 1 untriaged digest(s) on patchset 4. |
goderbauer
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 golden file change is ... unexpected. Maybe it needs to be rebased to latest master?
dev/benchmarks/complex_layout/test/measure_scroll_smoothness.dart
Outdated
Show resolved
Hide resolved
packages/flutter_tools/test/commands.shard/permeable/analyze_once_test.dart
Show resolved
Hide resolved
packages/flutter_tools/test/general.shard/ios/ios_device_start_nonprebuilt_test.dart
Show resolved
Hide resolved
packages/flutter_tools/test/general.shard/resident_devtools_handler_test.dart
Show resolved
Hide resolved
goderbauer
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.
LGTM
|
This pull request is not suitable for automatic merging in its current state.
|
|
This pull request is not suitable for automatic merging in its current state.
|
# Conflicts: # packages/flutter_tools/test/general.shard/bundle_shim_test.dart
Mitigating PRs: https://dart-review.googlesource.com/c/sdk/+/196223 https://dart-review.googlesource.com/c/sdk/+/196180 flutter/flutter#80817 flutter/flutter#80901 Change-Id: Ib916d541076e24b9e8db1d6120dbc043d9e40b87 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196026 Commit-Queue: Phil Quitslund <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
This reverts commit 17644ee. Reason for revert: This caused various failures in HHH configuration which is an early warning that dart-lang/sdk -> flutter/{engine,flutter} rolls will not work smoothly. See more information in go/dartvm-gardening-log for various failures this causes. Original change's description: > linter 1.4.0 > > Mitigating PRs: > > https://dart-review.googlesource.com/c/sdk/+/196223 > https://dart-review.googlesource.com/c/sdk/+/196180 > > flutter/flutter#80817 > flutter/flutter#80901 > > > > > > Change-Id: Ib916d541076e24b9e8db1d6120dbc043d9e40b87 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196026 > Commit-Queue: Phil Quitslund <[email protected]> > Reviewed-by: Brian Wilkerson <[email protected]> [email protected],[email protected],[email protected] Change-Id: I15af9de53d98de7b65902a015bef7ac2d368abeb No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196499 Reviewed-by: Martin Kustermann <[email protected]> Commit-Queue: Martin Kustermann <[email protected]>
This is a reland of 17644ee Additional supporting changes in flutter (and plugins): flutter/flutter#81017 flutter/plugins#3823 flutter/flutter#80817 flutter/flutter#80901 flutter/flutter#81210 Additional context in meta linter issue: https://github.com/dart-lang/linter/issues/2609 Original change's description: > linter 1.4.0 > > Mitigating PRs: > > https://dart-review.googlesource.com/c/sdk/+/196223 > https://dart-review.googlesource.com/c/sdk/+/196180 > > flutter/flutter#80817 > flutter/flutter#80901 > > > > > > Change-Id: Ib916d541076e24b9e8db1d6120dbc043d9e40b87 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196026 > Commit-Queue: Phil Quitslund <[email protected]> > Reviewed-by: Brian Wilkerson <[email protected]> Change-Id: Ie6b9682a2f54ef039dd7ac9c6a46cb925615acef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196581 Commit-Queue: Phil Quitslund <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
The upcoming linter release includes a fix to
sort_directivesthat will trigger a host of new violations. This fixes them up.See: https://dart-review.googlesource.com/c/sdk/+/196026
Relevant failures: https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/8849409225986491904/+/steps/analyze_flutter_flutter/0/stdout
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.