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

avoid Any32 type in filter for tuples #42263

Merged
merged 1 commit into from
Sep 16, 2021
Merged

avoid Any32 type in filter for tuples #42263

merged 1 commit into from
Sep 16, 2021

Conversation

JeffBezanson
Copy link
Member

This is sufficient to fix the case in that issue, but we should probably stop using these types. After intersection, they tend to blow up into more complex long tuple types (tuples of many unions) that are intractable for subtyping. With some quick experiments, so far it looks to me like we can replace these with length checks now with no regressions.

fixes #42236

Copy link
Member

@Sacha0 Sacha0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! :)

@JeffBezanson JeffBezanson merged commit 5a1b8be into master Sep 16, 2021
@JeffBezanson JeffBezanson deleted the jb/filter32tuple branch September 16, 2021 00:13
@ararslan
Copy link
Member

I think this should have had at least several more approvals before merging, 4 is not enough

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.

compiler hang in julia 1.7 on Gridap tutorial
6 participants