Changeset 5d8dae7 for src


Ignore:
Timestamp:
Sep 22, 2022, 3:25:28 PM (2 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
b859f59
Parents:
e01eb4a
Message:

Used Pass::read in Unify in one place.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Unify.cc

    re01eb4a r5d8dae7  
    10361036                /// Creates a tuple type based on a list of Type
    10371037
    1038 
    10391038                static bool unifyList(
    10401039                        const std::vector< ast::ptr< ast::Type > > & list1,
     
    11741173                        return env.bindVar( var2, type1, entry2->second, need, have, open, widen, symtab );
    11751174                } else {
    1176                         ast::Pass<Unify_new> comparator{ type2, env, need, have, open, widen, symtab };
    1177                         type1->accept( comparator );
    1178                         return comparator.core.result;
     1175                        return ast::Pass<Unify_new>::read(
     1176                                type1, type2, env, need, have, open, widen, symtab );
    11791177                }
    11801178        }
Note: See TracChangeset for help on using the changeset viewer.