[Issue 16470] Segfault with negative array length

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jan 11 06:13:59 PST 2017


https://issues.dlang.org/show_bug.cgi?id=16470

bitter.taste at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bitter.taste at gmx.com

--- Comment #3 from bitter.taste at gmx.com ---
This is caused by not-so-wise decision to to allow the implicit conversion from
{int,long} to u{int,long} (but not for {byte,short} to u{byte,short}, go
figure) so even though it is possible to catch this error at compile time a
blind eye is turned instead.

--


More information about the Digitalmars-d-bugs mailing list