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

Basile-z <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Basile-z <[email protected]> ---
This is because the preincrement expression is lowered.

   ++arr.length

is rewritten

    arr.length = arr.length + 1LU

which  is not allowed as IfCondition, to prevent the "=" vs "==" error.

--

Reply via email to