http://d.puremagic.com/issues/show_bug.cgi?id=3735



--- Comment #5 from timon.g...@gmx.ch 2012-01-18 16:36:54 PST ---
(In reply to comment #4)
> byte a = cast(byte) 0b11110000;  // why does it insist on a cast?

Because 240 does not fit inside the range -128 to 127.
static assert(0b11110000 != cast(byte)0b11110000);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to