Skip to content

Commit

Permalink
update Compat for rename of Pkg to OldPkg
Browse files Browse the repository at this point in the history
also temporarily disable the Project file while things are in flux
  • Loading branch information
KristofferC committed May 22, 2018
1 parent c5527e9 commit 341e55c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1452,9 +1452,9 @@ else
end

@static if VERSION < v"0.7.0-DEV.3656"
const Pkg = Base.Pkg
const OldPkg = Base.Pkg
else
import Pkg
import OldPkg
end

@static if VERSION < v"0.7.0-DEV.3630"
Expand Down
2 changes: 2 additions & 0 deletions src/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ else
import Base.LinAlg.BLAS.@blasfunc
end

Base.@deprecate_binding Pkg OldPkg

if VERSION < v"0.7.0-DEV.2915"
const textwidth = Compat.Unicode.textwidth
export textwidth
Expand Down

0 comments on commit 341e55c

Please sign in to comment.