[Issue 23349] Disallow assignments in ?: expressions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 22 07:57:52 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23349
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |razvan.nitu1305 at gmail.com
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Why would we do this? The else-part is required to have parenthesis because of
the ambiguity, but as far as I can see there is no way you could have an
ambiguity for the assignment in the then-part.
--
More information about the Digitalmars-d-bugs
mailing list