Changeset 0362d42 for src/SynTree


Ignore:
Timestamp:
Sep 1, 2016, 3:27:57 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
1ced874
Parents:
fba44f8
Message:

modify instantiate function so that it allows formal parameters with tuple type to unify

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Type.h

    rfba44f8 r0362d42  
    352352        virtual ~TupleType();
    353353
     354        typedef std::list<Type*> value_type;
     355        typedef value_type::iterator iterator;
     356
    354357        std::list<Type*>& get_types() { return types; }
     358
     359        iterator begin() { return types.begin(); }
     360        iterator end() { return types.end(); }
    355361
    356362        virtual TupleType *clone() const { return new TupleType( *this ); }
Note: See TracChangeset for help on using the changeset viewer.