x/exp: wrong go.mod go version #57639
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
If i use golang.org/x/exp/slog in a project with go 1.18 it errors because
https://github.com/golang/exp/blob/master/slog/level.go#L95 Here, the type atomic.Int64 is being used
which was introduced in go 1.19 but golang.org/x/exp requires go version of 1.18 as its minimum version which didn't support this type
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: