How to fix ambiguities found through Aqua.jl?

I found that following the advice given with Possible fix, define works well … (I use a separate file, “aqua.jl” and include it last).

[the rest is an informal suggestion]
Then rerunning Aqua will let you know if there remain additional possible fixes – if so, add them.) If ambiguates still persist – look deeper at the clashes for guidance in making them disappear. Many ambiguities that Aqua finds arise from not-your-code (at least in half part). Do not be overly concerned about those, easily resolved, cases.

1 Like