This package defines a getindex method that conflicts with the getindex documentation:
|
Base.getindex(::Type{Index}, i) = Index(i) |
The relevant doc string implies that getindex(type, args...) should return an AbstractVector{type} with args as its elements.
The context here is that I'm working on a PR to Julia to make eltype more precise for some subtypes of Generator, involving things like Iterators.map(Base.Fix1(getindex, Int), [3, 7]). Thus I'm looking for packages with conflicting assumptions using JuliaHub's code search, to avoid unexpectedly breaking the ecosystem.
This package defines a
getindexmethod that conflicts with thegetindexdocumentation:AxisKeys.jl/src/selectors.jl
Line 153 in e98481c
The relevant doc string implies that
getindex(type, args...)should return anAbstractVector{type}withargsas its elements.The context here is that I'm working on a PR to Julia to make
eltypemore precise for some subtypes ofGenerator, involving things likeIterators.map(Base.Fix1(getindex, Int), [3, 7]). Thus I'm looking for packages with conflicting assumptions using JuliaHub's code search, to avoid unexpectedly breaking the ecosystem.