Skip to content

Ambiguities in getindex introduced by Unrolled #9

@jishnub

Description

@jishnub

I'm on Julia 1.4.2 and using Unrolled version 0.1.3.

julia> using Test

julia> Test.detect_ambiguities(Base)
19-element Array{Tuple{Method,Method},1}:
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(io::IO, key) in Base at show.jl:332)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(d::IdDict{K,V}, key) where {K, V} in Base at abstractdict.jl:602)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(itr::Base.SkipMissing, I...) in Base at missing.jl:257)
 (getindex(md::Markdown.MD, args...) in Markdown at /home/jishnu/Downloads/julia-1.4.2/share/julia/stdlib/v1.4/Markdown/src/parse/parse.jl:24, getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23)
 (getindex(cache::LibGit2.CachedCredentials, cred_id) in LibGit2 at /home/jishnu/Downloads/julia-1.4.2/share/julia/stdlib/v1.4/LibGit2/src/types.jl:1275, getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(::Type{T}, x) where T in Base at array.jl:395)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(A::AbstractArray, I...) in Base at abstractarray.jl:978)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(t::AbstractDict, key) in Base at abstractdict.jl:469)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(::Type{Any}, vals...) in Base at array.jl:400)
 (getindex(r::Distributed.RemoteChannel, args...) in Distributed at /home/jishnu/Downloads/julia-1.4.2/share/julia/stdlib/v1.4/Distributed/src/remotecall.jl:637, getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(cmd::Cmd, i) in Base at process.jl:643)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(::Type{T}, vals...) where T in Base at array.jl:387)
 (getindex(t::REPL.Terminals.TTYTerminal, key) in REPL.Terminals at /home/jishnu/Downloads/julia-1.4.2/share/julia/stdlib/v1.4/REPL/src/Terminals.jl:175, getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(dict::Base.ImmutableDict, key) in Base at dict.jl:773)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(h::Dict{K,V}, key) where {K, V} in Base at dict.jl:476)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(wkh::WeakKeyDict{K,V} where V, key) where K in Base at weakkeydict.jl:111)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(io::IOContext, key) in Base at show.jl:331)
 (getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23, getindex(v::Base.Iterators.Pairs, key) in Base.Iterators at iterators.jl:250)
 (getindex(r::Distributed.Future, args...) in Distributed at /home/jishnu/Downloads/julia-1.4.2/share/julia/stdlib/v1.4/Distributed/src/remotecall.jl:635, getindex(seq, ::FixedRange{A,B}) where {A, B} in Unrolled at /home/jishnu/.julia/packages/Unrolled/26uDc/src/range.jl:23)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions