Changeset 1a59641 for src/ResolvExpr/TypeEnvironment.cc
- Timestamp:
- Jul 27, 2018, 2:41:34 PM (5 years ago)
- Branches:
- new-env
- Children:
- 6fa409e
- Parents:
- 5a3e1f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/TypeEnvironment.cc
r5a3e1f1 r1a59641 36 36 37 37 namespace ResolvExpr { 38 #if 038 #ifdef EXPENSIVE_ENV_VALIDATION 39 39 #define PRE_POST_VALIDATE auto dbg = ValidateGuard{this, __func__}; 40 40 #define PRE_POST_VALIDATE_NOM auto dbg = ValidateGuard{this}; … … 411 411 } 412 412 413 bool TypeEnvironment::combine( const TypeEnvironment& o, const SymTab::Indexer& indexer ) { 413 bool TypeEnvironment::combine( const TypeEnvironment& o, OpenVarSet& openVars, 414 const SymTab::Indexer& indexer ) { 414 415 // short-circuit for empty cases 415 416 if ( o.isEmpty() ) return true; … … 657 658 Type* common = nullptr; 658 659 AssertionSet need, have; 659 OpenVarSet openVars;660 660 if ( unifyInexact( ebound.type->clone(), nbound.type->clone(), *this, need, have, 661 661 openVars, WidenMode{ ebound.allowWidening, nbound.allowWidening },
Note: See TracChangeset
for help on using the changeset viewer.