Skip to content

Error in 'findRightmostChildNodeWithTokens' during 'quickinfo' #46946

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: 4.5.2
VSCode version: 1.63.0-insider
Command requested: quickinfo
Hitting sessions: 252
Five line hash: f56d3f7ffcdccb71556bd2cea00d6c77
Stack:

    at findRightmostChildNodeWithTokens (tsserver.js:123979:26)
    at find (tsserver.js:123953:29)
    at findPrecedingToken (tsserver.js:123903:22)
    at nodeContainsPosition (tsserver.js:123838:37)
    at <anonymous> (tsserver.js:123795:21)
    at binarySearchKey (tsserver.js:1200:21)
    at _loop_1 (tsserver.js:123770:24)
    at getTokenAtPositionWorker (tsserver.js:123820:27)
    at getTouchingToken (tsserver.js:123755:16)
    at getTouchingPropertyName (tsserver.js:123747:16)
    at getQuickInfoAtPosition (tsserver.js:160056:27)
    at Session.getQuickInfoWorker (tsserver.js:171406:62)
    at _a.<computed> (tsserver.js:170300:61)
    at <anonymous> (tsserver.js:172158:88)
    at Session.executeWithRequestId (tsserver.js:172149:28)
    at Session.executeCommand (tsserver.js:172158:33)
    at Session.onMessage (tsserver.js:172184:35)
    at <anonymous> (tsserver.js:174789:31)
    at unknown (suppressed.js:315:20)
    at unknown (suppressed.js:337:10)
    at unknown (suppressed.js:482:12)
    at unknown (suppressed.js:194:10)
    at unknown (suppressed.js:315:20)
    at unknown (suppressed.js:309:12)
    at unknown (suppressed.js:284:9)
    at unknown (suppressed.js:223:10)
    at unknown (suppressed.js:188:23)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFix AvailableA PR has been opened for this issueSource: 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