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

TypeError: Cannot read property 'symbol' of undefined #25725

Closed
cevek opened this issue Jul 17, 2018 · 0 comments
Closed

TypeError: Cannot read property 'symbol' of undefined #25725

cevek opened this issue Jul 17, 2018 · 0 comments
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@cevek
Copy link

cevek commented Jul 17, 2018

TypeScript Version: 3.0.0-dev.20180712

Search Terms:

Code

TypeError: Cannot read property 'symbol' of undefined
    at getInfo (/usr/local/lib/node_modules/typescript/lib/tsserver.js:105474:44)
    at Object.getCodeActions (/usr/local/lib/node_modules/typescript/lib/tsserver.js:105371:28)
    at /usr/local/lib/node_modules/typescript/lib/tsserver.js:103819:121
    at Object.flatMap (/usr/local/lib/node_modules/typescript/lib/tsserver.js:498:25)
    at Object.getFixes (/usr/local/lib/node_modules/typescript/lib/tsserver.js:103819:23)
    at /usr/local/lib/node_modules/typescript/lib/tsserver.js:111665:35
    at Object.flatMap (/usr/local/lib/node_modules/typescript/lib/tsserver.js:498:25)
    at Object.getCodeFixesAtPosition (/usr/local/lib/node_modules/typescript/lib/tsserver.js:111663:23)
    at IOSession.Session.getCodeFixes (/usr/local/lib/node_modules/typescript/lib/tsserver.js:119225:64)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (/usr/local/lib/node_modules/typescript/lib/tsserver.js:118099:61)
    at /usr/local/lib/node_modules/typescript/lib/tsserver.js:119389:88
    at IOSession.Session.executeWithRequestId (/usr/local/lib/node_modules/typescript/lib/tsserver.js:119380:28)
    at IOSession.Session.executeCommand (/usr/local/lib/node_modules/typescript/lib/tsserver.js:119389:33)
    at IOSession.Session.onMessage (/usr/local/lib/node_modules/typescript/lib/tsserver.js:119409:35)
    at Interface.<anonymous> (/usr/local/lib/node_modules/typescript/lib/tsserver.js:120676:27)

Expected behavior:

Actual behavior:

Playground Link:

Related Issues:

tsserver log id: 3897983895

@mhegazy mhegazy added the Bug A bug in TypeScript label Jul 17, 2018
@mhegazy mhegazy assigned ghost Jul 17, 2018
@mhegazy mhegazy added this to the TypeScript 3.1 milestone Jul 17, 2018
@ghost ghost added the Fixed A PR has been merged for this issue label Jul 27, 2018
@ghost ghost closed this as completed in #25995 Aug 10, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

2 participants