On Wednesday, October 17, 2012 13:07:13 Jonathan M Davis wrote:
> The only way that @safe could really be applicable would be if it became
> @system to take the address of a local variable or to slice a static array.
> And perhaps it should be, but that and catching the most obvious cases are
> all that the compiler could do to catch this for you.

It looks like taking the address of a local variable already is @system, but 
taking a slice of a static array is not. That really should change:

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

- Jonathan M Davis

Reply via email to