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
(jl_uR6jC9) pkg> add AxisIndices
[...]
2 dependencies had output during precompilation:
┌ AxisIndices
│ WARNING: Method definition isassigned(Base.AbstractRange{T} where T, Integer) in module Base at range.jl:908 overwritten in module StaticRanges at /tmp/depot/packages/StaticRanges/pepl0/src/utils.jl:109.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
└
┌ StaticRanges
│ WARNING: Method definition isassigned(Base.AbstractRange{T} where T, Integer) in module Base at range.jl:908 overwritten in module StaticRanges at /tmp/depot/packages/StaticRanges/pepl0/src/utils.jl:109.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
└
and
(jl_uR6jC9) pkg> test AxisIndices
[...]
SimpleAxis: Error During Test at /tmp/depot/packages/AxisIndices/fLvXk/test/simple_axis.jl:3
Test threw exception
Expression: #= /tmp/depot/packages/AxisIndices/fLvXk/test/simple_axis.jl:3 =# @inferred((typeof(SimpleAxis(1:10)))(2:3)) == 2:3
MethodError: ==(::SimpleAxis{Int64, UnitRange{Int64}}, ::UnitRange{Int64}) is ambiguous.
Candidates:
==(x::AbstractAxis, y::OrdinalRange)
@ AxisIndices /tmp/depot/packages/AxisIndices/fLvXk/src/abstract_axis.jl:50
==(r::AbstractUnitRange, s::AbstractUnitRange)
@ Base range.jl:1131
==(x::AbstractAxis, y::AbstractRange)
@ AxisIndices /tmp/depot/packages/AxisIndices/fLvXk/src/abstract_axis.jl:46
==(r::OrdinalRange, s::OrdinalRange)
@ Base range.jl:1125
==(x::AbstractAxis, y::AbstractArray)
@ AxisIndices /tmp/depot/packages/AxisIndices/fLvXk/src/abstract_axis.jl:44
==(r::AbstractRange, s::AbstractRange)
@ Base range.jl:1148
Possible fix, define
==(::AbstractAxis, ::AbstractUnitRange)
Stacktrace:
[1] eval_test(evaluated::Expr, quoted::Expr, source::LineNumberNode, negate::Bool)
@ Test /usr/local/julia-1.10.4/share/julia/stdlib/v1.10/Test/src/Test.jl:355
[2] macro expansion
@ /usr/local/julia-1.10.4/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined]
[3] macro expansion
@ /tmp/depot/packages/AxisIndices/fLvXk/test/simple_axis.jl:3 [inlined]
[4] macro expansion
@ /usr/local/julia-1.10.4/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[5] top-level scope
@ /tmp/depot/packages/AxisIndices/fLvXk/test/simple_axis.jl:3
Test Summary: | Pass Error Total Time
SimpleAxis | 5 1 6 3.4s
The text was updated successfully, but these errors were encountered:
With Julia 1.10.4 I get for v0.7.3:
and
The text was updated successfully, but these errors were encountered: