Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method ambiguities reported by Aqua #48

Open
prbzrg opened this issue Dec 27, 2023 · 0 comments
Open

Method ambiguities reported by Aqua #48

prbzrg opened this issue Dec 27, 2023 · 0 comments

Comments

@prbzrg
Copy link

prbzrg commented Dec 27, 2023

In Julia v1.10, I used Aqua to detect method ambiguities in my package impICNF/ContinuousNormalizingFlows.jl#356 and some of its report were related to this package:

Ambiguity #57
convert(::Type{T}, str::ProgressLogging.ProgressString) where T<:AbstractString @ ProgressLogging ~/.julia/packages/ProgressLogging/6KXlp/src/ProgressLogging.jl:211
convert(::Type{Union{SubString{String}, String}}, s::AbstractString) @ Base strings/substring.jl:64

Possible fix, define
  convert(::Type{Union{SubString{String}, String}}, ::ProgressLogging.ProgressString)

Ambiguity #58
convert(::Type{T}, str::ProgressLogging.ProgressString) where T<:AbstractString @ ProgressLogging ~/.julia/packages/ProgressLogging/6KXlp/src/ProgressLogging.jl:211
convert(::Type{SubString{S}}, s::AbstractString) where S<:AbstractString @ Base strings/substring.jl:57

Possible fix, define
  convert(::Type{SubString{S}}, ::ProgressLogging.ProgressString) where S<:AbstractString

I would appreciate your attention to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant