www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 329] New: throwing within a finally statement

reply d-bugmail puremagic.com writes:

           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


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

Sep 07 2006
parent d-bugmail puremagic.com writes:

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.

Sep 19 2006