Repository navigation
[ServerErrors][JavaScript] 5.5.0-dev.20240324 #57924
Copy link
Copy link
Closed
Labels
BugA bug in TypeScriptA bug in TypeScript
Description
Activity
typescript-bot commented
on Mar 24, 2024 ContributorAuthorMore actionsServer exited prematurely with code unknown and signal SIGABRT
Server exited prematurely with code unknown and signal SIGABRTAffected repos
tastejs/todomvc
Raw error text:RepoResults3/tastejs.todomvc.rawError.txtin the artifact folderLast few requests
{"seq":22045,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":17316,"offset":23}} {"seq":22046,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":17389,"offset":15}} {"seq":22047,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":17434,"offset":16,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":22048,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":17442,"offset":66,"includeExternalModuleExports":false,"triggerKind":1}}Repro steps
git clone https://github.com/tastejs/todomvc --recurse-submodules- In dir
todomvc, rungit reset --hard b6026bba029f47947a9e76f1235bd3d7e3f99a1b - Back in the initial folder, download
RepoResults3/tastejs.todomvc.replay.txtfrom the artifact folder npm install --no-save @typescript/server-replaynpx tsreplay ./todomvc ./tastejs.todomvc.replay.txt path/to/tsserver.jsnpx tsreplay --helpto learn about helpful switches for debugging, logging, etc
typescript-bot commented
on Mar 24, 2024 ContributorAuthorMore actionsError: Debug Failure. Did not expect ObjectLiteralExpression to have an Identifier in its trivia
Req #4212 - references at Interface.<anonymous> (/typescript-5.5.0-dev.20240324/lib/tsserver.js:504:14)Affected repos
HumanSignal/label-studio
Raw error text:RepoResults8/HumanSignal.label-studio.rawError.txtin the artifact folderLast few requests
{"seq":4209,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":802283,"entryNames":["_"]}} {"seq":4210,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":802434,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} {"seq":4211,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":802548}} {"seq":4212,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/web/dist/libs/editor/main.js","line":2,"offset":802548}}Repro steps
git clone https://github.com/HumanSignal/label-studio --recurse-submodules- In dir
label-studio, rungit reset --hard d6ab611fd63aa4f69687aa4e09780f21f306b67c Install packages (exact steps are below, but it might be easier to follow the repo readme)
- In dir
label-studio/web, runyarn install --ignore-engines --ignore-scripts --silent - In dir
label-studio/web/tools/version, runyarn install --ignore-engines --ignore-scripts --silent - In dir
label-studio/web/libs/frontend-test/src/bin/assets, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q - In dir
label-studio/web/libs/editor/tests/e2e, runyarn install --ignore-engines --ignore-scripts --silent - In dir
label-studio/docs, runyarn install --ignore-engines --ignore-scripts --silent
- In dir
- Back in the initial folder, download
RepoResults8/HumanSignal.label-studio.replay.txtfrom the artifact folder npm install --no-save @typescript/server-replaynpx tsreplay ./label-studio ./HumanSignal.label-studio.replay.txt path/to/tsserver.jsnpx tsreplay --helpto learn about helpful switches for debugging, logging, etc
typescript-bot commented
on Mar 24, 2024 ContributorAuthorMore actionsError: Debug Failure. False expression.
Req #8044 - completionInfo at Interface.<anonymous> (/typescript-5.5.0-dev.20240324/lib/tsserver.js:504:14)Affected repos
fabricjs/fabric.js
Raw error text:RepoResults4/fabricjs.fabric.js.rawError.txtin the artifact folderLast few requests
{"seq":8041,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/canvas/SelectableCanvas.ts","line":344,"offset":6}} {"seq":8042,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/canvas/SelectableCanvas.ts","line":402,"offset":72,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":8043,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/canvas/SelectableCanvas.ts","line":409,"offset":6}} {"seq":8044,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/canvas/SelectableCanvas.ts","line":420,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}}Repro steps
git clone https://github.com/fabricjs/fabric.js --recurse-submodules- In dir
fabric.js, rungit reset --hard 7179b739cff45d74b33d130fc34fd48da074f204 Install packages (exact steps are below, but it might be easier to follow the repo readme)
- In dir
fabric.js, runnpm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q - In dir
fabric.js/website, runnpm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
- In dir
- Back in the initial folder, download
RepoResults4/fabricjs.fabric.js.replay.txtfrom the artifact folder npm install --no-save @typescript/server-replaynpx tsreplay ./fabric.js ./fabricjs.fabric.js.replay.txt path/to/tsserver.jsnpx tsreplay --helpto learn about helpful switches for debugging, logging, etc
typescript-bot commented
on Mar 24, 2024 ContributorAuthorMore actionsError: Debug Failure. Expected declaration to have at least one class-like declaration
Req #5892 - definitionAndBoundSpan at Interface.<anonymous> (/typescript-5.5.0-dev.20240324/lib/tsserver.js:504:14)Affected repos
lutzroeder/netron
Raw error text:RepoResults4/lutzroeder.netron.rawError.txtin the artifact folderLast few requests
{"seq":5889,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/source/coreml-proto.js","line":10500,"offset":37,"entryNames":["arguments"]}} {"seq":5890,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/source/coreml-proto.js","line":10561,"offset":17,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":5891,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/source/coreml-proto.js","line":10561,"offset":17,"entryNames":["arguments"]}} {"seq":5892,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/source/coreml-proto.js","line":10573,"offset":66}}Repro steps
git clone https://github.com/lutzroeder/netron --recurse-submodules- In dir
netron, rungit reset --hard 48fe7514d7ed397bfe11af73f947e45545c52750 - In dir
netron, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q - Back in the initial folder, download
RepoResults4/lutzroeder.netron.replay.txtfrom the artifact folder npm install --no-save @typescript/server-replaynpx tsreplay ./netron ./lutzroeder.netron.replay.txt path/to/tsserver.jsnpx tsreplay --helpto learn about helpful switches for debugging, logging, etc
typescript-bot commented
on Mar 24, 2024 ContributorAuthorMore actionsError: Debug Failure. False expression: Expected the specifier to be a default export
Req #2072 - completionInfo at Interface.<anonymous> (/typescript-5.5.0-dev.20240324/lib/tsserver.js:504:14)Affected repos
framework7io/framework7
Raw error text:RepoResults7/framework7io.framework7.rawError.txtin the artifact folderLast few requests
{"seq":2069,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/src/core/shared/dom7.js"}} {"seq":2070,"type":"request","command":"navtree","arguments":{"file":"@PROJECT_ROOT@/src/core/shared/dom7.js"}} {"seq":2071,"type":"request","command":"navbar","arguments":{"file":"@PROJECT_ROOT@/src/core/shared/dom7.js"}} {"seq":2072,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/core/shared/dom7.js","line":5,"offset":20,"includeExternalModuleExports":true,"triggerKind":1}}Repro steps
git clone https://github.com/framework7io/framework7 --recurse-submodules- In dir
framework7, rungit reset --hard c1ac6c7eea0eca92de82b1a943969bae359647ab Install packages (exact steps are below, but it might be easier to follow the repo readme)
- In dir
framework7, runnpm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q - In dir
framework7/packages/vue, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q - In dir
framework7/packages/svelte, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q - In dir
framework7/packages/react, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q - In dir
framework7/packages/core, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q - In dir
framework7/build/vue, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q - In dir
framework7/build/svelte, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q - In dir
framework7/build/react, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q - In dir
framework7/build/core, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
- In dir
- Back in the initial folder, download
RepoResults7/framework7io.framework7.replay.txtfrom the artifact folder npm install --no-save @typescript/server-replaynpx tsreplay ./framework7 ./framework7io.framework7.replay.txt path/to/tsserver.jsnpx tsreplay --helpto learn about helpful switches for debugging, logging, etc
- locked as resolved and limited conversation to collaborators
on Oct 22, 2025
Metadata
Metadata
Labels
BugA bug in TypeScriptA bug in TypeScript
The following errors were reported by 5.5.0-dev.20240324
Pipeline that generated this bug
Logs for the pipeline run
File that generated the pipeline
This run considered 300 popular TS repos from GH (after skipping the top 0).
Successfully analyzed 292 of 300 visited repos
Investigation Status
Investigation: assignPositionsToNode is probably the culprit of the node not having the right position. We validated before that no positions are set. We do not know yet if it's because is reusing a node or is just assigning an incorrect value.
Fix on PR #58263
const A ={};Investigation: Hypothesis is that on an expando object we're not looking into the right side of the assignment before getting to getConstructSignatureDefinition. Note: I don't understand why commenting out prototype causes it to work. If we do the symbol is no longer flag as a class so it doesn't hit the Debug.Fail.A.B = class Foo {}
new A.|B|(); // <-- Go to definition here
A.B.prototype.C = null; // Comment this line and the issue do not repro.
Fix in PR #57628.