Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler crash when file casing differs #24

Closed
RyanCavanaugh opened this issue Jul 15, 2014 · 1 comment
Closed

Compiler crash when file casing differs #24

RyanCavanaugh opened this issue Jul 15, 2014 · 1 comment
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@RyanCavanaugh
Copy link
Member

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
@sophiajt sophiajt added this to the TypeScript 2.0 milestone Jul 16, 2014
@vladima
Copy link
Contributor

vladima commented Jul 17, 2014

should already be fixed

@vladima vladima closed this as completed Jul 17, 2014
@vladima vladima removed the Fixed label Aug 5, 2014
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

4 participants