Fix UndefVarError in Julia v1.0-1.3#73
Conversation
Codecov Report
@@ Coverage Diff @@
## master #73 +/- ##
==========================================
- Coverage 73.66% 73.54% -0.12%
==========================================
Files 10 10
Lines 619 620 +1
==========================================
Hits 456 456
- Misses 163 164 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
|
Thanks! It'd be nice to actually hit this case in the test but let's register this version first. JuliaRegistries/General#57279 If you have some simple-ish examples for exercising #71, it'd be great if you can add some in https://github.com/JuliaTesting/Aqua.jl/blob/master/test/pkgs/PkgWithAmbiguities.jl (cc @Roger-luo) |
|
Yeah I'm not sure how to test the checks tho, but I can have a look at that morespecific function |
|
That'd be great. But I'm also OK with just doing a "smoke test" to hit the code using |
|
For what is worth, I found this error in JuliaPhysics/Measurements.jl#82, but I have little clue of where the ambiguity comes from: tests are passing on Thanks for the quick merge! And sorry for the salty comment above, but a failure from a testing package triggered me yesterday night 🙂 |
|
Oh, no, that's OK :) I totally missed that my test didn't hit the code. |
Ref: https://github.com/JuliaTesting/Aqua.jl/pull/71/files#r834842406. If you have better ideas about how to more proper fix this or how to actually test this code path which is clearly untested, please take over this PR or open a new one, but at least this doesn't break the package in older versions of Julia. Not very useful to have a QUality Assurance package that breaks your tests.
CC: @Roger-luo