-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Analyzer: Support "&&=" and "||=" operators #26997
Comments
An initial implementation has been committed (https://codereview.chromium.org/2199323002/). The support is behind a flag, but there is no user-visible way to set the flag. Waiting on shared tests to make the feature user-visible. |
@munificent Should this be closed? |
I believe we should just get it done, and I don't yet see it working in |
There was support in analyzer behind a flag, but now that analyzer is on the fasta parser we've lost that support. Is this an approved 2.1 language feature? I don't remember seeing it on the list, and we're getting very close to shipping, so I don't know that it's reasonable to add new changes at this date. Should we push this to 2.2? |
I don't think it's on any short list, in particular certainly not 2.1, but I do think that the whole language team considers it to be an oversight that we don't yet have it, and it should just be done when possible. Don't we have a place for things that just need to be done, even though it won't be right now? ;-) |
I'm happy to see us improve the quality of Dart, and I think this change would do so. To explain, I was reacting to "just get it done", which sounded like a call to immediate action. It's a non-zero amount of work, so I'd like to see it scheduled. Perhaps we should create a "Dart2.2" milestone and add a meta issue to it to implement this in both analyzer and front_end. |
Oops, those words were not well-chosen, sorry about that. I just meant that it would be a good idea to keep this issue open, as opposed to closing it and forgetting all about this topic (after all, it looks pretty much like an oversight that those forms of compound assignment are not supported). I think it would be a good idea to put it on such a milestone. |
No problem :-) Should we create an issue in the language repo? |
Thanks! I just created an issue in the language repo requesting a clarification. |
Since the language issue has been moved to dart-lang/language#23, and is not scheduled or prioritized, I think we should close this until there is a clear expectation and action item. |
This is the analyzer-specific issue for #26996. That issue has the details.
The text was updated successfully, but these errors were encountered: