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

Is there a reason to skip ambiguity test in Aqua? #36

Open
putianyi889 opened this issue Jun 6, 2023 · 1 comment
Open

Is there a reason to skip ambiguity test in Aqua? #36

putianyi889 opened this issue Jun 6, 2023 · 1 comment

Comments

@putianyi889
Copy link

I have another project depending on Infinities.jl and Aqua reports over 100 ambiguities. For example

julia> ℵ₀==big(1)
ERROR: MethodError: ==(::InfiniteCardinal{0}, ::BigInt) is ambiguous.

Candidates:
  ==(i::Integer, x::BigInt)
    @ Base.GMP gmp.jl:698
  ==(::InfiniteCardinal, y::Real)
    @ Infinities C:\Users\pty\.julia\packages\Infinities\Y1fpA\src\cardinality.jl:56

Possible fix, define
  ==(::InfiniteCardinal, ::BigInt)

Stacktrace:
 [1] top-level scope
   @ REPL[7]:1
@dlfivefifty
Copy link
Member

Probably just needs someone to go through and fix all the ambiguities

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

2 participants