If I understand it correctly, Walter is against adding trusted blocks (trusted {...}) into @safe functions. But what about having safe blocks in @trusted functions ?

int somefunc() @trusted
{
   int a = systemfunc();
   int b;

   @safe {
      b = safefunc(); // calling systemfunc() not allowed;
   }

   return a + b;
}

Reply via email to