[Issue 24369] New: Allow define "debug" with compiled time literal "__MODULE__"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 3 23:39:10 UTC 2024


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

          Issue ID: 24369
           Summary: Allow define "debug" with compiled time literal
                    "__MODULE__"
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: apz28 at hotmail.com

Relax the debug literal for compiled time keyword "__MODULE__". Explicitly type
in the module name is error prone


debug (__MODULE__) writeln(...);

--


More information about the Digitalmars-d-bugs mailing list