Skip to content

Builds failing due tslint crash using nightly build #6478

Closed
@DanielRosenwasser

Description

@DanielRosenwasser

Looks like it was introduced by 9df1ed4

Repro

  1. From an initialized TypeScript repo (i.e. you've already run npm install within it), run npm install typescript@1.8.0-dev.20160114
  2. Run jake lint.

Expected: No lint errors.
Actual:

$ jake lint
jake aborted.
TypeError: Cannot read property 'name' of undefined
    at getPropertySymbolsFromBaseTypes (C:\Users\drosen\TypeScript2\node_modules\typescript\lib\typescript.js:49945:73)
    at getPropertySymbolFromTypeReference (C:\Users\drosen\TypeScript2\node_modules\typescript\lib\typescript.js:49970:29)

@yuit can you look into this?

Any fix should also include a revert of 62c3bfb from #6484.

Metadata

Metadata

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueHigh PriorityInfrastructureIssue relates to TypeScript team infrastructure

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions