[Issue 10201] "= void" initialization should not be allowed in @safe

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 7 03:07:04 PDT 2016


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |safe
                 CC|                            |bugzilla at digitalmars.com

--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to monarchdodra from comment #2)
> I mentioned this in
> https://github.com/D-Programming-Language/phobos/pull/1434#issuecomment-
> 21644766 with the example:

The example is still @safe because the array bounds checking will not allow an
out of bounds index.

--


More information about the Digitalmars-d-bugs mailing list