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

Steven Schveighoffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Steven Schveighoffer <[email protected]> ---
I'd like to chime in here and say that allowing disabling bounds checks on
@safe code is completely wrong, and should be treated as a bug.

In no case, should one be able to disable bounds checks on @safe code.
Otherwise, it immediately becomes un-@safe, and @safe loses all it's
credibility.

The original purpose of -noboundschecks was to allow turning off bounds checks
in debug code I thought, not @safe code. I have no idea why it turns off bounds
checks on @safe code. I would consider that a bug.

--

Reply via email to