- File:
-
- 1 edited
-
src/Validate/CheckAssertions.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/CheckAssertions.cpp
r82a5ea2 r16ba4897 60 60 makeTypeVarMap( decl, typeVars ); 61 61 checkList( typeVars, errors, decl->assertions ); 62 if ( !errors.isEmpty() ) { throw errors; }62 errors.throwIfNonEmpty(); 63 63 } 64 64 … … 72 72 } 73 73 if ( checkMembers ) checkList( typeVars, errors, decl->members ); 74 if ( !errors.isEmpty() ) { throw errors; }74 errors.throwIfNonEmpty(); 75 75 } 76 76
Note:
See TracChangeset
for help on using the changeset viewer.