TypeScript/tests/cases/compiler/exactSpellingSuggestion.ts
Nathan Shively-Sanders 1d8f57e7b3 Favour exact-match spelling suggestions
Previously, the first match that was close enough was returned as the
spelling suggestion. Now, if there is a candidate that differs only by
case, it will always be the suggestion.
2017-06-05 11:17:44 -07:00

10 lines
174 B
TypeScript

// Fixes #16245 -- always suggest the exact match, even when
// other options are very close
enum U8 {
BIT_0 = 1 << 0,
BIT_1 = 1 << 1,
BIT_2 = 1 << 2
}
U8.bit_2