http://d.puremagic.com/issues/show_bug.cgi?id=9195



--- Comment #3 from Jonathan M Davis <jmdavisp...@gmx.com> 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 arithmetic is it doing? I just see it indexing an
array, which would be bounds checked. Though actually, it looks like it's
taking the address of a local variable, which is supposed to be @system. So,
_that_ is a bug, but I don't see any pointer arithmetic here which is marked
with @safe when it should be @system. It's the & which is the problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to