Changeset 031a2c95
- Timestamp:
- Mar 13, 2017, 2:14:46 PM (8 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:
- 8ef9c5e7
- Parents:
- be8bd88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/InstantiateGeneric.cc
rbe8bd88 r031a2c95 237 237 } 238 238 out.push_back( new TypeExpr( voidPtr ) ); 239 // this type is still dtype-static, no change to gt 239 240 } else { 240 241 // Just clone parameter type 241 242 out.push_back( paramType->clone() ); 243 // make the struct concrete or dynamic depending on the parameter 244 gt |= isPolyType( paramType->get_type() ) ? genericType::dynamic : genericType::concrete; 242 245 } 243 // make the struct concrete or dynamic depending on the parameter244 gt |= isPolyType( paramType->get_type() ) ? genericType::dynamic : genericType::concrete;245 246 } else switch ( (*baseParam)->get_kind() ) { 246 247 case TypeDecl::Dtype:
Note: See TracChangeset
for help on using the changeset viewer.