www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24369] New: Allow define "debug" with compiled time literal

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 puremagic.com
          Reporter: apz28 hotmail.com

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


debug (__MODULE__) writeln(...);

--
Feb 03