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: nob...@puremagic.com
          Reporter: lucien.perreg...@gmail.com

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

--

Reply via email to