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



--- Comment #5 from Steven Schveighoffer <schvei...@yahoo.com> 2011-07-13 
12:46:35 PDT ---
Hm, I take it back.  This doesn't compile on D2, so maybe range propagation
isn't smart enough.

int x = 1;
byte b = 1 / x;

Same error reported

Now I really don't know why D2 passes the array operation...

I still think the right solution is allowing casting in an array expression.

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

Reply via email to