microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
101.25k stars 12.52k forks source link

TS Server fatal error: Debug Failure. Invalid cast. The supplied value [object Object] did not pass the test 'isUnaryExpression'. #53641

Closed csr000 closed 1 year ago

csr000 commented 1 year ago

Type: Bug

❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️

TypeScript Version: 5.1.0-dev.20230402

Steps to reproduce crash

1. 2. 3.

TS Server Log

❗️ Server logging disabled. To help us fix crashes like this, please enable logging by setting:

"typescript.tsserver.log": "verbose"

After enabling this setting, future crash reports will include the server log.

TS Server Error Stack

Server: semantic

Error: Debug Failure. Invalid cast. The supplied value [object Object] did not pass the test 'isUnaryExpression'.
    at cast (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:3446:16)
    at Object.parenthesizeOperandOfPrefixUnary (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:21859:50)
    at Object.createPrefixUnaryExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:23988:41)
    at parsePrefixUnaryExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33598:32)
    at parseSimpleUnaryExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33651:16)
    at parseUnaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33632:35)
    at parseBinaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33550:25)
    at parseAssignmentExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33223:18)
    at parseArgumentOrArrayLiteralElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34316:170)
    at parseListElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31655:12)
    at parseDelimitedList (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31894:24)
    at parseArrayLiteralExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34329:22)
    at parsePrimaryExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34266:16)
    at parseMemberExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33734:24)
    at parseLeftHandSideExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33728:82)
    at parseUpdateExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33703:24)
    at parseUnaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33628:32)
    at parseBinaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33550:25)
    at parseAssignmentExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33223:18)
    at parseArgumentOrArrayLiteralElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34316:170)
    at parseListElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31655:12)
    at parseDelimitedList (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31894:24)
    at parseArrayLiteralExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34329:22)
    at parsePrimaryExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34266:16)
    at parseMemberExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33734:24)
    at parseLeftHandSideExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33728:82)
    at parseUpdateExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33703:24)
    at parseUnaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33628:32)
    at parseBinaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33550:25)
    at parseAssignmentExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33223:18)
    at parseArgumentOrArrayLiteralElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34316:170)
    at parseListElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31655:12)
    at parseDelimitedList (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31894:24)
    at parseArrayLiteralExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34329:22)
    at parsePrimaryExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34266:16)
    at parseMemberExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33734:24)
    at parseLeftHandSideExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33728:82)
    at parseUpdateExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33703:24)
    at parseUnaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33628:32)
    at parseBinaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33550:25)
    at parseAssignmentExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33223:18)
    at parseArgumentOrArrayLiteralElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34316:170)
    at parseListElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31655:12)
    at parseDelimitedList (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31894:24)
    at parseArrayLiteralExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34329:22)
    at parsePrimaryExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34266:16)
    at parseMemberExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33734:24)
    at parseLeftHandSideExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33728:82)
    at parseUpdateExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33703:24)
    at parseUnaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33628:32)
    at parseBinaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33550:25)
    at parseAssignmentExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33223:18)
    at parseArgumentOrArrayLiteralElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34316:170)
    at parseListElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31655:12)
    at parseDelimitedList (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31894:24)
    at parseArrayLiteralExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34329:22)
    at parsePrimaryExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34266:16)
    at parseMemberExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33734:24)
    at parseLeftHandSideExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33728:82)
    at parseUpdateExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33703:24)
    at parseUnaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33628:32)
    at parseBinaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33550:25)
    at parseAssignmentExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33223:18)
    at parseArgumentOrArrayLiteralElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34316:170)
    at parseListElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31655:12)
    at parseDelimitedList (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31894:24)
    at parseArrayLiteralExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34329:22)
    at parsePrimaryExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34266:16)
    at parseMemberExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33734:24)
    at parseLeftHandSideExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33728:82)
    at parseUpdateExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33703:24)
    at parseUnaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33628:32)
    at parseBinaryExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33550:25)
    at parseAssignmentExpressionOrHigher (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33223:18)
    at parseExpression (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:33189:16)
    at doOutsideOfContext (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:30879:12)
    at allowInAnd (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:30900:12)
    at parseExpressionOrLabeledStatement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34711:24)
    at parseStatement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:34943:12)
    at parseListElement (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31655:12)
    at parseList (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:31640:19)
    at parseSourceFileWorker (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:30695:24)
    at Object.parseSourceFile (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:30528:20)
    at createSourceFile (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:30363:21)
    at createLanguageServiceSourceFile (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:135779:22)
    at acquireOrUpdateDocument (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:132461:26)
    at Object.acquireDocumentWithKey (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:132386:12)
    at getOrCreateSourceFileByPath (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:136103:31)
    at Object.getOrCreateSourceFile (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:136083:14)
    at C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:136015:42
    at Object.getSourceFileWithCache [as getSourceFile] (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:117515:24)
    at findSourceFileWorker (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:119847:23)
    at findSourceFile (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:119767:20)
    at C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:119716:22
    at getSourceFileFromReferenceWorker (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:119685:26)
    at processSourceFile (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:119714:5)
    at processRootFile (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:119510:5)
    at C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:118295:41
    at forEach (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:2313:22)
    at createProgram (C:\Users\ricchfrvr\Microsoft VS Code\data\extensions\ms-vscode.vscode-typescript-next-5.1.20230402\node_modules\typescript\lib\tsserver.js:118295:5)

VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:02:16.981Z) OS version: Windows_NT x64 10.0.19045 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (4 x 2400)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|19.86GB (8.34GB free)| |Process Argv|--crash-reporter-id 6d573451-167a-4d21-ad79-13ed2bcd969d| |Screen Reader|no| |VM|0%|
Extensions (82) Extension|Author (truncated)|Version ---|---|--- rainbow-brackets|2gu|0.0.6 codesnap|adp|1.3.4 vscode-sqlite|ale|0.14.1 god|bas|0.0.104 vscode-node-readme|ben|3.0.2 blackbox|Bla|0.10.53 vscode-intelephense-client|bme|1.9.5 vscode-tailwindcss|bra|0.9.11 phpserver|bra|3.0.2 simple-react-snippets|bur|1.2.7 vscode-expo|byC|0.9.2 npm-intellisense|chr|1.4.4 path-intellisense|chr|2.8.4 jsrefactor|cms|3.0.1 typewriter|dan|1.0.1 dart-code|Dar|3.60.1 vscode-markdownlint|Dav|0.49.0 vscode-eslint|dba|2.4.0 javascript-ejs-support|Dig|1.3.3 dotenv-vscode|dot|0.23.0 xml|Dot|2.5.1 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|13.4.0 EditorConfig|Edi|0.16.4 react-native-react-redux|EQu|2.0.6 prettier-vscode|esb|9.10.4 csv-editor|est|0.2.2 git-project-manager|fel|1.8.2 auto-close-tag|for|0.5.14 auto-rename-tag|for|0.1.10 code-runner|for|0.12.0 live-sass|gle|6.0.4 vscode-power-mode|hoo|3.0.2 vscode-edit-csv|jan|0.7.4 react-native-snippet|jun|0.5.6 jsdoc|lll|1.0.3 MagicPython|mag|1.1.0 javascript-docstrings|Mas|1.1.1 rainbow-csv|mec|3.6.0 vscode-json5|mrm|1.0.0 playwright|ms-|1.0.9 black-formatter|ms-|2022.6.0 python|ms-|2023.6.0 vscode-pylance|ms-|2023.3.40 jupyter|ms-|2023.3.1000892223 jupyter-keymap|ms-|1.1.0 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 remote-containers|ms-|0.288.0 remote-ssh|ms-|0.98.0 remote-ssh-edit|ms-|0.84.0 remote-wsl|ms-|0.77.0 cpptools|ms-|1.14.5 live-server|ms-|0.4.7 remote-explorer|ms-|0.2.0 sublime-keybindings|ms-|4.0.10 vscode-typescript-next|ms-|5.1.20230402 vscode-react-native|msj|1.10.2 playwright-test-snippets|msk|1.2.1 playwright-snippets|nit|1.0.1 autodocstring|njp|0.6.1 indent-rainbow|ode|8.3.1 docthis|oou|0.8.2 emoji|Per|1.0.1 vscode-versionlens|pfl|1.5.0 material-icon-theme|PKi|4.25.0 vscode-react-refactor|pla|1.1.3 sqlite-viewer|qwt|0.2.3 typescript-hero|rbb|3.0.0 vscode-xml|red|0.24.0 jinjahtml|sam|0.20.0 gitmoji-vscode|sea|1.2.2 sourcery|sou|1.1.0 vscode-readme-editor|Sum|2.1.0 sass-indented|syl|1.8.26 ejs-snippets|Tao|0.1.0 ejs-snippets|The|0.7.0 jinja|who|0.0.8 glean|wix|5.2.2 vscode-import-cost|wix|3.3.0 json|Zai|2.0.2
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscoreces:30445986 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 vscccc:30610679 nodejswelcome1cf:30587006 3biah626:30602489 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 functionswalk:30687959 pythonms35:30701012 ```
mjbvz commented 1 year ago

Please share code which causes this issue

vscodenpa commented 1 year ago

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

mjbvz commented 1 year ago

Duplicate of https://github.com/microsoft/TypeScript/issues/53637

csr000 commented 1 year ago

It's working now, I changed vscode typescript version to use workspace version. Thank You.

RyanCavanaugh commented 1 year ago

@csr000 would you be able to post a (redacted if needed) zip file or other way to reproduce this crash? Thanks!