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


Steven Schveighoffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID


--- Comment #1 from Steven Schveighoffer <[email protected]> 2013-05-16 
06:37:28 PDT ---
This is expected, array length is an unsigned property.  unsigned math results
in unsigned result.

You are basically saying:

static assert(-3u < 0)

0 is promoted to unsigned, and 0xff_ff_ff_fd is compared to it.

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

Reply via email to