www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16492] New: support nogc in debug{} blocks

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: nobody puremagic.com
          Reporter: turkeyman 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?)

--
Sep 13 2016