typescript-go
typescript-go copied to clipboard
[WIP] Fix crash for signature help in arrow function parameters
Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.
Original prompt
This section details on the original issue you should resolve
<issue_title>Crash for signature help in arrow function parameters</issue_title> <issue_description>```ts const comparers: Array<(a: any, b: any) => boolean> = [];
comparers.push((a,/**/ b) => true);
Somehow this brings down the whole server without sending back a proper stack trace.</issue_description> <agent_instructions>Feel free to modify `recover` in `lsp/server.go` to dig into a potential stack trace.</agent_instructions> ## Comments on the Issue (you are @copilot in this section) <comments> </comments>
- Fixes microsoft/typescript-go#2336
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.