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

Make IteratorSize(::Iterators.Cycle) not always IsInfinite and document why #54187

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

LilithHafner
Copy link
Member

Fixes #53169

Deletes an "XXX: this is false if iterator ever becomes empty" comment

base/generator.jl Outdated Show resolved Hide resolved
Co-authored-by: adienes <51664769+adienes@users.noreply.github.com>
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.

Iterators.cycle, IteratorSize: infinite but empty iterator
2 participants