Skip to content

TypeError: Cannot read property 'declarations' of undefined at addPrefixForAnyFunctionOrVar #20475

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

Closed
aozgaa opened this issue Dec 5, 2017 · 0 comments
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue Source: Telemetry The issue relates to the telemetry in editors

Comments

@aozgaa
Copy link
Contributor

aozgaa commented Dec 5, 2017

Hits / session: 19.1

Stack:

TypeError: Cannot read property 'declarations' of undefined
    at addPrefixForAnyFunctionOrVar (tsserver.js:73228:40)
    at Object.getSymbolDisplayPartsDocumentationAndSymbolKind (tsserver.js:72988:29)
    at Object.getQuickInfoAtPosition (tsserver.js:81272:70)
    at IOSession.Session.getReferences (tsserver.js:87549:72)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (tsserver.js:86812:61)
    at tsserver.js:88233:88
    at IOSession.Session.executeWithRequestId (tsserver.js:88224:28)
    at IOSession.Session.executeCommand (tsserver.js:88233:33)
    at IOSession.Session.onMessage (tsserver.js:88253:35)
    at Interface.<anonymous> (tsserver.js:89454:27)
    at emitOne (events.js:96:13)
    at Interface.emit (events.js:191:7)
    at Interface._onLine (readline.js:241:10)
    at Interface._normalWrite (readline.js:384:12)
    at Socket.ondata (readline.js:101:10)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at readableAddChunk (_stream_readable.js:178:18)
    at Socket.Readable.push (_stream_readable.js:136:10)
    at Pipe.onread (net.js:560:20)
@RyanCavanaugh RyanCavanaugh self-assigned this Dec 6, 2017
@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Dec 6, 2017
RyanCavanaugh added a commit to RyanCavanaugh/TypeScript that referenced this issue Dec 7, 2017
RyanCavanaugh added a commit to RyanCavanaugh/TypeScript that referenced this issue Dec 7, 2017
@RyanCavanaugh RyanCavanaugh added the Fixed A PR has been merged for this issue label Dec 13, 2017
@aozgaa aozgaa added the Source: Telemetry The issue relates to the telemetry in editors label Dec 19, 2017
@mhegazy mhegazy added this to the TypeScript 2.7 milestone Jan 11, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 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 Source: Telemetry The issue relates to the telemetry in editors
Projects
None yet
Development

No branches or pull requests

3 participants