[Issue 16972] Issue diagnostic for throwing from a scope(exit) block
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jun 25 18:07:35 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=16972
--- Comment #3 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
Good find. A pertinent post from that thread:
http://forum.dlang.org/post/1237688782434087169.692302SeeWebsiteForEmail-erdan.org@news.digitalmars.com
Indeed, it seems facetious to "forbid" throw but allow calling non-nothrow
functions, and enforcing the latter is likely to break too much code now.
So, we need confirmation that the current compiler implementation is sane and
deals with throws properly, after which the spec could be updated.
--
More information about the Digitalmars-d-bugs
mailing list