Ignore:
Timestamp:
Dec 20, 2023, 12:04:33 PM (9 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
523e300
Parents:
9fba8e6
Message:

You can how use local control flow out of 'catch' clauses. Added a test to show that it works.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/exceptions/try-ctrl-flow.cfa

    r9fba8e6 r0a6d2045  
    181181}
    182182
    183 void return_in_catch() {
    184         try {
    185                 ;
    186         } catch (nil_exception *) {
    187                 return;
    188         }
    189 }
    190 
    191183void return_in_catchResume() {
    192184        try {
Note: See TracChangeset for help on using the changeset viewer.