Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions eval/compiler/resolver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ std::vector<cel::FunctionRegistry::LazyOverload> Resolver::FindLazyOverloads(
auto prefixes = GetPrefixesFor(name);
for (const auto& prefix : prefixes) {
std::string qualified_name = absl::StrCat(prefix, name);
funcs = function_registry_.FindLazyOverloadsByArity(name, receiver_style,
arity);
funcs = function_registry_.FindLazyOverloadsByArity(qualified_name,
receiver_style, arity);
if (!funcs.empty()) {
return funcs;
}
Expand Down
1 change: 0 additions & 1 deletion eval/eval/function_step.cc
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ Value NoOverloadResult(absl::string_view name,

// If no errors or unknowns in input args, create new CelError for missing
// overload.
std::string signature;
if (receiver_style) {
if (args.empty()) {
// Should not be possible, but return a sensible error in case of logic
Expand Down
Loading