[Issue 4223] Throwing exception in finally block hides original exception

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 7 17:12:33 PST 2011


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


Gide Nwawudu <gide at nwawudu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


--- Comment #3 from Gide Nwawudu <gide at nwawudu.com> 2011-01-07 17:10:14 PST ---
Looks fixed.

C:\>type bug4223.d
void main() {
    try {
        assert(false, "a");
    } finally {
        assert(false, "b");
    }
}

C:\>dmd bug4223.d

C:\>bug4223
core.exception.AssertError at bug4223.d(5): b
core.exception.AssertError at bug4223.d(3): a

-- 
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