You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The upcoming Go 1.13 adds support for binary literals (see golang/go#19308). I'm working on some code using a master-build of Go here and I'm seeing some linter errors on standard library code that got modified to use these new binary literals; primarily in the utf8 package (relevant code).
I'm sure golangci-lint isn't meant to support a not yet released version of Go, I just thought it might be useful to flag this in case it's not something you guys were aware of.
golangci-lint version:
golangci-lint has version 1.16.0 built from 97ea1cb on 2019-03-31T19:48:46Z
Is there anything quick and dirty I could to in a custom golangci-lint build to work around this in order to get this passing while waiting for an official Go 1.13 release and a matching golangci-lint update?
It seems a source build of golangci-lint with an upgrade of golang.org/x/tools to the latest master version made stuff working again - so I'll do that as a workaround for now :)
Seems like it, yeah - I switched to 1.19.1 in some of our pipelines here where we previously used a custom build of golangci-lint and it went through without problems. Thanks!
Uh oh!
There was an error while loading. Please reload this page.
The upcoming Go 1.13 adds support for binary literals (see golang/go#19308). I'm working on some code using a master-build of Go here and I'm seeing some linter errors on standard library code that got modified to use these new binary literals; primarily in the
utf8
package (relevant code).I'm sure golangci-lint isn't meant to support a not yet released version of Go, I just thought it might be useful to flag this in case it's not something you guys were aware of.
golangci-lint version:
golangci-lint has version 1.16.0 built from 97ea1cb on 2019-03-31T19:48:46Z
config file:
Go environment:
verbose output:
golangci-lint-verbose.txt
The text was updated successfully, but these errors were encountered: