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


Iain Buclaw <ibuc...@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuc...@ubuntu.com


--- Comment #1 from Iain Buclaw <ibuc...@ubuntu.com> 2011-03-15 17:53:51 PDT ---
Note, this is also the same issue for static arrays and unions.

int[1] arr;
assert(arr);       // type int[1u] does not have a boolean value
assert(0 || arr);  // OK

union B {}
B b;
assert(b);         // type B does not have a boolean value
assert(0 || b);    // OK


Regards

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

Reply via email to