Skip to content

Commit

Permalink
Use isbindingresolved when checking imported packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Apr 27, 2017
1 parent 0929951 commit d740944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/pkg/entry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ function resolve(
info("$(up)grading $pkg: v$ver1 => v$ver2")
Write.update(pkg, Read.sha1(pkg,ver2))
pkgsym = Symbol(pkg)
if isdefined(Main, pkgsym) && isa(getfield(Main, pkgsym), Module)
if isbindingresolved(Main, pkgsym) && isa(getfield(Main, pkgsym), Module)
push!(imported, "- $pkg")
end
end
Expand Down

0 comments on commit d740944

Please sign in to comment.