Skip to content

Commit

Permalink
Fix UndefVarError in Julia v1.0-1.3 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano authored Mar 25, 2022
1 parent b1f583a commit a4773dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ambiguities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,10 @@ function test_ambiguities_impl(
println("Ambiguity #", i)
println(m1)
println(m2)
ambiguity_hint(m1, m2)
println()
@static if isdefined(Base, :morespecific)
ambiguity_hint(m1, m2)
println()
end
println()
end
return ambiguities == []
Expand Down

0 comments on commit a4773dc

Please sign in to comment.