You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if we actually had non-ambiguous documentation about what is and what isn't type piracy so that we can be sure what is and what is not wrong, ref. JuliaLang/julia#51669 . Currently there seems to be no consensus nor clear communication from core Julia devs regarding this "wider union" case.
StaticArrays does some piracy, at least in
similar()
:StaticArrays.jl/src/abstractarray.jl
Lines 141 to 146 in 07c1245
Here,
and it fits eg
Tuple{}
,Tuple{Int}
,Tuple{Int, Int}
.It's generally a good thing to avoid piracy in foundational packages. Maybe, also related to ambiguities like JuliaArrays/StructArrays.jl#279?..
The text was updated successfully, but these errors were encountered: