https://issues.dlang.org/show_bug.cgi?id=10201
--- Comment #8 from Walter Bright ---
(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
https://issues.dlang.org/show_bug.cgi?id=10201
--- Comment #7 from Dicebot ---
I do agree with closing it for now though, as the issue is unlikely to cause
any trouble in real code and thus is not worth major attention.
--
https://issues.dlang.org/show_bug.cgi?id=10201
--- Comment #6 from Dicebot ---
(In reply to Walter Bright from comment #4)
> (In reply to monarchdodra from comment #2)
> > I mentioned this in
> > https://github.com/D-Programming-Language/phobos/pull/1434#issuecomment-
> >
https://issues.dlang.org/show_bug.cgi?id=10201
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=10201
Walter Bright changed:
What|Removed |Added
Keywords||safe
https://d.puremagic.com/issues/show_bug.cgi?id=10201
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||yebbl...@gmail.com
http://d.puremagic.com/issues/show_bug.cgi?id=10201
monarchdo...@gmail.com changed:
What|Removed |Added
CC||monarchdo...@gmail.com
---
http://d.puremagic.com/issues/show_bug.cgi?id=10201
--- Comment #1 from Dicebot m.stras...@gmail.com 2013-05-29 08:42:06 PDT ---
Additional explanation - it does report an error if initialized value is a
pointer or contains a pointer. It does not report an error if value has
disabled