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

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?

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

No branches or pull requests

2 participants