Skip to content

Commit

Permalink
Call Base.push() consistently in Pkg
Browse files Browse the repository at this point in the history
You can get away with this before Pkg defines its .push() lexically,
but that means the code cannot be reordered.
  • Loading branch information
pao committed Dec 5, 2012
1 parent 0dd149c commit 7a7fc10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/pkg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function _resolve()
append!(reqs,parse_requires("$path/REQUIRE"))
if isfile("$path/VERSION")
ver = convert(VersionNumber,readchomp("$path/VERSION"))
push(reqs,VersionSet(pkg,[ver]))
Base.push(reqs,VersionSet(pkg,[ver]))
end
end
end
Expand Down

0 comments on commit 7a7fc10

Please sign in to comment.