Skip to content

Commit

Permalink
Ignore ambiguities from Base for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Sep 6, 2020
1 parent 85d5b36 commit 0df9f96
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Aqua.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ include("stale_deps.jl")
Run following tests in isolated testset:
* [`test_ambiguities([testtarget, Base])`](@ref test_ambiguities)
(Note: To ignore ambiguities from `Base` due to
[JuliaLang/julia#36962](https://github.com/JuliaLang/julia/pull/36962),
`test_ambiguities(testtarget)` is called instead for Julia nightly
later than 1.6.0-DEV.816.)
* [`test_unbound_args(testtarget)`](@ref test_unbound_args)
* [`test_undefined_exports(testtarget)`](@ref test_undefined_exports)
Expand All @@ -35,7 +39,12 @@ function test_all(
# undefined_exports = (),
)
@testset "Method ambiguity" begin
test_ambiguities([testtarget, Base]; ambiguities...)
if VERSION >= v"1.6.0-DEV.816"
@warn "Ignoring ambiguities from `Base` introduced by JuliaLang/julia#36962"
test_ambiguities([testtarget]; ambiguities...)
else
test_ambiguities([testtarget, Base]; ambiguities...)
end
end
@testset "Unbound type parameters" begin
test_unbound_args(testtarget)
Expand Down

0 comments on commit 0df9f96

Please sign in to comment.