www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21159] New: DWARF: DW_AT_pure should be emitted for pure

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

          Issue ID: 21159
           Summary: DWARF: DW_AT_pure should be emitted for pure functions
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: lucien.perregaux gmail.com

This will enable the debugger to issue a warning if impure functions are
invoked from the debugger.

--
Aug 13 2020