github golang/tools gopls/v0.15.1

latest releases: cmd/gorename/v0.1.0-deprecated, v0.25.0, gopls/v0.16.2...
7 months ago

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.

Don't miss a new tools release

NewReleases is sending notifications on new releases.