Changeset 64eae56 for src/ResolvExpr
- Timestamp:
- Dec 21, 2016, 5:15:27 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:
- 0c286cf
- Parents:
- 53e3b4a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Unify.cc
r53e3b4a r64eae56 491 491 std::list< Type * > types; 492 492 for ( ; begin != end; ++begin ) { 493 // might need to break apart these types too? 494 // yes, looks like we should flatten begin and push back each types individually 495 types.push_back( (*begin)->get_type()->clone() ); 493 // it's guaranteed that a ttype variable will be bound to a flat tuple, so ensure that this results in a flat tuple 494 flatten( (*begin)->get_type(), back_inserter( types ) ); 496 495 } 497 496 return new TupleType( Type::Qualifiers(), types );
Note: See TracChangeset
for help on using the changeset viewer.