Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/CheckAssertions.cpp

    r82a5ea2 r16ba4897  
    6060                makeTypeVarMap( decl, typeVars );
    6161                checkList( typeVars, errors, decl->assertions );
    62                 if ( !errors.isEmpty() ) { throw errors; }
     62                errors.throwIfNonEmpty();
    6363        }
    6464
     
    7272                }
    7373                if ( checkMembers ) checkList( typeVars, errors, decl->members );
    74                 if ( !errors.isEmpty() ) { throw errors; }
     74                errors.throwIfNonEmpty();
    7575        }
    7676
Note: See TracChangeset for help on using the changeset viewer.