[analysis_server] Autocompletion suggestion for redirecting factory constructors shouldn't add arguments #53016
Labels
analyzer-completion
Issues with the analysis server's code completion feature
analyzer-completion-correctness
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
When auto-completing a call to another constructor when declaring a redirecting factory constructor, arguments shouldn't be added to the result since they can't be specified.
Autocompleting at the
[!]
results in:I would expect:
The text was updated successfully, but these errors were encountered: