[Issue 16492] New: support @nogc in debug{} blocks
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Sep 13 19:39:51 PDT 2016
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 at puremagic.com
Reporter: turkeyman at 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?)
--
More information about the Digitalmars-d-bugs
mailing list