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 definition of promote_rule(Missing, Missing) #27256

Merged
merged 1 commit into from
May 27, 2018
Merged

Fix definition of promote_rule(Missing, Missing) #27256

merged 1 commit into from
May 27, 2018

Conversation

Keno
Copy link
Member

@Keno Keno commented May 25, 2018

I don't believe this definition is ever actually used (because promote_type(::Type{T}, ::Type{T}) where {T} would intercept it earlier), but it is still useful for preventing the ambiguities test to complain. As such, we might as well make it correct.

I don't believe this definition is ever actually used (because `promote_type(::Type{T}, ::Type{T}) where {T}` would intercept it earlier), but it is still useful for preventing the ambiguities test to complain. As such, we might as well make it correct.
@kshyatt kshyatt added the domain:types and dispatch Types, subtyping and method dispatch label May 27, 2018
@Keno Keno merged commit 2256c6b into master May 27, 2018
@ararslan ararslan deleted the kf/missingU branch May 27, 2018 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:types and dispatch Types, subtyping and method dispatch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants