-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this
Milestone
Description
TypeScript Version: 1.8.10
Code
In src/compiler/sys.ts there is such line (316):
const useCaseSensitiveFileNames = platform !== "win32" && platform !== "win64" && platform !== "darwin";
It detects case-sensitivity based on platform name, which is considered a bad practice.
I am working on Mac OS system with case-sensitive file system, so it's broken for me (I faced the problem with it while using tsify.
Expected behavior:
File system case sensitivity detection is based on it's real behavior.
Actual behavior:
File system case sensitivity detection is based on platform name.
denisvidyakin, Nedelkin, Vadimhtml, thybzi and llCorvinSll
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this