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

--- Comment #8 from Walter Bright <[email protected]> ---
(In reply to Dicebot from comment #6)
> There is no array bounds checking in that example as `arr.ptr` syntax is
> used.

You're right.

But it's marked @trusted anyway, which defeats @safe checking, because pointer
indexing is not allowed in @safe code.

--

Reply via email to