dart fix --apply
fails to fix lint
#49043
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
dart-cli-fix
devexp-quick-fix
Issues with analysis server (quick) fixes
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Tried with sdk 7fa9a67.
Input:
dart analyze
output:File after running
dart fix --apply
:Note that
groups
is not moved to the list syntax, and the new file has the same lint error.Interestingly if I remove
..addAll(groups)
in the original program thendart fix --apply
doesn't leave the lastaddAll
outside the list syntax and produces lint-free output. Is there a hard-coded limit on the depth of the tree to transform maybe?The text was updated successfully, but these errors were encountered: