Changeset d55d7a6 for src/GenPoly/Box.cc
- Timestamp:
- Feb 15, 2018, 3:58:56 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 75e3cb2
- Parents:
- d27e340
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Box.cc
rd27e340 rd55d7a6 229 229 } // if 230 230 } catch( SemanticError &e ) { 231 e.set_location( (*i)->location );232 231 errors.append( e ); 233 232 } // try … … 576 575 } 577 576 } else { 578 throw SemanticError( "Cannot pass non-struct type for generic struct: ", argBaseType);577 throw SemanticError( argBaseType, "Cannot pass non-struct type for generic struct: " ); 579 578 } 580 579 } … … 598 597 } else { 599 598 // xxx - should this be an assertion? 600 throw SemanticError( toString( *env, "\nunbound type variable: ", tyParm->first, " in application " ), appExpr);599 throw SemanticError( appExpr, toString( *env, "\nunbound type variable: ", tyParm->first, " in application " ) ); 601 600 } // if 602 601 } // if
Note: See TracChangeset
for help on using the changeset viewer.