Skip to content

TypeError: Cannot read property 'kind' of undefined in 'isPropertyDeclaration' during 'completionInfo' #36978

Closed
@typescript-bot

Description

@typescript-bot

This issue comes from crash dumps in telemetry. We've tried to de-duplicate issues on a best-effort basis, comparing the sequence of methods called and the command requested while ignoring line numbers.
TypeScript version prefix: 3.8.2
VSCode version: 1.42.1
Command requested: completionInfo
Hitting sessions: 120
Five line hash: 770cb3d3a974358c35063d0bf324f946
Stack:

    at isPropertyDeclaration (tsserver.js:10875:21)
    at isPrivateIdentifierPropertyDeclaration (tsserver.js:11694:16)
    at <anonymous> (tsserver.js:108991:95)
    at stringLiteralCompletionsFromProperties (tsserver.js:108991:59)
    at getStringLiteralCompletionEntries (tsserver.js:108924:36)
    at getStringLiteralCompletions (tsserver.js:108806:35)
    at getCompletionsAtPosition (tsserver.js:109518:67)
    at getCompletionsAtPosition (tsserver.js:135310:35)
    at Session.getCompletions (tsserver.js:145389:64)
    at _a.<computed> (tsserver.js:144337:61)
    at <anonymous> (tsserver.js:145957:88)
    at Session.executeWithRequestId (tsserver.js:145948:28)
    at Session.executeCommand (tsserver.js:145957:33)
    at Session.onMessage (tsserver.js:145981:35)
    at <anonymous> (tsserver.js:147296:27)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)
    at unknown (suppressed.js)

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptSource: TelemetryThe issue relates to the telemetry in editors

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions