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

Error in type normalization #39711

Closed
jakobnissen opened this issue Feb 17, 2021 · 2 comments
Closed

Error in type normalization #39711

jakobnissen opened this issue Feb 17, 2021 · 2 comments

Comments

@jakobnissen
Copy link
Contributor

Example:

julia> isequal(Tuple{Union{Base.KeySet{Symbol, Dict{Symbol, Any}}, Set{Symbol}}, Int64})
ERROR: TypeError: in new, expected Union, got Type{Tuple{Union{Base.KeySet{Symbol, Dict{Symbol, Any}}, Set{Symbol}}, Int64}}

It looks like the type is transformed from a tuple of unions to a union of tuples INSIDE the constructor of Fix2, after which there is a type mismatch. Not sure how that works.

@jakobnissen
Copy link
Contributor Author

May be same issue as #35661, but unlike in that example, this happens with concrete types.

@jakobnissen
Copy link
Contributor Author

This appears to be fixed om master - closing

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

No branches or pull requests

1 participant