Skip to content

Completions crash detected on DefinitelyTyped #35632

@andrewbranch

Description

@andrewbranch
TypeError: Cannot read property 'kind' of undefined
    at tryGetClassLikeCompletionSymbols (/home/vsts/.dts/typescript-installs/3.7/node_modules/typescript/lib/typescript.js:108084:47)
    at tryGetGlobalSymbols (/home/vsts/.dts/typescript-installs/3.7/node_modules/typescript/lib/typescript.js:107515:24)
    at getCompletionData (/home/vsts/.dts/typescript-installs/3.7/node_modules/typescript/lib/typescript.js:107315:22)
    at Object.getCompletionsAtPosition (/home/vsts/.dts/typescript-installs/3.7/node_modules/typescript/lib/typescript.js:106679:34)
    at Object.getCompletionsAtPosition (/home/vsts/.dts/typescript-installs/3.7/node_modules/typescript/lib/typescript.js:131279:35)
    at getCompletionsAtPosition (/home/vsts/work/1/s/node_modules/@andrewbranch/definitely-not-slow/src/measure/measureLanguageServiceWorker.ts:98:39)
    at measureAtPosition (/home/vsts/work/1/s/node_modules/@andrewbranch/definitely-not-slow/src/measure/measureLanguageServiceWorker.ts:83:5)
    at /home/vsts/work/1/s/node_modules/@andrewbranch/definitely-not-slow/src/measure/measureLanguageServiceWorker.ts:61:8
    at Generator.next (<anonymous>)
    at /home/vsts/work/1/s/node_modules/@andrewbranch/definitely-not-slow/dist/src/measure/measureLanguageServiceWorker.js:8:71

Failed measurement on request: {
  "fileName": "/home/vsts/work/1/s/types/sharepoint/sharepoint-tests.ts",
  "start": 62930,
  "packageDirectory": "/home/vsts/work/1/s/types/sharepoint",
  "tsPath": "/home/vsts/.dts/typescript-installs/3.7/node_modules/typescript"
}

DefinitelyTyped/DefinitelyTyped#40963

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptCrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputDomain: LS: TSServerIssues related to the TSServerFix AvailableA PR has been opened for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions