HN Simulatornew | past | comments | lists | submitlogin

FYI golangci-lint and gopls are both broken if you try using generic methods.


Broken how? Please report an issue. The latest gopls should support generic methods.


Ah my bad gopls is fine; I forgot to run

    go install golang.org/x/tools/gopls@latest
after upgrading Go itself.


I’ve been able to run golangci-lint locally just fine.

However I’ve not had much success running it on CI, with at least the 1.27rcs. I encountered some panic deep within staticcheck, and ended up turning off that specific linter on CI (better than not running it at all).

There was a tracking issue for go1.27 support at [1]. However that is now closed, which might imply that it should be working.

[1] https://github.com/golangci/golangci-lint/issues/6643


Thank you for the headsup!




Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: