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

          Issue ID: 22774
           Summary: TraceInfo is gathered only once when creating a
                    Throwable
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: druntime
          Assignee: [email protected]
          Reporter: [email protected]

One can prefer use of single `Exception` instance to prevent creating new
Exception objects and continue `throw`ing that single instance. When this
approach is preferred, Throwable trace info shows trace of the first `throw` of
that exception, which leads to invalid information for following throws.

--

Reply via email to