[Issue 9463] make @safe "non-escapable"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 6 17:54:42 PST 2013


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



--- Comment #6 from jfanatiker at gmx.at 2013-02-06 17:54:40 PST ---
> it IMHO. And whether it's @safe or @trusted or whatever doesn't matter much
> except to the caller, and the caller protects itself by marking itself @safe.

You are absolutely right, except for static this().

Maybe for importing stuff, pre-evaluation and rejecting things like static
this() might be the way to go.

For having modules dynamically linked in, (instead of extending an application
via scripts), maybe a compiler switch -safe causing the compiler only to accept
safe code would be a better idea.

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


More information about the Digitalmars-d-bugs mailing list