Skip to content

Error: Debug Failure. add-name-to-nameless-parameter operates on identifiers, but got a DotDotDotToken in 'makeChange' during 'getCodeFixes' #38062

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.44.1
Command requested: getCodeFixes
Hitting sessions: 1909
Five line hash: beadcb30e40dd9ab2dd46d4b21396d61
Stack:

    at makeChange (tsserver.js:125092:33)
    at <anonymous> (tsserver.js:125083:96)
    at ChangeTracker.with (tsserver.js:123413:17)
    at getCodeActions (tsserver.js:125083:64)
    at <anonymous> (tsserver.js:124540:77)
    at flatMap (tsserver.js:465:25)
    at getFixes (tsserver.js:124540:23)
    at <anonymous> (tsserver.js:135666:35)
    at flatMap (tsserver.js:465:25)
    at getCodeFixesAtPosition (tsserver.js:135664:23)
    at unknown (suppressed.js)
    at Session.getCodeFixes (tsserver.js:145753:64)
    at _a.<computed> (tsserver.js:144510: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 TypeScriptEffort: CasualGood issue if you're already used to contributing to the codebase. Harder than "good first issue".Help WantedYou can do thisSource: TelemetryThe issue relates to the telemetry in editors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions