www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13723] New: onFinalizeError should not be called for Errors

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 puremagic.com
          Reporter: thecybershadow 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).

--
Nov 12 2014