why arithmetic for bytes different than for ints?

Vlad Levenfeld via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 2 13:32:54 PDT 2014


Dunno why I didn't try it earlier, but splitting it across lines 
like

y += 1;
y %= 2;
assert (y == 1);

works. So, bug, then?


More information about the Digitalmars-d-learn mailing list