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
go 1.15 has issues with the isGo119ErrDot function being redeclared:
$ go get golang.org/x/tools/cmd/goimports
# golang.org/x/sys/execabs
root/go/src/golang.org/x/sys/execabs/execabs_go119.go:11:6: isGo119ErrDot redeclared in this block
previous declaration at root/go/src/golang.org/x/sys/execabs/execabs_go118.go:9:31
You can reproduce the issue with this Docker file, run docker build . on it
FROM docker:20.10.12
RUN apk add curl git
RUN curl -LO "https://dl.google.com/go/go1.15.7.linux-amd64.tar.gz"
RUN tar -C /usr/local -xzf go1.15.7.linux-amd64.tar.gz
ENV PATH /usr/local/go/bin:${PATH}
RUN go version
RUN go env
RUN go get golang.org/x/tools/cmd/goimports
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go 1.15 has issues with the
isGo119ErrDot
function being redeclared:You can reproduce the issue with this Docker file, run
docker build .
on itWe started experiencing this issue after this change: https://cs.opensource.google/go/x/sys/+/b6088ccd6cba9272b1e5639ef2df5b5731b85abc
What did you expect to see?
No failure
The text was updated successfully, but these errors were encountered: