September 07, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=329

           Summary: throwing within a finally statement
           Product: D
           Version: 0.166
          Platform: PC
               URL: http://www.digitalmars.com/d/statement.html#try
        OS/Version: Linux
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: thomas-dloop@kuehne.cn


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.


-- 

September 19, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=329


bugzilla@digitalmars.com changed:

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




------- Comment #1 from bugzilla@digitalmars.com  2006-09-19 15:30 -------
Fixed in DMC 0.167.


--