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 text was updated successfully, but these errors were encountered:
bobg
changed the title
affected/package: bufio
affected/package: importing bufio with golang.org/x/tools/go/packages
Dec 24, 2021
bobg
changed the title
affected/package: importing bufio with golang.org/x/tools/go/packages
golang.org/x/tools/go/packages: cannot import bufio in Go 1.18
Dec 24, 2021
seankhliao
changed the title
golang.org/x/tools/go/packages: cannot import bufio in Go 1.18
x/tools/go/packages: cannot import bufio in Go 1.18
Dec 24, 2021
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes (v1.18beta1)
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I was beginning to update github.com/bobg/modver for Go 1.18.
I was on my
go1.18
branch at commit bobg/modver@561c808I ran
go1.18beta1 test -run TestMajor/major/hashsplit .
What did you expect to see?
I expected the test to pass, as it does under Go 1.17.
What did you see instead?
Note, this happens at https://github.com/bobg/modver/blob/561c808eebbd436d00bb9306490e6e5d7235b8fa/compare.go#L188, during the call to
packages.Load
, which fatals out rather than returning an error.The text was updated successfully, but these errors were encountered: