Changeset bbeb908 for src/GenPoly/InstantiateGeneric.cc
- Timestamp:
- Nov 6, 2017, 11:11:56 AM (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:
- a2ea829
- Parents:
- e706bfd (diff), 121ac13 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/InstantiateGeneric.cc
re706bfd rbbeb908 238 238 assertf( false, "Ttype parameters are not currently allowed as parameters to generic types." ); 239 239 break; 240 case TypeDecl::Any:241 assertf( false, " otype parameters handled by baseParam->isComplete()." );240 default: 241 assertf( false, "Unhandled type parameter kind" ); 242 242 break; 243 243 } … … 278 278 substituteMembers( base->get_members(), baseParams, typeSubs ); 279 279 280 deleteAll( baseParams ); 280 // xxx - can't delete type parameters because they may have assertions that are used 281 // deleteAll( baseParams ); 281 282 baseParams.clear(); 282 283
Note: See TracChangeset
for help on using the changeset viewer.