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

Site still links to 2.10 version of Dart spec #6088

Open
1 task
sfshaza2 opened this issue Sep 14, 2024 · 4 comments
Open
1 task

Site still links to 2.10 version of Dart spec #6088

sfshaza2 opened this issue Sep 14, 2024 · 4 comments
Assignees
Labels
d.enhancement Improves docs with specific ask e1-hours Can complete in < 8 hours of normal, not dedicated, work from.page-issue Reported in a reader-filed concern from.team Reported by Dash docs team member p3-low Valid but not urgent concern. Resolve when possible. Encourage upvote to surface.

Comments

@sfshaza2
Copy link
Collaborator

Page URL

https://dart.dev/guides/language/spec

Page source

No response

Describe the problem

The "Dart 3" link on the specification page still links to the 2.10 spec. Has the 3.0 spec been released yet?

Expected fix

The 2.10 spec has been downloaded to the website. Is that really needed?

Additional context

No response

I would like to fix this problem.

  • I will try and fix this problem on dart.dev.
@sfshaza2 sfshaza2 added the from.page-issue Reported in a reader-filed concern label Sep 14, 2024
@parlough
Copy link
Member

We kept a section on Dart 2 where we link to the 2.10 spec as that's the last version before null safety was introduced.

As for the Dart 3 section, it links to a version that says 2.13-dev as the spec hasn't been updated for sound null safety and some other newer changes yet. It is still the most up to date version of the spec though.

We say it's "in progress", but do you think we should make it more clear somehow?

@parlough parlough added the act.wait-for-customer Needs response from customer label Sep 14, 2024
@sfshaza2
Copy link
Collaborator Author

Is the PDF different for the 2.13 link and the latest link? If so, I would. definitely make that more clear.

@github-actions github-actions bot removed the act.wait-for-customer Needs response from customer label Sep 15, 2024
@eernstg
Copy link
Member

eernstg commented Sep 15, 2024

The 'Latest, in-progress specification' under the heading Dart 3 is the newest accepted language specification. The PR dart-lang/language#2605 contains null safety updates, but hasn't been landed yet.

For more recent features, please take a look at the feature specifications that you'll find here: https://github.com/dart-lang/language/tree/main/accepted.

It would be nice if the language specification had been updated with everything in those feature specifications, but the language team tends to put more emphasis on getting the feature specifications in a good shape and then implementing the features. This means that the language specification will contain everything, at some point in time, but it's more like a post-hoc consolidation process. When each of those feature specifications has been fully integrated into the language specification, the feature specification is turned into a background/history document, and the language specification takes the role as the source of truth on that feature. (For example, extensions are specified here, and the feature specification is a background document today.)

@sfshaza2
Copy link
Collaborator Author

I leave it to you, @parlough, but the way it reads now is indeed confusing.

@parlough parlough self-assigned this Oct 14, 2024
@parlough parlough added d.enhancement Improves docs with specific ask p3-low Valid but not urgent concern. Resolve when possible. Encourage upvote to surface. e1-hours Can complete in < 8 hours of normal, not dedicated, work from.team Reported by Dash docs team member labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d.enhancement Improves docs with specific ask e1-hours Can complete in < 8 hours of normal, not dedicated, work from.page-issue Reported in a reader-filed concern from.team Reported by Dash docs team member p3-low Valid but not urgent concern. Resolve when possible. Encourage upvote to surface.
Projects
None yet
Development

No branches or pull requests

3 participants