Description
... because the is_new_version function will crash when the argument is "4.3.0".
Detailed Steps to Reproduce the Behavior
Build any repo with toolchain specified as "v4.3.0"
Logs in Debug Mode
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/tony/src/lean-dojo/LeanDojo/src/lean_dojo/data_extraction/build_lean4_repo.py", line 137, in is_new_version
return rc >= 2
UnboundLocalError: local variable 'rc' referenced before assignment
Description ... because the
is_new_version
function will crash when the argument is "4.3.0".Detailed Steps to Reproduce the Behavior Build any repo with toolchain specified as "v4.3.0"
Logs in Debug Mode
Platform Information