History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-877
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Marcus Griep
Reporter: Marcus Griep
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

Exception Handling: Allow anonymous typed handlers

Created: 27/Sep/07 08:08 PM   Updated: 26/Oct/07 09:19 PM
Component/s: Parser, Emitter, Compiler
Affects Version/s: 0.8
Fix Version/s: 0.8.1

Time Tracking:
Not Specified

Issue Links:
Related
 
Supercedes
 

Testcase included: yes
Patch Submitted: Yes


 Description  « Hide
Boo does not allow anonymous typed handlers as C# does:
catch(ArithmeticException) { }

The attached patch corrects BOO-876 and this issue. Anonymous typed handlers are now allowed in the form:

except as ArithmeticException:
  pass

Which is equivalent to the C# code above.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Marcus Griep - 06/Oct/07 09:56 PM
Use the patch file in BOO-879. It is more succinct and covers all related exception isses.

Rodrigo B. de Oliveira - 25/Oct/07 05:37 AM
Please don't mark the issue Fixed unless it's been checked in to trunk.

Marcus Griep - 26/Oct/07 09:19 PM
Revision 2744