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

improve the effects of Base._tuple_unique_fieldtypes #48112

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

aviatesk
Copy link
Member

@aviatesk aviatesk commented Jan 4, 2023

Discovered during inspecting #48097.

base/tuple.jl Outdated
else
r = Union{}
for ti in (t´::DataType).parameters
t´ = unwrap_unionall(t)::DataType
Copy link
Member

Choose a reason for hiding this comment

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

UnionAll can also be wrapped in Union

Copy link
Member Author

Choose a reason for hiding this comment

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

Union can be wrapped in UnionAll, right?

@aviatesk aviatesk merged commit 46365ea into master Jan 6, 2023
@aviatesk aviatesk deleted the avi/minor-effects branch January 6, 2023 14:28
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