On 2/8/18 8:32 AM, Steven Schveighoffer wrote:
On 2/7/18 10:32 PM, Timothee Cour wrote:
same question with how to wrap a gc function inside a nogc shell, if
not, allowing a flag -ignore_nogc that'd enable this (again, for
debugging purposes)


If you wrap the call in a debug block, it will work.

int foo() pure
{
    debug writeln("yep, this works");
}

Gah, I see this was answered 2 other times, but for some reason, your replies turn out as new threads.

Sorry for the extra noise.

-Steve

Reply via email to