Bug 329 – throwing within a finally statement

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-09-07T03:01:00Z
Last change time
2014-02-15T13:29:12Z
Keywords
spec
Assigned to
bugzilla
Creator
thomas-dloop

Comments

Comment #0 by thomas-dloop — 2006-09-07T03:01:38Z
http://www.digitalmars.com/d/statement.html#try # If an exception is raised in the FinallyStatement and is # not caught before the FinallyStatement is executed, the # new exception replaces any existing exception: How can an exception be raised in a block statement before this very block statement is executed? # A FinallyStatement may not exit with a throw, goto, break, # continue, or return; nor may it be entered with a goto. The second quote contradicts with the first quote and its example code.
Comment #1 by bugzilla — 2006-09-19T15:30:11Z
Fixed in DMC 0.167.