You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found two functions with the same name
File "/Users/smujahid/repos/mozilla/bugbug/bugbug/code_search/mozilla.py", line 70, in get_function
assert found_perfect is None, "Found two functions with the same name"
^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/bugbug/code_search/mozilla.py", line 86, in get_function_by_name
return self.get_function(
^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/bugbug/tools/code_review.py", line 804, in request_for_function_declarations
definitions = function_search.get_function_by_name(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/bugbug/tools/code_review.py", line 1050, in run (Current frame)
requested_functions = request_for_function_declarations(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/venv/lib/python3.11/site-packages/tenacity/__init__.py", line 478, in __call__
result = fn(*args, **kwargs)
File "/Users/smujahid/repos/mozilla/bugbug/venv/lib/python3.11/site-packages/tenacity/__init__.py", line 336, in wrapped_f
return copy(f, *args, **kw)
File "/Users/smujahid/repos/mozilla/bugbug/scripts/code_review_tool_evaluator.py", line 163, in main
comments = tool.run(patch)
File "/Users/smujahid/repos/mozilla/bugbug/scripts/code_review_tool_evaluator.py", line 199, in <module>
main()
File "/opt/homebrew/Cellar/[email protected]/3.11.9/Frameworks/Python.framework/Versions/3.11/lib/python3.11/runpy.py", line 88, in _run_code
exec(code, run_globals)
File "/opt/homebrew/Cellar/[email protected]/3.11.9/Frameworks/Python.framework/Versions/3.11/lib/python3.11/runpy.py", line 198, in _run_module_as_main
return _run_code(code, main_globals, None,
AssertionError: Found two functions with the same name
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: