diff --git a/eval/compiler/resolver.cc b/eval/compiler/resolver.cc index cca72964a..3acc39165 100644 --- a/eval/compiler/resolver.cc +++ b/eval/compiler/resolver.cc @@ -196,8 +196,8 @@ std::vector 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; } diff --git a/eval/eval/function_step.cc b/eval/eval/function_step.cc index 37763bc9e..0cbf11bc7 100644 --- a/eval/eval/function_step.cc +++ b/eval/eval/function_step.cc @@ -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