Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/website: link to spec doesn't point to latest version #50181

Open
griesemer opened this issue Dec 15, 2021 · 2 comments
Open

x/website: link to spec doesn't point to latest version #50181

griesemer opened this issue Dec 15, 2021 · 2 comments

Comments

@griesemer
Copy link
Contributor

@griesemer griesemer commented Dec 15, 2021

https://go.dev/ref/spec doesn't point to the latest (in progress version of the spec). While incomplete, the latest version has significant sections on generics. The beta is out, we should update this ASAP.

I'd expect to see the content that we show here: https://tip.golang.org/ref/spec.

@gopherbot gopherbot added this to the Unreleased milestone Dec 15, 2021
@griesemer griesemer removed this from the Unreleased milestone Dec 15, 2021
@griesemer griesemer added this to the Go1.18 milestone Dec 15, 2021
@griesemer
Copy link
Contributor Author

@griesemer griesemer commented Dec 15, 2021

Apparently we use the spec of the latest released version here (which is the Go 1.17 spec). But given that we show the first generics tutorial among the documentation, I think we should show the latest (in-progress) version of the spec as well. While the spec is incomplete, many new sections have been written which are complete and are relevant for understanding generics (e.g., new syntax, interfaces as type sets, and new rules for assignments and conversions).

@ianlancetaylor
Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Dec 15, 2021

I think for the next two months it's OK to point people to https://tip.golang.org/ref/spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants