I'm having a lot of trouble debugging @nogc functions. I have a number
of debug functions that use GC, but I can't call them from @nogc
code... should debug{} allow @nogc calls, the same as impure calls?
Does this problem also extend to @safe? (I haven't encountered it, but I expect the same problem exists?)
Comment #1 by dev — 2016-09-14T09:32:54Z
Perhaps take a look at ignoring `pure` in debug blocks too.
Comment #2 by turkeyman — 2016-09-14T10:26:10Z
It already does that... no?
Comment #3 by greensunny12 — 2018-02-09T09:13:50Z
> It already does that... no?
Yes, it does, but not for @nogc, @safe or nothrow.