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
# adding the global assignments before replacing the code, not after
450
-
# becuase of an "edge case" where the optimized code intoduced a new import and a global assignment using that import
450
+
# because of an "edge case" where the optimized code intoduced a new import and a global assignment using that import
451
451
# and that import wasn't used before, so it was ignored when calling AddImportsVisitor.add_needed_import inside replace_functions_and_add_imports (because the global assignment wasn't added yet)
452
452
# this was added at https://github.com/codeflash-ai/codeflash/pull/448
0 commit comments