[analyzer] Different completion results for constructors with and without named imports #56225
Labels
analyzer-completion
Issues with the analysis server's code completion feature
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)
Hi, consider the following example:
when I type the name of this class and add
.
- only the named constructor appears in the completion suggestions:but when the class is imported via named imports, the default constructor also appears in the completion suggestions:
which is inconsistent (and does not look like the desired behavior)
Dart SDK version: 3.4.3 (stable) (Tue Jun 4 19:51:39 2024 +0000) on "macos_arm64"
The text was updated successfully, but these errors were encountered: