This program does not compile.Error: cannot implicitly convert expression (cast(int)x - cast(int)x) of type int to ubyte
void main(){ ubyte x; x = x - x; }I don't even know what to say. Who thought this behavior was a good idea?
pineapple via Digitalmars-d-learn Sun, 04 Sep 2016 17:31:01 -0700
This program does not compile.Error: cannot implicitly convert expression (cast(int)x - cast(int)x) of type int to ubyte
void main(){ ubyte x; x = x - x; }I don't even know what to say. Who thought this behavior was a good idea?