Dart should support &&=
and ||=
operators.
#122
Labels
feature
Proposed language feature that solves one or more problems
small-feature
A small feature which is relatively cheap to implement.
Uh oh!
There was an error while loading. Please reload this page.
Dart does not currently support using the
&&
and||
operators in assignments.It allows other non-short-circuiting binary operators, and it allows
??=
, which is short-circuiting.Users have expressed surprise that those two are not supported.
This is a solution to #23.
See https://dart-review.googlesource.com/c/sdk/+/43500/ for a specification.
The text was updated successfully, but these errors were encountered: