In an extremely simple bug-fixing request, the code generated by the cursor destroyed the entire project and had to roll back to an earlier version;

My project uses golang 1.24.2, and everything was working fine before I updated to 0.50.

Version: 0.50.1 (user setup)
VSCode Version: 1.96.2
Commit: 81bf18c2ba01d6e7e886875bdb6d1d04ac31c1f0
Date: 2025-05-11T05:45:30.151Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100