Skip to content

Error getting completions  #21208

@mhegazy

Description

@mhegazy
  • include @types/node
  • in a .ts file add:
process.
  • request completions
Error processing request. Debug Failure. False expression.
Error: Debug Failure. False expression.
    at isValidMethodAccess (C:\ls\tsserver.js:39201:22)
    at isValidPropertyAccessForCompletions (C:\ls\tsserver.js:39196:62)
    at Object.isValidPropertyAccessForCompletions (C:\ls\tsserver.js:24440:34)
    at addTypeProperties (C:\ls\tsserver.js:82005:41)
    at getTypeScriptMemberSymbols (C:\ls\tsserver.js:81990:21)
    at getCompletionData (C:\ls\tsserver.js:81915:17)
    at Object.getCompletionsAtPosition (C:\ls\tsserver.js:81238:34)
    at Object.getCompletionsAtPosition (C:\ls\tsserver.js:99792:35)
    at IOSession.Session.getCompletions (C:\ls\tsserver.js:107442:64)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (C:\ls\tsserver.js:106518:61)
    at C:\ls\tsserver.js:107920:88
    at IOSession.Session.executeWithRequestId (C:\ls\tsserver.js:107911:28)
    at IOSession.Session.executeCommand (C:\ls\tsserver.js:107920:33)
    at IOSession.Session.onMessage (C:\ls\tsserver.js:107940:35)
    at Interface.<anonymous> (C:\ls\tsserver.js:109201:27)
    at emitOne (events.js:96:13)
    at Interface.emit (events.js:191:7)
    at Interface._onLine (readline.js:241:10)
    at Interface._normalWrite (readline.js:384:12)
    at Socket.ondata (readline.js:101:10)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at readableAddChunk (_stream_readable.js:178:18)
    at Socket.Readable.push (_stream_readable.js:136:10)
    at Pipe.onread (net.js:560:20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: LS: Completion ListsThe issue relates to showing completion lists in an editorFixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions