Skip to content

Unexpected error message on case-sensitive file system when file is included in program both via relative and absolute names #5274

Closed

Description

// a.ts
<reference path="b.ts"/>
// b.ts
var x
vladima@vladima-OptiPlex-990:~/Sources/TypeScript$ node built/local/tsc.js a.ts $(pwd)/b.ts
error TS1149: File name '/home/vladima/Sources/TypeScript/b.ts' differs from already included file name 'b.ts' only in casing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions