Ignore:
Timestamp:
Jul 20, 2018, 4:50:02 PM (4 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env
Children:
9160cb2
Parents:
eff03a94
git-author:
Aaron Moss <a3moss@…> (07/20/18 16:43:03)
git-committer:
Aaron Moss <a3moss@…> (07/20/18 16:50:02)
Message:

Ported combine function into new environment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/TypeEnvironment.h

    reff03a94 rf89a111  
    221221                /// Caller should ensure environments do not share type variables.
    222222                void simpleCombine( const TypeEnvironment &second );
     223
     224                /// Combines two environments, checking compatibility. Both environments must be versioned
     225                /// from the same initial environment.
     226                /// Returns false if unsuccessful, but does NOT roll back partial changes
     227                bool combine( const TypeEnvironment& o, const SymTab::Indexer& indexer );
    223228       
    224229                void extractOpenVars( OpenVarSet &openVars ) const;
Note: See TracChangeset for help on using the changeset viewer.