dart fix --apply generates duplicate entries for debugFillProperties #55772
Labels
analyzer-quick-fix
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-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Dart 3.3.3
When running 'dart fix --apply' where the lint debugFillProperties has been generated, the fix tool creates duplicate entries.
Here is the test file:
I'm expecting to see the following generated method added to _MyHomePageState:
Here is the result that I get:
If there is already a debugFillProperties in the class (as there is for MyHomePage) then it behaves correctly.
The text was updated successfully, but these errors were encountered: