Am Thu, 7 Feb 2013 08:46:55 +0100 schrieb Johannes Pfau <[email protected]>:
> Am Wed, 06 Feb 2013 22:46:50 +0400 > schrieb Dmitry Olshansky <[email protected]>: > > > 06-Feb-2013 22:26, Robert пишет: > > > Guaranteeing that the code in app.cfg has to be safe. > > > > > > I thought of some wrapper like safeImport() which searches the > > > code for @system or @trusted and rejects the code if one of them > > > is found. But this is quite hard to do it right, especially with > > > mixin's. So it's probably best if the compiler handles this. > > > > > > What do you think. Should I file a bug report? > > > > > > > Yup. > > > > But isn't @system completely useless if it can't overwrite @safe as > @system is always the default? > Seems this was already discussed on the bug tracker, I should have read the bug report first :-)
