Skip to content

Commit

Permalink
AbstractArray -> AbstractVector (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Jun 5, 2023
1 parent 6846ac1 commit e463b90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/ambiguities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ false-positive.
- `color::Union{Bool, Nothing} = nothing`: Enable/disable colorful
output if a `Bool`. `nothing` (default) means to inherit the
setting in the current process.
- `exclude::AbstractArray = []`: A vector of functions or types to be
- `exclude::AbstractVector = []`: A vector of functions or types to be
excluded from ambiguity testing. A function means to exclude _all_
its methods. A type means to exclude _all_ its methods of the
callable (sometimes also called "functor"). That is to say,
Expand Down Expand Up @@ -92,7 +92,7 @@ end
function _test_ambiguities(
packages::Vector{PkgId};
color::Union{Bool,Nothing} = nothing,
exclude::AbstractArray = [],
exclude::AbstractVector = [],
broken::Bool = false,
# Options to be passed to `Test.detect_ambiguities`:
detect_ambiguities_options...,
Expand Down
8 changes: 4 additions & 4 deletions src/stale_deps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ end
analyze_stale_deps(packages, kwargs...) =
[_analyze_stale_deps_1(pkg; kwargs...) for pkg in aspkgids(packages)]

function _analyze_stale_deps_1(pkg::PkgId; ignore::AbstractArray{Symbol} = Symbol[])
function _analyze_stale_deps_1(pkg::PkgId; ignore::AbstractVector{Symbol} = Symbol[])
label = "$pkg"

result = root_project_or_failed_lazytest(pkg)
Expand Down Expand Up @@ -69,9 +69,9 @@ end
# Side-effect -free part of stale dependency analysis.
function _analyze_stale_deps_2(;
pkg::PkgId,
deps::AbstractArray{PkgId},
loaded_uuids::AbstractArray{UUID},
ignore::AbstractArray{Symbol},
deps::AbstractVector{PkgId},
loaded_uuids::AbstractVector{UUID},
ignore::AbstractVector{Symbol},
)
label = "$pkg"
deps_uuids = [p.uuid for p in deps]
Expand Down

0 comments on commit e463b90

Please sign in to comment.