-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Description
TypeScript Version: 3.1.2 Grabbed from the file C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.1\tsserver.js:
// WARNING: The script `configureNightly.ts` uses a regexp to parse out these values.
// If changing the text in this section, be sure to test `configureNightly` too.
ts.versionMajorMinor = "3.1";
/** The version of the TypeScript compiler release */
ts.version = ts.versionMajorMinor + ".2";But the issue is present in the latest version, too.
Search Terms:
- unicode
- unicode path
- turkish
Code
I don't know TypeScript yet. Still, I've tried, but I couldn't figure out how the ts global variable is used.
The function with the problem is here:
TypeScript/src/compiler/core.ts
Line 2093 in 94f19c7
| export function createGetCanonicalFileName(useCaseSensitiveFileNames: boolean): GetCanonicalFileName { |
If we're on Windows, this function returns a function that returns the lowercased version of the parameter given. So C:/Users/Serhan/Desktop/İ returns c:/users/serhan/desktop/i̇.
Expected behavior:
All I can say is that the use of toLowerCase is not the expected behavior here. Because these two paths are not the same on Windows.
Related Issues: