github golang/tools gopls/v0.15.1

latest releases: gopls/v0.17.0-pre.2, gopls/v0.17.0-pre.1, v0.27.0...
8 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.