gopls/v0.15.1
版本发布时间: 2024-02-28 22:49:11
golang/tools最新发布版本:gopls/v0.16.2(2024-09-06 01:01:04)
This release fixes golang/go#65952, a crash in document highlighting when the cursor is in a return value for a function that has no results, such as the following example:
func f() { // <-- no results
return 0| // <-- cursor at '|'
}
Thanks very much to @patrickpichler who both reported and fixed this bug!
We're hopeful that once Go 1.23 is released, the opt-in automated crash reporting added in gopls v0.15.0 will increase the likelihood that these types of crashes are caught before they are released.