dart fix
doesn't trigger on extra_positional_arguments
lint
#54668
Labels
analyzer-data-driven-fixes
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
For a repro create the following files:
lib/fix_data/foo.yaml
lib/foo.dart
lib/bar.dart
pubspec.yaml
Running
dart analyze
shows that there is an issue:However,
dart fix
says there's nothing to fix:The expectation is that this command would have changed the line above marked by 🔥 to be
Foo().foo(1);
, but it sadly doesn't do that.The text was updated successfully, but these errors were encountered: