typescript-go
typescript-go copied to clipboard
Staging repo for development of native port of TypeScript
## Stack trace ``` [ERROR][2025-12-03 18:23:38] /usr/share/nvim/runtime/lua/vim/lsp/log.lua:151 "rpc" "tsgo" "stderr" "panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked]\n[signal SIGSEGV: segmentation violation code=0x1" [ERROR][2025-12-03 18:23:38] /usr/share/nvim/runtime/lua/vim/lsp/log.lua:151 "rpc"...
- [x] Understand the issue: multiline ternary expressions with tabs are being formatted with mixed tabs and spaces - [x] Create a test to reproduce the issue - [x] Investigate...
## Stack trace ``` panic: tried to delete a non-existent entry [recovered, repanicked] goroutine 1128 [running]: github.com/microsoft/typescript-go/internal/project.(*Snapshot).Clone.func1() github.com/microsoft/typescript-go/internal/project/snapshot.go:201 +0x88 panic({0x7ff633f83100?, 0x7ff634455350?}) runtime/panic.go:783 +0x120 github.com/microsoft/typescript-go/internal/project/dirty.(*Map[...]).Delete(0x7ff63447c4c0, {0x4007f2a840, 0x26}) github.com/microsoft/typescript-go/internal/project/dirty/map.go:103 +0x174 github.com/microsoft/typescript-go/internal/project.(*configFileRegistryBuilder).didCloseFile(0x4007646480, {0x4007f2a840,...
### Extension Version 0.20251203.1 ### VS Code Version 1.106.3 (Universal) ### Operating system Version MacOS ### Steps to reproduce Attempt to use find refs against `symbolA` in https://github.com/mjames-c/tsgo-playground ### Issue...
From https://github.com/microsoft/TypeScript/issues/14494 (original issue was actually fixed in 6, but regressed here) Format the following code that uses tabs for indentation : ```ts const test = (a: string) => (...
Fixed the issue where destructured interface members were not showing inherited JSDoc comments when hovering. ## Summary When hovering over destructured variables from interfaces (e.g., `const {foo} = fubar` where...
### Extension Version 0.20251203.1 ### VS Code Version 1.106.3 ### Operating system Version Ubuntu x86-64, running via Windows 11 inside WSL ### Steps to reproduce 1. Copy this MRE: ```ts...
Note: This is a refiling of #61728 due to being closed due to being related to quick info display (see #62827). ### Version & Regression Information This changed in PR...
A well-behaved FS implementation should not mutate the bytes to be written. (Also, it seems like many call sites already have an `[]byte` and convert to a string just to...