Zen 422fd1962e
Spelling correction fixes should not be case-agnostic for two equally weighed options (#39060)
* Spelling correction fixes should not be case-agnostic when two equally weighed options occur. fixes #17219

* update tests

* Update src/compiler/core.ts

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>

* init bestCaseSensitiveDistance lazily

* Add a test case with a class named the same as an instance, except for case

* make the core levenshtein distance check case-aware

* Update package-lock.json

* use fractional Levenshtein distance

* fix weight of Levenshtein distance

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

* Update src/compiler/core.ts

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>

* refactor

* Update package-lock.json

* revert unnecessary changes

* Update package-lock.json

* increase bestDistance

* increase bestDistance again

* make changes minimal

* Update package-lock.json

* Update package-lock.json

* Update package-lock.json

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2020-12-15 10:36:05 -08:00
..
2020-06-03 12:59:16 -04:00
2020-07-09 18:35:54 -07:00
2020-03-04 14:52:33 -05:00
2020-03-04 14:52:33 -05:00
2020-06-17 22:41:08 +08:00
2020-09-09 10:45:09 -07:00
2020-09-09 10:45:09 -07:00
2020-09-09 10:45:09 -07:00
2020-09-09 10:45:09 -07:00
2020-06-18 10:33:17 +08:00
2020-05-26 19:26:28 -07:00
2020-05-26 19:26:28 -07:00
2020-05-26 19:26:28 -07:00
2020-05-22 16:46:32 -07:00
2020-05-22 16:46:32 -07:00
2020-05-22 16:47:35 -07:00
2020-05-26 19:26:28 -07:00