[Issue 7349] assert(0) in class destructor - bad (or incorrect) error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 22 14:17:47 UTC 2021


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

--- Comment #6 from Walter Bright <bugzilla at digitalmars.com> ---
The offending code:

https://github.com/dlang/druntime/blob/f94e816c1dd229cbb133085a6fc41d1bd6d45594/src/core/exception.d#L417-L449

Andrei suggests using a thread local static object to throw.

--


More information about the Digitalmars-d-bugs mailing list