Changeset 5a824c2 for src/ResolvExpr/AlternativeFinder.cc
- Timestamp:
- Aug 14, 2017, 5:23:31 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- b37dba0
- Parents:
- 6cfe8bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.cc
r6cfe8bb r5a824c2 193 193 if ( alternatives.begin() == oldBegin ) { 194 194 std::ostringstream stream; 195 stream << "Can't choose between " << alternatives.size() << " alternatives for expression "; 195 AltList winners; 196 findMinCost( alternatives.begin(), alternatives.end(), back_inserter( winners ) ); 197 stream << "Can't choose between " << winners.size() << " alternatives for expression "; 196 198 expr->print( stream ); 197 199 stream << "Alternatives are:"; 198 AltList winners;199 findMinCost( alternatives.begin(), alternatives.end(), back_inserter( winners ) );200 200 printAlts( winners, stream, 8 ); 201 201 throw SemanticError( stream.str() );
Note: See TracChangeset
for help on using the changeset viewer.