Add defalg methods to resolve potential dispatch ambiguities#43426
Merged
vtjnash merged 1 commit intoJuliaLang:masterfrom Jan 18, 2022
Merged
Add defalg methods to resolve potential dispatch ambiguities#43426vtjnash merged 1 commit intoJuliaLang:masterfrom
vtjnash merged 1 commit intoJuliaLang:masterfrom
Conversation
We could also consider adding `defalg(v::AbstractArray{<:Number}) = DEFAULT_UNSTABLE`, but it is unlikely that someone will want to do `Union` of `<:Number` and something other than `Missing` that still would support comparison.
Relevant for JuliaStrings/InlineStrings.jl#21 (and other custom types that will want to add `defalg` support allowing for `Union` with `Missing`).
Preferably this should be backported I think.
Contributor
|
Can this be merged and backported? |
Member
|
I am not sure about the backport, since that seems harder for packages to support |
N5N3
pushed a commit
to N5N3/julia
that referenced
this pull request
Jan 24, 2022
…ng#43426) We could also consider adding `defalg(v::AbstractArray{<:Number}) = DEFAULT_UNSTABLE`, but it is unlikely that someone will want to do `Union` of `<:Number` and something other than `Missing` that still would support comparison. Relevant for JuliaStrings/InlineStrings.jl#21 (and other custom types that will want to add `defalg` support allowing for `Union` with `Missing`).
Contributor
|
@vtjnash - on our long-term support builds we have recently run into an issue where upgrading CSV.jl to it's latest version(0.10.2) creates the issue @bkamins is resolving here. Getting this backported for the current LTS would be helpful for us(RelationalAI) as it could get us some performance wins both short and long term. Is there something blocking the backport or can it be added onto the roadmap? |
Member
|
Added |
Contributor
|
Thank you! |
KristofferC
pushed a commit
that referenced
this pull request
Feb 15, 2022
We could also consider adding `defalg(v::AbstractArray{<:Number}) = DEFAULT_UNSTABLE`,
but it is unlikely that someone will want to do `Union` of `<:Number`
and something other than `Missing` that still would support comparison.
Relevant for JuliaStrings/InlineStrings.jl#21
(and other custom types that will want to add `defalg` support allowing
for `Union` with `Missing`).
(cherry picked from commit eb724e0)
KristofferC
pushed a commit
that referenced
this pull request
Feb 19, 2022
We could also consider adding `defalg(v::AbstractArray{<:Number}) = DEFAULT_UNSTABLE`,
but it is unlikely that someone will want to do `Union` of `<:Number`
and something other than `Missing` that still would support comparison.
Relevant for JuliaStrings/InlineStrings.jl#21
(and other custom types that will want to add `defalg` support allowing
for `Union` with `Missing`).
(cherry picked from commit eb724e0)
50 tasks
LilithHafner
pushed a commit
to LilithHafner/julia
that referenced
this pull request
Feb 22, 2022
…ng#43426) We could also consider adding `defalg(v::AbstractArray{<:Number}) = DEFAULT_UNSTABLE`, but it is unlikely that someone will want to do `Union` of `<:Number` and something other than `Missing` that still would support comparison. Relevant for JuliaStrings/InlineStrings.jl#21 (and other custom types that will want to add `defalg` support allowing for `Union` with `Missing`).
LilithHafner
pushed a commit
to LilithHafner/julia
that referenced
this pull request
Mar 8, 2022
…ng#43426) We could also consider adding `defalg(v::AbstractArray{<:Number}) = DEFAULT_UNSTABLE`, but it is unlikely that someone will want to do `Union` of `<:Number` and something other than `Missing` that still would support comparison. Relevant for JuliaStrings/InlineStrings.jl#21 (and other custom types that will want to add `defalg` support allowing for `Union` with `Missing`).
staticfloat
pushed a commit
that referenced
this pull request
Dec 23, 2022
We could also consider adding `defalg(v::AbstractArray{<:Number}) = DEFAULT_UNSTABLE`,
but it is unlikely that someone will want to do `Union` of `<:Number`
and something other than `Missing` that still would support comparison.
Relevant for JuliaStrings/InlineStrings.jl#21
(and other custom types that will want to add `defalg` support allowing
for `Union` with `Missing`).
(cherry picked from commit eb724e0)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We could also consider adding
defalg(v::AbstractArray{<:Number}) = DEFAULT_UNSTABLE, but it is unlikely that someone will want to doUnionof<:Numberand something other thanMissingthat still would support comparison.Relevant for JuliaStrings/InlineStrings.jl#21 (and other custom types that will want to add
defalgsupport allowing forUnionwithMissing).Preferably this should be backported I think.