diff --git a/README.md b/README.md index 14665cf26..c7f5203ba 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/Compat.jl b/src/Compat.jl index 895e40b0a..d33d63cfb 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -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") @@ -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