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

Fix non-iteratrable input of yieldEach #463

Merged
merged 3 commits into from
Nov 15, 2024

Conversation

Yi2255
Copy link
Contributor

@Yi2255 Yi2255 commented Nov 14, 2024

  1. The input of yieldEach must be an iterable object, so separate yieldEach from YieldGenerator and use it as a separate code generator which requires iterable object.
  2. For other code generators that need to use yieldEach, get random objects from the context, and then put those objects into an array as the input to yieldEach.

@saelo saelo merged commit 0f52182 into googleprojectzero:main Nov 15, 2024
2 of 3 checks passed
@saelo
Copy link
Collaborator

saelo commented Nov 15, 2024

Thanks a lot!

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