Investigation: When was microsoft/typescript-go#1389 fixed?
(written by opus 4.6)
microsoft/typescript-go#1389 — "lsp(vscode): panic when formatting a file with multi-byte characters and trailing 2+ newlines"
A panic occurred when using textDocument/formatting via the LSP on a file containing multi-byte characters (e.g. →, 🐈, Japanese characters) and ending with 2+ newlines: