Skip to content

Compiler crash when file casing differs #24

Closed
@RyanCavanaugh

Description

@RyanCavanaugh

Repro consists of:

a.ts

/// <reference path="typings\c.d.ts" />

b.d.ts

declare class Promise<T> {
    x: T;
}

Typings\c.d.ts

/// <reference path="b.d.ts" />
/// <reference path="..\a.ts" />

Invoke: tc Typings\c.d.ts

Result:

Symbol.declarations, function (d) { return d.parent === currentNode.parent; } 
TypeError: Cannot read property 'parent' of undefined

Metadata

Metadata

Assignees

No one assigned

    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