http://d.puremagic.com/issues/show_bug.cgi?id=9463
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from [email protected] 2013-02-06 18:31:43 PST --- Thanks Jonathan! By simply mixing in the code in a safe function like this: @safe void parseConfig() { mixin(import("app.cfg")); } you have all guarantees you need. For extending an application in a safe way, a compiler switch '-safe' would be the better way. It would be simpler to implement and completely backwards compatible. Closing this issue. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
