[Issue 19831] throw/catch in scope(exit) crashes with illegal instruction

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 2 15:29:28 UTC 2019


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

--- Comment #1 from FeepingCreature <default_357-line at yahoo.de> ---
As far as I can see, what happens is it tries to format the exception inside
foo(), goes into core.demangle.doDemangle, throws a ParseException, forgets how
to cope with `catch (ParseException)` and falls right through to `catch
(Exception)`, where it assert(false)s out.

Why? Who knows. Dark dwarf magic.

--


More information about the Digitalmars-d-bugs mailing list