Skip to content

Method ambiguities reported by Aqua #48

Description

@prbzrg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions