Skip to content

[analyzer] Missing completion for enum constants #56971

@incendial

Description

@incendial

Hi,

enum Test {
  first,
  last;

  static List<Test> get all => [fi /* continue typing here */];
}

enum values are not suggested inside the list literal, though both first and last (without the enum prefix) are valid.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work ondevexp-completionIssues with the analysis server's code completion featurelegacy-area-analyzerUse area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions