[Issue 13723] New: onFinalizeError should not be called for Errors

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Nov 12 13:46:16 PST 2014


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

          Issue ID: 13723
           Summary: onFinalizeError should not be called for Errors
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: thecybershadow at gmail.com

onFinalizeError will currently catch any Throwable and replace it with a
FinalizeError. If the Throwable was an Error, however, this is redundant, and
only serves to mask the real source of problems (e.g. an
InvalidMemoryOperationError).

--


More information about the Digitalmars-d-bugs mailing list