Skip to content

x/pkgsite: pkg.go.dev/constraints works when maybe it should not #76711

Description

@danp

What is the URL of the page with the issue?

https://pkg.go.dev/constraints

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

Screenshot

No response

What did you do?

Tried to remember if there was a std "constraints" package, visited https://pkg.go.dev/constraints

What did you see happen?

It loaded, initially making me think that package exists.

However I eventually noticed this:

Image

What did you expect to see?

If constraints is not available in a released version of Go I would expect going to https://pkg.go.dev/constraints to behave the same as, say, https://pkg.go.dev/doesnotexist.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugReportIssues describing a possible bug in the Go implementation.NeedsFixThe path to resolution is known, but the work has not been done.pkgsite

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions