Skip to content

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

@danp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions