Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.impl.hpp

    r16ba4897 rfca78f1  
    250250        }
    251251        pass_visitor_stats.depth--;
    252         errors.throwIfNonEmpty();
     252        if ( !errors.isEmpty() ) { throw errors; }
    253253
    254254        return new_kids;
     
    287287        __pedantic_pass_assert( new_kids.size() == container.size() );
    288288        pass_visitor_stats.depth--;
    289         errors.throwIfNonEmpty();
     289        if ( !errors.isEmpty() ) { throw errors; }
    290290
    291291        return ast::__pass::resultN<container_t, node_t>{ mutated, new_kids };
     
    401401        }
    402402        pass_visitor_stats.depth--;
    403         errors.throwIfNonEmpty();
     403        if ( !errors.isEmpty() ) { throw errors; }
    404404}
    405405
Note: See TracChangeset for help on using the changeset viewer.