Skip to content

Commit 2746082

Browse files
make arrows clearer
1 parent 7977e63 commit 2746082

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

base/precompilation.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,9 @@ const Config = Pair{Cmd, Base.CacheFlags}
365365
const PkgConfig = Tuple{PkgId,Config}
366366

367367
# name or parent → ext
368-
function full_name(exts::Dict{PkgId, String}, pkg::PkgId)
368+
function full_name(exts::Dict{PkgId, String}, pkg::PkgId, arrowspace::Bool=true)
369369
if haskey(exts, pkg)
370-
return string(exts[pkg], "", pkg.name)
370+
return string(exts[pkg], arrowspace ? "" : "", pkg.name)
371371
else
372372
return pkg.name
373373
end
@@ -584,7 +584,7 @@ function _precompilepkgs(pkgs::Vector{String},
584584
end
585585
if !isempty(circular_deps)
586586
deps_list = join((full_name(exts, pkg) for pkg in circular_deps), "\n ")
587-
cycles_names = join((join((full_name(exts, pkg) for pkg in cycle), "") * "" for cycle in cycles), "\n ")
587+
cycles_names = join((join((full_name(exts, pkg, false) for pkg in cycle), "") * "" for cycle in cycles), "\n ")
588588
@warn """
589589
Circular dependency detected. Precompilation will be skipped for:
590590
$deps_list

0 commit comments

Comments
 (0)