Skip to content

Error: Debug Failure. False expression. in 'tryReuseStructureFromOldProgram' during 'getApplicableRefactors' #36718

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.7.5
VSCode version: 1.42.0-insider
Command requested: getApplicableRefactors
Hitting sessions: 578
Five line hash: c555779c0dba20bfc9ebeeaea27a20e2
Stack:

    at tryReuseStructureFromOldProgram (tsserver.js:95350:22)
    at createProgram (tsserver.js:94984:30)
    at synchronizeHostData (tsserver.js:130666:26)
    at getProgram (tsserver.js:130758:13)
    at Project.updateGraphWorker (tsserver.js:135109:53)
    at Project.updateGraph (tsserver.js:135052:42)
    at updateProjectIfDirty (tsserver.js:136266:45)
    at Project.getLanguageService (tsserver.js:134722:28)
    at Session.getApplicableRefactors (tsserver.js:140717:32)
    at _a.<computed> (tsserver.js:139570:61)
    at <anonymous> (tsserver.js:140960:88)
    at Session.executeWithRequestId (tsserver.js:140951:28)
    at Session.executeCommand (tsserver.js:140960:33)
    at Session.onMessage (tsserver.js:140983:35)
    at <anonymous> (tsserver.js:142298: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 TypeScriptFix AvailableA PR has been opened for this issueSource: TelemetryThe issue relates to the telemetry in editorsVS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions