gopls/v0.15.1
findleyr
released this
28 Feb 14:49
·
737 commits
to master
since this release
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.