Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CandidateFinder.cpp

    ref9988b r7ff3e522  
    14731473                                        // unification run for side-effects
    14741474                                        unify( toType, cand->expr->result, env, need, have, open, symtab );
    1475                                         Cost thisCost = computeConversionCost( cand->expr->result, toType, cand->expr->get_lvalue(),
     1475                                        Cost thisCost = castCost( cand->expr->result, toType, cand->expr->get_lvalue(),
    14761476                                                        symtab, env );
    14771477
     
    14831483                                                                initExpr->location, restructureCast( cand->expr, toType ),
    14841484                                                                initAlt.designation },
    1485                                                         move(env), move( open ), move( need ), cand->cost, thisCost );
     1485                                                        copy( cand->env ), move( open ), move( need ), cand->cost, thisCost );
    14861486                                                inferParameters( newCand, matches );
    14871487                                        }
Note: See TracChangeset for help on using the changeset viewer.