Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    r4d2d45f9 rda6032af  
    258258                        // - necessary pre-requisite to pruning
    259259                        AltList candidates;
    260                         std::list<std::string> errors;
    261260                        for ( unsigned i = 0; i < alternatives.size(); ++i ) {
    262                                 resolveAssertions( alternatives[i], indexer, candidates, errors );
     261                                resolveAssertions( alternatives[i], indexer, candidates );
    263262                        }
    264263                        // fail early if none such
    265264                        if ( mode.failFast && candidates.empty() ) {
    266265                                std::ostringstream stream;
    267                                 stream << "No alternatives with satisfiable assertions for " << expr << "\n";
    268                                 //        << "Alternatives with failing assertions are:\n";
    269                                 // printAlts( alternatives, stream, 1 );
    270                                 for ( const auto& err : errors ) {
    271                                         stream << err;
    272                                 }
     266                                stream << "No resolvable alternatives for expression " << expr << "\n"
     267                                       << "Alternatives with failing assertions are:\n";
     268                                printAlts( alternatives, stream, 1 );
    273269                                SemanticError( expr->location, stream.str() );
    274270                        }
Note: See TracChangeset for help on using the changeset viewer.