Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/SatisfyAssertions.cpp

    r2fb35df r07d867b  
    170170                        const ast::DeclWithType * candidate = cdata.id;
    171171
    172                         // ignore deleted candidates.
    173                         // NOTE: this behavior is different from main resolver.
    174                         // further investigations might be needed to determine
    175                         // if we should implement the same rule here
    176                         // (i.e. error if unique best match is deleted)
    177                         if (candidate->isDeleted) continue;
    178 
    179172                        // build independent unification context for candidate
    180173                        ast::AssertionSet have, newNeed;
     
    325318                                        if ( ! func ) continue;
    326319
    327                                         for ( const auto & param : func->params ) {
    328                                                 cost.decSpec( specCost( param ) );
     320                                        for ( const ast::DeclWithType * param : func->params ) {
     321                                                cost.decSpec( specCost( param->get_type() ) );
    329322                                        }
    330323
Note: See TracChangeset for help on using the changeset viewer.