Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from_scratch: fix enumeration bug #775

Merged
merged 1 commit into from
Feb 4, 2025
Merged

Conversation

arthurscchan
Copy link
Collaborator

function.arg_names is a python list. Looping it to get both the items and the index requires the enumeration function which is missing from the code. The original code works because the testing is only done on empty arg_names which does not trigger the loop. This PR fixes the bug.

@arthurscchan
Copy link
Collaborator Author

/gcbrun skip

@DavidKorczynski DavidKorczynski merged commit faa6812 into main Feb 4, 2025
5 checks passed
@DavidKorczynski DavidKorczynski deleted the fix-enumeration-bug branch February 4, 2025 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants