Open
Description
in JuliaLang/julia#58836, triage desires to remove the promote_rule
defined for Pair
(and Some
) as to make it consistent with every other container type in the language
I am going through the results of the Nanosoldier run so as to avoid as much potential downstream impact as possible.
I noticed that the line here
ModuleElts.jl/src/ModuleElts.jl
Line 189 in 6915aec
Base.vect
to call promote_typeof
on the Pair
s, promoting them to a common concrete K, V
would it be feasible to loosen that signature? I believe the Dict
constructor should be trying to handle promotion and {K,V}
type anyway.
Metadata
Metadata
Assignees
Labels
No labels