JuliaImages / JuliaImages/ImageCore.jl
Ambiguity with `Base` on nightly.
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 28
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Noticed this in an upstream CI run https://github.com/JuliaTesting/ReferenceTests.jl/actions/runs/19192807846/job/54869573255:
Test Failed at /home/runner/work/ReferenceTests.jl/ReferenceTests.jl/test/runtests.jl:26
Expression: isempty(ambs)
Evaluated: isempty(Tuple{Method, Method}[(setindex!(A::Base.ReinterpretArray{var"#s4", N, var"#s3", P, true} where {var"#s4"<:ColorTypes.RGBX, var"#s3"<:Number, P<:(SubArray{T, N, P, I} where {T, N, P, I<:Tuple})}, val::ColorTypes.AbstractRGB, i::Vararg{Int64, N}) where N @ ImageCore ~/.julia/packages/ImageCore/0ilgc/src/colorchannels.jl:44, setindex!(a::Base.ReinterpretArray{T, 0, S, A, true} where {S, A<:(AbstractArray{S})}, v) where T @ Base reinterpretarray.jl:560)])
That is, there's a method in ImageCore/src/colorchannels.jl:44 that's ambiguous with a method in base/reinterpretarray.jl:560
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the upstream CI failure from ReferenceTests.jl and inspect the conflicting setindex! methods at ImageCore/src/colorchannels.jl:44 and Julia base/reinterpretarray.jl:560. Determine why the methods are ambiguous on nightly; done means the ambiguity is resolved and the referenced test no longer reports it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100