Ticket #86 (closed enhancement: fixed)
Add "try/catch" expression encapsulating any expression
Reported by: | Chuck | Owned by: | Chuck |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
x = int.parse(input) catch FormatError get 0
See full discussion at Shortcut syntax idea for catch.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.