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

Basile-z <b2.t...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |b2.t...@gmx.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Basile-z <b2.t...@gmx.com> ---
This is working since 2.067.1 according to run.dlang.io

void main()
{
  uint x = 0;
  (x += 1) %= 2;
  assert (x == 1);
  ubyte y = 0;
  (y += 1) %= 2;
  assert (y == 1);
  y += 1;
  y %= 2;
  assert (y == 0);
}

--

Reply via email to