Saturday, November 2, 2024
HomeGolangGoLand 2022.1.2 Is Out there | The GoLand Weblog

GoLand 2022.1.2 Is Out there | The GoLand Weblog


Releases

The GoLand 2022.1.2 replace is out.

You’ll be able to obtain the construct from the web site, replace by way of the Toolbox App, apply a patch (go to GoLand | Verify for Updates), or use a snap package deal (for Ubuntu).


Obtain

Generics

Report unused sort parameter

There’s a new inspection that experiences unused sort parameters. They’re grayed out, and you will note a warning when hovering over them.

Completion for a kind parameter when typing a technique’s receiver 

GoLand mechanically inserts a kind parameter’s identifier whenever you sort a receiver whereas creating a technique (it might be any letter, however is often the identical as within the sort’s declaration).  

Enhancements and bug fixes

This construct consists of some notable fixes: 

GO-12406 – GoLand exhibits an error in the event you attempt to use an interface with sort parameters. 

GO-12634 – An error is proven in the event you’re lacking a kind constraint, as anticipated.

Take a look at the launch notes to see the total listing of enhancements and bug fixes for this replace. 

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments