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

Iain Buclaw <ibuc...@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuc...@gdcproject.org

--- Comment #6 from Iain Buclaw <ibuc...@gdcproject.org> ---
It looks like the grammar does allow this, but fails semantic because in the
following expression, -x is not an lvalue (probably an implementation detail
though).

-- -x;


More complex examples expose artificial variables in errors, so that is
definitely a bug.

--

Reply via email to