Open andreasvarga opened 2 years ago
Thanks for this! In #403 many method invalidations were pointed out and that led to some improved package load times. Hopefully pursing this will as well.
Closed with #436 Thanks again!
Since this is still open:
| | |_| | | | (_| | | Version 1.10.0-DEV.982 (2023-04-10)
_/ |\__'_|_|_|\__'_| | Commit ea72b942792 (4 days old master)
|__/ |
julia> using Test, MutableArithmetics, Polynomials
WARNING: using MutableArithmetics.Test in module Main conflicts with an existing identifier.
julia> detect_ambiguities(Polynomials, recursive = true)
1-element Vector{Tuple{Method, Method}}:
(+(x, ::Zero) @ MutableArithmetics ~/.julia/packages/MutableArithmetics/geMUn/src/rewrite.jl:57, +(p::P, c::S) where {T, X, P<:AbstractPolynomial{T, X}, S} @ Polynomials ~/.julia/packages/Polynomials/Fh8md/src/common.jl:948)
I'm not exactly sure whose bug this is (MA or Polynomials), but AFAIK ambiguities sometimes require coordination between multiple packages, so I thought it's best to report this.
Thanks. I wasn't sure how to manage this, thinking it lie with the other package. But I'll have alook to see.
I tried to check my packages with Aqua.jl (just for fun).
Performing the ambiguity test strictly for my package I obtained no ambiguities in my code
However, without the
recursive = false
setting, I obtained a lot of complaints, which apparently originate fromPolynomials
. So, I performed the test only forPolynomials
and gotI wonder if this is of any relevance for this package.