Skip to content

Error: Debug Failure. False expression. in 'Object.createRange' during 'getEditsForFileRename' #37685

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.3
VSCode version: 1.43.2
Command requested: getEditsForFileRename
Hitting sessions: 2180
Five line hash: 26ad18b87d095b701e17d7b789e1cce5
Stack:

    at createRange (tsserver.js:16758:18)
    at createStringRange (tsserver.js:115337:19)
    at updateImportsWorker (tsserver.js:115333:64)
    at _loop_4 (tsserver.js:115243:13)
    at updateImports (tsserver.js:115267:13)
    at <anonymous> (tsserver.js:115136:13)
    at ChangeTracker.with (tsserver.js:123413:17)
    at getEditsForFileRename (tsserver.js:115134:49)
    at getEditsForFileRename (tsserver.js:135687:23)
    at <anonymous> (tsserver.js:145745:146)
    at <anonymous> (tsserver.js:144008:36)
    at <anonymous> (tsserver.js:141432:25)
    at ProjectService.forEachProject (tsserver.js:141425:41)
    at ProjectService.forEachEnabledProject (tsserver.js:141430:22)
    at combineProjectOutputFromEveryProject (tsserver.js:144007:28)
    at Session.getEditsForFileRename (tsserver.js:145745:31)
    at _a.<computed> (tsserver.js:144543:61)
    at <anonymous> (tsserver.js:146003:88)
    at Session.executeWithRequestId (tsserver.js:145994:28)
    at Session.executeCommand (tsserver.js:146003:33)
    at Session.onMessage (tsserver.js:146027:35)
    at <anonymous> (tsserver.js:147342: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

No one assigned

    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