- File:
-
- 1 edited
-
src/ResolvExpr/CandidateFinder.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CandidateFinder.cpp
r5eb3f65 r525f7ad 9 9 // Author : Aaron B. Moss 10 10 // Created On : Wed Jun 5 14:30:00 2019 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Sat Jun 22 08:07:26 202413 // Update Count : 411 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed Mar 16 11:58:00 2022 13 // Update Count : 3 14 14 // 15 15 … … 909 909 auto location = expr->location; 910 910 auto callExpr = new ast::UntypedExpr( 911 location, new ast::NameExpr( location, "value " ), {expr}911 location, new ast::NameExpr( location, "valueE" ), {expr} 912 912 ); 913 913 finder.find( callExpr ); 914 914 CandidateList winners = findMinCost( finder.candidates ); 915 915 if (winners.size() != 1) { 916 SemanticError( callExpr, "Ambiguous expression in value ..." );916 SemanticError( callExpr, "Ambiguous expression in valueE..." ); 917 917 } 918 918 CandidateRef & choice = winners.front();
Note:
See TracChangeset
for help on using the changeset viewer.