Changeset 5eb3f65 for src/ResolvExpr
- Timestamp:
- Jun 24, 2024, 11:06:35 PM (9 months ago)
- Branches:
- master
- Children:
- 089b39e1, 6803ff1
- Parents:
- 253d0b4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CandidateFinder.cpp
r253d0b4 r5eb3f65 9 9 // Author : Aaron B. Moss 10 10 // Created On : Wed Jun 5 14:30:00 2019 11 // Last Modified By : Andrew Beach12 // Last Modified On : Wed Mar 16 11:58:00 202213 // Update Count : 311 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Jun 22 08:07:26 2024 13 // Update Count : 4 14 14 // 15 15 … … 909 909 auto location = expr->location; 910 910 auto callExpr = new ast::UntypedExpr( 911 location, new ast::NameExpr( location, "value E" ), {expr}911 location, new ast::NameExpr( location, "value" ), {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 E..." );916 SemanticError( callExpr, "Ambiguous expression in value..." ); 917 917 } 918 918 CandidateRef & choice = winners.front();
Note: See TracChangeset
for help on using the changeset viewer.