2016-11-25 16:30 GMT+01:00 Steven Schveighoffer via Digitalmars-d <digitalmars-d@puremagic.com>:

But I think Walter's scope changes (DIP 1001 I think?) will make it so the compiler rejects this even in non-safe mode.

-Steve

You are correct that DIP1000 will fix that. However it will only be enforced in @safe mode, sadly.
@Ethan: If you slap a `@safe` on this function, they don't compile anymore.