From a145d09fd507c4f590d003606ae68a98649b111f Mon Sep 17 00:00:00 2001 From: Fengyang Wang Date: Sun, 12 Feb 2017 19:28:00 -0500 Subject: [PATCH] Change typealias to const assignment (#189) --- src/JSON.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JSON.jl b/src/JSON.jl index 78c961d..86cbabc 100644 --- a/src/JSON.jl +++ b/src/JSON.jl @@ -21,7 +21,7 @@ immutable AssociativeWrapper{T} <: Associative{Symbol, Any} end AssociativeWrapper(x) = AssociativeWrapper(x, fieldnames(x)) -typealias JSONPrimitive Union{ +const JSONPrimitive = Union{ Associative, Tuple, AbstractArray, AbstractString, Integer, AbstractFloat, Bool, Void}