fholm / IronJS

IronJS - A JavaScript implementation for .NET
http://ironjs.wordpress.com
Apache License 2.0
680 stars 79 forks source link

break, continue and return not allowed in finally block #15

Closed fholm closed 13 years ago

fholm commented 13 years ago

.NET doesn't allow break, continue and return inside a finally block which causes compilation to fail with the message "Control cannot leave a finally block" if any of the violating statements are put inside a finally block.

fholm commented 13 years ago

Fixed