[Issue 7049] Multiple scope(failure) blocks don't work in @safe code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 2 08:55:22 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=7049


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-12-02 08:54:17 PST ---
That's odd. That would imply that the try-catch blocks generated by
scope(failure) are using catch(Throwable) instead of catch(Exception), but
scope statements are supposed to be skipped when Errors are thrown, so there's
no reason for them be catching Throwable instead of Exception.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list