digitalmars.D.bugs - [Issue 22774] New: TraceInfo is gathered only once when creating a
- d-bugmail puremagic.com (19/19) Feb 14 2022 https://issues.dlang.org/show_bug.cgi?id=22774
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: nobody puremagic.com Reporter: muhammed.yucel bosagora.io 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. --
Feb 14 2022