Skip to content

Commit

Permalink
try fix for ambiguity failure
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Aug 8, 2021
1 parent b8e9b7a commit 3e24577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Profile/src/Profile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ function _intersect(v::AbstractVector, r::AbstractRange)
return Base.vectorfilter(Base._shrink_filter!(seen), common)
end
_intersect(r::AbstractRange, v::AbstractVector) = _intersect(v, r)
_intersect(a, b) = Base.intersect(a, b)
_intersect(a::T, b::T) where {T <: Union{AbstractVector, AbstractRange}} = Base.intersect(a, b)


end # module

0 comments on commit 3e24577

Please sign in to comment.