Skip to content

Spelling suggestion is too eager and ignores exact match #16245

@DanielRosenwasser

Description

@DanielRosenwasser
enum U8 {
    BIT_0 = 1 << 0,
    BIT_1 = 1 << 1,
    BIT_2 = 1 << 2
}

U8.bit_2
// ~~~~~

Expected: "Did you mean 'BIT_2'?"
Actual: "Did you mean 'BIT_0'?"

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions