[Issue 9195] Can do pointer arithmetic in safeD!

2012-12-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9195 --- Comment #5 from Jonathan M Davis 2012-12-30 17:26:28 PST --- > Look again. It's not indexing an array, it's indexing a pointer. Hmmm. Yes, you're right. It's indexing a pointer. I guess that that's currently considered @safe, though under

[Issue 9195] Can do pointer arithmetic in safeD!

2012-12-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9195 Simen Kjaeraas changed: What|Removed |Added CC||simen.kja...@gmail.com --- Comment #4

[Issue 9195] Can do pointer arithmetic in safeD!

2012-12-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9195 --- Comment #3 from Jonathan M Davis 2012-12-30 14:35:00 PST --- > It's not @trusted. casual is a doing a pointer atirhmetic just fine. But casual is marked as @trusted, so I don't see any problem there at all. As for glorious, what pointer

[Issue 9195] Can do pointer arithmetic in safeD!

2012-12-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9195 --- Comment #2 from Dmitry Olshansky 2012-12-30 04:20:34 PST --- (In reply to comment #1) > I don't see the problem here. The pointer arithmetic is in @trusted code. It's > up to the programmer - not the compiler - to verify the safety of the

[Issue 9195] Can do pointer arithmetic in safeD!

2012-12-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9195 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #1