[Issue 1093] DMD doesn't generate correct try block code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 5 00:24:01 PDT 2007


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





------- Comment #1 from braddr at puremagic.com  2007-04-05 02:24 -------
What happens when you run it?  What do you expect it to do that it's not doing?

When I run it I see it print 10 down to 1 and then print Error:, exactly as I'd
expect (though a linefeed would be nice, that's not what I suspect you're
reporting).

I suspect what you're expecting is that the finally block doesn't stop the
throw from propagating.  If that's what you expect you should have used 'catch'
rather than 'finally'.

IE, there's no bug here as far as I can tell.  If there is, you'll need to be
much more informative about what this report is about.  In the future, please
try to include that type of information with your report so that less guessing
is required to evaluate the bug report.


-- 



More information about the Digitalmars-d-bugs mailing list