https://issues.dlang.org/show_bug.cgi?id=16492

          Issue ID: 16492
           Summary: support @nogc in debug{} blocks
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: turkey...@gmail.com

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?)

--

Reply via email to