From 4b1715a648e53c9291d1dbfd3e2c5659f55e02f2 Mon Sep 17 00:00:00 2001 From: Yichao Yu Date: Mon, 13 Feb 2017 19:18:57 -0500 Subject: [PATCH] Fix 0.6 typealias depwarn --- src/Conda.jl | 2 +- src/bindeps_conda.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Conda.jl b/src/Conda.jl index 5e9e66e..be17da7 100644 --- a/src/Conda.jl +++ b/src/Conda.jl @@ -44,7 +44,7 @@ else error("Conda is not properly configured. Run Pkg.build(\"Conda\") before importing the Conda module.") end -typealias Environment Union{AbstractString,Symbol} +const Environment = Union{AbstractString,Symbol} "Prefix for installation of the environment" function prefix(name::Symbol) diff --git a/src/bindeps_conda.jl b/src/bindeps_conda.jl index 88b34f7..13e3810 100644 --- a/src/bindeps_conda.jl +++ b/src/bindeps_conda.jl @@ -6,7 +6,7 @@ type EnvManager{T} <: BinDeps.PackageManager end "Manager for root environment" -typealias Manager EnvManager{Symbol(PREFIX)} +const Manager = EnvManager{Symbol(PREFIX)} function Base.show{T}(io::IO, manager::EnvManager{T}) write(io, "Conda packages: ", join(manager.packages, ", "))