https://issues.dlang.org/show_bug.cgi?id=20205
--- Comment #2 from Dominikus Dittes Scherkl <[email protected]> --- unittest { byte a = -128; auto b = abs(a); assert(is(typeof(b) == ubyte)); assert(b == 128); } --
d-bugmail--- via Digitalmars-d-bugs Thu, 12 Sep 2019 01:06:29 -0700
https://issues.dlang.org/show_bug.cgi?id=20205
--- Comment #2 from Dominikus Dittes Scherkl <[email protected]> --- unittest { byte a = -128; auto b = abs(a); assert(is(typeof(b) == ubyte)); assert(b == 128); } --