- File:
-
- 1 edited
-
src/ResolvExpr/CandidateFinder.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CandidateFinder.cpp
r0536c03 r3e5dd913 905 905 // xxx - is it possible that handleTupleAssignment and main finder both produce candidates? 906 906 // this means there exists ctor/assign functions with a tuple as first parameter. 907 ResolvMode mode = { 908 true, // adjust 909 !untypedExpr->func.as<ast::NameExpr>(), // prune if not calling by name 910 selfFinder.candidates.empty() // failfast if other options are not found 911 }; 912 funcFinder.find( untypedExpr->func, mode ); 907 funcFinder.find( untypedExpr->func, selfFinder.candidates.empty() ? ResolvMode::withAdjustment() : ResolvMode::withoutFailFast() ); 913 908 // short-circuit if no candidates 914 909 // if ( funcFinder.candidates.empty() ) return;
Note:
See TracChangeset
for help on using the changeset viewer.