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

[3.7] Document language feature inference-using-bounds #6258

Open
MaryaBelanger opened this issue Dec 6, 2024 · 1 comment
Open

[3.7] Document language feature inference-using-bounds #6258

MaryaBelanger opened this issue Dec 6, 2024 · 1 comment
Assignees
Labels
a.language Relates to the Dart language tour dev.type-system Relates to the type system in Dart e2-days Can complete in < 5 days of normal, not dedicated, work p3-low Valid but not urgent concern. Resolve when possible. Encourage upvote to surface.

Comments

@MaryaBelanger
Copy link
Contributor

Design doc here: https://github.com/dart-lang/language/blob/main/accepted/future-releases/3009-inference-using-bounds/design-document.md

To do: evaluate

@MaryaBelanger MaryaBelanger self-assigned this Dec 6, 2024
@eernstg
Copy link
Member

eernstg commented Dec 9, 2024

In the documentation of the inference-using-bounds feature it definitely seems useful to have a reference to @chloestefantsova's document.

It gets more complex when it comes to the general documentation of inference. I don't really have a complete idea about what could be done, but it seems likely to me that the graphs could be used to illustrate the treatment of a non-trivial case (the treatment after the change), and the general reader could benefit from that (with some text which could be very similar to the text in the document, I think). The "before" variant could be omitted here, because it's intended to describe how inference works (not how it was changed in order to add the inference-using-bounds feature). Does that make sense?

@parlough parlough added a.language Relates to the Dart language tour p3-low Valid but not urgent concern. Resolve when possible. Encourage upvote to surface. e2-days Can complete in < 5 days of normal, not dedicated, work dev.type-system Relates to the type system in Dart labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a.language Relates to the Dart language tour dev.type-system Relates to the type system in Dart e2-days Can complete in < 5 days of normal, not dedicated, work 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