TypeScript
TypeScript copied to clipboard
[ServerErrors][TypeScript] 4.9.0-dev.20221018
The following errors were reported by 4.9.0-dev.20221018 Pipeline that generated this bug Logs for the pipeline run File that generated the pipeline
This run considered 200 popular TS repos from GH (after skipping the top 0).
Successfully analyzed 189 of 200 visited repos
| Outcome | Count |
|---|---|
| Detected interesting changes | 4 |
| Detected no interesting changes | 185 |
| Git clone failed | 2 |
| Unknown failure | 9 |
Investigation Status
| Repo | Errors | Outcome |
|---|---|---|
| alibaba/ice | 1 | |
| BuilderIO/qwik | 1 | |
| formatjs/formatjs | 1 | |
| palantir/blueprint | 1 |
alibaba/ice
:warning: Note that typescript-4.8.4 also had errors :warning:
Exited unexpectedly with signal SIGABRT
Server exited prematurely with code unknown and signal SIGABRT
Last few requests
{"rootDirPlaceholder":"@PROJECT_ROOT@","serverArgs":["--disableAutomaticTypingAcquisition"]}
{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"disableLineTextInReferences":"true","includePackageJsonAutoImports":"off"},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/babel.config.js","projectRootPath":"@PROJECT_ROOT@"}]}}
Repro Steps
git clone https://github.com/alibaba/ice --recurse-submodules- In dir
ice, rungit reset --hard 3d83bba4c48045e2554b9884c5a60851f0a5b523 Install packages (exact steps are below, but it might be easier to follow the repo readme)
- In dir
ice/examples/basic-auth, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-disable-runtime, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-i18n, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-keep-alive, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-mpa-vite, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-mpa-webpack, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-mpa-with-swc, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-nested-store, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-pwa, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-request, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-service, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-spa, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-ssr-with-lazy-load, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-ssr, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-store, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-vite-ssr, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/basic-vite, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/dts-generation, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/hello-world, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/icestark-child, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/icestark-layout, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/simple, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/spa-renderComponent, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/with-fusion-design, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/with-multi-themes, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/with-prerender-mpa, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/with-prerender-spa, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/with-react-miniapp-store, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/with-react-miniapp-todos, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/with-react-miniapp, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/with-rematch, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice/examples/without-react-router, runyarn install --ignore-engines --ignore-scripts --silent - In dir
ice, runyarn install --ignore-engines --ignore-scripts --silent
- In dir
- Back in the initial folder, download
RepoResults3/alibaba.ice.replay.txtfrom the artifact folder npm install --no-save @typescript/server-replaynpx tsreplay ./ice ./alibaba.ice.replay.txt path/to/tsserver.jsnpx tsreplay --helpto learn about helpful switches for debugging, logging, etc
BuilderIO/qwik
:warning: Note that typescript-4.8.4 also had errors :warning:
Req #6872 - references
at createTextSpan (/typescript-4.8.4/lib/tsserver.js:12462:19)
at Object.createTextSpanFromBounds (/typescript-4.8.4/lib/tsserver.js:12471:16)
at getTextSpan (/typescript-4.8.4/lib/tsserver.js:138942:23)
at entryToDocumentSpan (/typescript-4.8.4/lib/tsserver.js:138839:32)
at toReferenceEntry (/typescript-4.8.4/lib/tsserver.js:138825:32)
at toReferencedSymbolEntry (/typescript-4.8.4/lib/tsserver.js:138819:34)
at /typescript-4.8.4/lib/tsserver.js:138679:70
at /typescript-4.8.4/lib/tsserver.js:138679:44
at Object.mapDefined (/typescript-4.8.4/lib/tsserver.js:622:30)
at Object.findReferencedSymbols (/typescript-4.8.4/lib/tsserver.js:138674:85)
at Object.findReferences (/typescript-4.8.4/lib/tsserver.js:167448:41)
at /typescript-4.8.4/lib/tsserver.js:177603:53
at searchPosition (/typescript-4.8.4/lib/tsserver.js:177800:38)
at getPerProjectReferences (/typescript-4.8.4/lib/tsserver.js:177768:42)
at getReferencesWorker (/typescript-4.8.4/lib/tsserver.js:177600:37)
at IOSession.Session.getReferences (/typescript-4.8.4/lib/tsserver.js:179203:34)
at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.8.4/lib/tsserver.js:178040:61)
at /typescript-4.8.4/lib/tsserver.js:180174:96
at IOSession.Session.executeWithRequestId (/typescript-4.8.4/lib/tsserver.js:180165:28)
at IOSession.Session.executeCommand (/typescript-4.8.4/lib/tsserver.js:180174:41)
at IOSession.Session.onMessage (/typescript-4.8.4/lib/tsserver.js:180202:35)
at Interface.<anonymous> (/typescript-4.8.4/lib/tsserver.js:184338:31)
Req #6872 - references
at createTextSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:12557:19)
at Object.createTextSpanFromBounds (/typescript-4.9.0-dev.20221018/lib/tsserver.js:12566:16)
at getTextSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:140296:23)
at entryToDocumentSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:140193:32)
at toReferenceEntry (/typescript-4.9.0-dev.20221018/lib/tsserver.js:140179:32)
at toReferencedSymbolEntry (/typescript-4.9.0-dev.20221018/lib/tsserver.js:140173:34)
at /typescript-4.9.0-dev.20221018/lib/tsserver.js:140033:70
at /typescript-4.9.0-dev.20221018/lib/tsserver.js:140033:44
at Object.mapDefined (/typescript-4.9.0-dev.20221018/lib/tsserver.js:621:30)
at Object.findReferencedSymbols (/typescript-4.9.0-dev.20221018/lib/tsserver.js:140028:85)
at Object.findReferences (/typescript-4.9.0-dev.20221018/lib/tsserver.js:169125:41)
at /typescript-4.9.0-dev.20221018/lib/tsserver.js:179297:53
at searchPosition (/typescript-4.9.0-dev.20221018/lib/tsserver.js:179494:38)
at getPerProjectReferences (/typescript-4.9.0-dev.20221018/lib/tsserver.js:179462:42)
at getReferencesWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:179294:37)
at IOSession.Session.getReferences (/typescript-4.9.0-dev.20221018/lib/tsserver.js:180901:34)
at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.9.0-dev.20221018/lib/tsserver.js:179734:61)
at /typescript-4.9.0-dev.20221018/lib/tsserver.js:181869:96
at IOSession.Session.executeWithRequestId (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181860:28)
at IOSession.Session.executeCommand (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181869:41)
at IOSession.Session.onMessage (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181897:35)
at Interface.<anonymous> (/typescript-4.9.0-dev.20221018/lib/tsserver.js:186023:31)
Last few requests
{"seq":6869,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/qwik/src/core/render/ssr/render-ssr.unit.tsx","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":6870,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/packages/qwik/src/core/render/ssr/render-ssr.unit.tsx"}},"skipDestructiveCodeActions":true}}
{"seq":6871,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/qwik/src/core/render/ssr/render-ssr.unit.tsx"}}
{"seq":6872,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/qwik/src/core/render/ssr/render-ssr.unit.tsx","line":1,"offset":31}}
Repro Steps
git clone https://github.com/BuilderIO/qwik --recurse-submodules- In dir
qwik, rungit reset --hard c41b93e6df23a72ab03eca29b44adbe94716c836 - Back in the initial folder, download
RepoResults4/BuilderIO.qwik.replay.txtfrom the artifact folder npm install --no-save @typescript/server-replaynpx tsreplay ./qwik ./BuilderIO.qwik.replay.txt path/to/tsserver.jsnpx tsreplay --helpto learn about helpful switches for debugging, logging, etc
formatjs/formatjs
:warning: Note that typescript-4.8.4 also had errors :warning:
Req #1893 - references
at formatMessage (/typescript-4.8.4/lib/tsserver.js:177445:29)
at IOSession.Session.writeMessage (/typescript-4.8.4/lib/tsserver.js:178521:31)
at IOSession.Session.send (/typescript-4.8.4/lib/tsserver.js:178518:22)
at IOSession.Session.doOutput (/typescript-4.8.4/lib/tsserver.js:178571:22)
at IOSession.Session.onMessage (/typescript-4.8.4/lib/tsserver.js:180217:30)
at Interface.<anonymous> (/typescript-4.8.4/lib/tsserver.js:184338:31)
Req #7843 - definitionAndBoundSpan
at addSyntheticNodes (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167752:30)
at createSyntaxList (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167768:13)
at processNodes (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167731:27)
at visitNodes (/typescript-4.9.0-dev.20221018/lib/tsserver.js:31223:24)
at forEachChildInSourceFile (/typescript-4.9.0-dev.20221018/lib/tsserver.js:31586:20)
at Object.forEachChild (/typescript-4.9.0-dev.20221018/lib/tsserver.js:32001:47)
at SourceFileObject.NodeObject.forEachChild (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167706:23)
at createChildren (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167740:14)
at SourceFileObject.NodeObject.getChildren (/typescript-4.9.0-dev.20221018/lib/tsserver.js:167683:56)
at _loop_1 (/typescript-4.9.0-dev.20221018/lib/tsserver.js:130279:36)
at getTokenAtPositionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:130336:27)
at getTouchingToken (/typescript-4.9.0-dev.20221018/lib/tsserver.js:130265:16)
at Object.getTouchingPropertyName (/typescript-4.9.0-dev.20221018/lib/tsserver.js:130257:16)
at getDefinitionAtPosition (/typescript-4.9.0-dev.20221018/lib/tsserver.js:142725:27)
at Object.getDefinitionAndBoundSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:142966:31)
at Object.getDefinitionAndBoundSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:169071:38)
at IOSession.Session.getDefinitionAndBoundSpan (/typescript-4.9.0-dev.20221018/lib/tsserver.js:180469:83)
at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.9.0-dev.20221018/lib/tsserver.js:179713:61)
at /typescript-4.9.0-dev.20221018/lib/tsserver.js:181869:96
at IOSession.Session.executeWithRequestId (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181860:28)
at IOSession.Session.executeCommand (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181869:41)
at IOSession.Session.onMessage (/typescript-4.9.0-dev.20221018/lib/tsserver.js:181897:35)
at Interface.<anonymous> (/typescript-4.9.0-dev.20221018/lib/tsserver.js:186023:31)
Last few requests
{"seq":7840,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/test262/test/language/expressions/class/dstr/private-gen-meth-static-obj-ptrn-prop-id.js"],"openFiles":[]}}
{"seq":7841,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-static-async-gen-rs-static-generator-method-privatename-identifier-alt.js","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":7842,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-static-async-gen-rs-static-generator-method-privatename-identifier-alt.js"}}
{"seq":7843,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/test262/test/language/expressions/class/elements/after-same-line-static-async-gen-rs-static-generator-method-privatename-identifier-alt.js","line":5,"offset":88}}
Repro Steps
git clone https://github.com/formatjs/formatjs --recurse-submodules- In dir
formatjs, rungit reset --hard 8e7cba880b0dbe89d8f6b35022b2502c0bfd1300 - Back in the initial folder, download
RepoResults4/formatjs.formatjs.replay.txtfrom the artifact folder npm install --no-save @typescript/server-replaynpx tsreplay ./formatjs ./formatjs.formatjs.replay.txt path/to/tsserver.jsnpx tsreplay --helpto learn about helpful switches for debugging, logging, etc
palantir/blueprint
:warning: Note that typescript-4.8.4 also had errors :warning:
Req #12614 - references
at formatMessage (/typescript-4.8.4/lib/tsserver.js:177445:29)
at IOSession.Session.writeMessage (/typescript-4.8.4/lib/tsserver.js:178521:31)
at IOSession.Session.send (/typescript-4.8.4/lib/tsserver.js:178518:22)
at IOSession.Session.doOutput (/typescript-4.8.4/lib/tsserver.js:178571:22)
at IOSession.Session.onMessage (/typescript-4.8.4/lib/tsserver.js:180217:30)
at Interface.<anonymous> (/typescript-4.8.4/lib/tsserver.js:184338:31)
Req #19075 - references
at getContextualTypeForArgumentAtIndex (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74138:53)
at getContextualTypeForArgument (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74136:50)
at getContextualType (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74569:28)
at getApparentTypeOfContextualType (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74477:17)
at getContextualType (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74582:32)
at getApparentTypeOfContextualType (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74477:17)
at getContextualSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:74872:24)
at getNarrowedTypeOfSymbol (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73159:51)
at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73247:24)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at getEffectsSignature (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71692:36)
at getTypeAtFlowCall (/typescript-4.9.0-dev.20221018/lib/tsserver.js:72057:33)
at getTypeAtFlowNode (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71923:32)
at getFlowTypeOfReference (/typescript-4.9.0-dev.20221018/lib/tsserver.js:71870:51)
at checkIdentifier (/typescript-4.9.0-dev.20221018/lib/tsserver.js:73318:28)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81561:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
at checkPropertyAccessExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76142:85)
at checkExpressionWorker (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81595:28)
at checkExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:81510:38)
at checkNonNullExpression (/typescript-4.9.0-dev.20221018/lib/tsserver.js:76062:37)
Last few requests
{"seq":19072,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":268172}}
{"seq":19073,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":268468,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":19074,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":268871,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}}
{"seq":19075,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/site/docs/versions/2/docs-app.js","line":1,"offset":269549}}
Repro Steps
git clone https://github.com/palantir/blueprint --recurse-submodules- In dir
blueprint, rungit reset --hard 73514d68ae4e95bdc150d7b253235165005caf8a - In dir
blueprint, runyarn install --ignore-engines --ignore-scripts --silent - Back in the initial folder, download
RepoResults2/palantir.blueprint.replay.txtfrom the artifact folder npm install --no-save @typescript/server-replaynpx tsreplay ./blueprint ./palantir.blueprint.replay.txt path/to/tsserver.jsnpx tsreplay --helpto learn about helpful switches for debugging, logging, etc
I don't quite know how to repro the qwik one. It is definitely a mix of jsxImportSource and setting paths. It makes sense, since we add a synthetic import in .tsx files, but I can't seem to trigger it easily.
You can set the compilerOptions to something like
"compilerOptions": {
"target": "ES2020",
"module": "ES2020",
"moduleResolution": "node",
"jsx": "react-jsx",
"jsxImportSource": "@builder.io/qwik",
"paths": {
"@builder.io/qwik/jsx-runtime": ["./packages/qwik/src/jsx-runtime/index.ts"],
},
}
in the repo and that's enough to trigger the break.
I don't quite know how to repro the qwik one
@DanielRosenwasser Just to confirm, you can repro with the steps provided but you're also trying to construct a repro that occurs when manually driving the editor?
Correct!