[Issue 18508] Using statement without effect should error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 24 01:05:00 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18508

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
It is supposed to be illegal to use the result of a comma expression. See here:
https://dlang.org/spec/expression.html#expression

--


More information about the Digitalmars-d-bugs mailing list