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 eltype of flatten of tuple with non-2 length #56802

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

Conversation

jakobnissen
Copy link
Contributor

In 4c076c8, eltype of flatten of tuple was improved by computing a refined eltype at compile time. However, this implementation only worked for length-2 tuples, and errored for all others.
Generalize this to all tuples.

Closes #56783

In 4c076c8, eltype of flatten of tuple was improved by computing a refined
eltype at compile time. However, this implementation only worked for length-2
tuples, and errored for all others.
Generalize this to all tuples.
@jakobnissen jakobnissen added the bugfix This change fixes an existing bug label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression in collect(Iterators.flatten((some_values..., ))) on the main branch
1 participant