Skip to content

Commit

Permalink
Mark Compat.Distributed from #477 for deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholters committed Oct 8, 2019
1 parent 5251d29 commit 83fb458
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ Currently, the `@compat` macro supports the following syntaxes:

## Module Aliases

* `using Compat.Distributed` is provided on versions older than 0.7, where this library is
not yet part of the standard library ([#24443]).

* `using Compat.Pkg` is provided on versions older than 0.7, where this library is
not yet part of the standard library ([#25705]). Note that `Compat.Pkg` will point to
the new package manager on 0.7 which does not have a fully compatible API with the old
Expand Down
7 changes: 1 addition & 6 deletions src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import Base: notnothing
const IteratorSize = Base.IteratorSize
const IteratorEltype = Base.IteratorEltype
enable_debug(x::Bool) = x
import Distributed


include("compatmacro.jl")
Expand All @@ -71,12 +72,6 @@ end
end
end

if VERSION < v"0.7.0-DEV.2954"
const Distributed = Base.Distributed
else
import Distributed
end

@static if VERSION < v"0.7.0-DEV.3656"
const Pkg = Base.Pkg
else
Expand Down

0 comments on commit 83fb458

Please sign in to comment.