Skip to content

Analysis server has broken navigation link from enum .values #46253

@stereotype441

Description

@stereotype441

Repro: using an editor with Dart analysis server integration (like IntelliJ), find a reference to the .values getter of an enum class (for example, HintActionKind.values on line 14 of pkg/nnbd_migration/lib/src/hint_action.dart). Click on the identifier values and ask the editor to navigate to the definition.

Expected result: the user should be navigated to the declaration of the enum.
Observed result: the user is directed to the top of the file containing the enum.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions