fix sort_directives violations#80817
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.
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
|
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.