[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:03:03 PDT 2017


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

--- Comment #2 from Ali Cehreli <acehreli at yahoo.com> ---
To complete, the spec says "A scope(exit) or scope(success) statement may not
exit with a throw, goto, break, continue, or return; nor may it be entered with
a goto."

And I found a very long forum thread:

  http://forum.dlang.org/post/m0l0p4$28la$1@digitalmars.com

--


More information about the Digitalmars-d-bugs mailing list