http://d.puremagic.com/issues/show_bug.cgi?id=9463
--- Comment #8 from [email protected] 2013-02-07 01:44:05 PST --- Sadly, this compiles: @safe int test2() { class Test { @system static this() { int *p=new int; *p++=8; } } return 10; } So no silver bullet either, but smart filtering of source code, disallowing mixin and static this, should do the trick. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
