From 4778829ed562303100aafe0a422a76f06d6f0b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20St-Jean?= Date: Mon, 11 Jul 2016 12:18:03 -0400 Subject: [PATCH] Add type assertion to `Symbol` method. Fix #242 (#243) * Add type assertion to `Symbol` method. Fix #242 * Remove comprehension type inference test --- src/Compat.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compat.jl b/src/Compat.jl index a9713696d..a634390d5 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -397,7 +397,7 @@ if VERSION < v"0.4.0-dev+3732" calltypes[k] = v end elseif VERSION < v"0.5.0-dev+3831" - Base.Symbol(args...) = symbol(args...) + Base.Symbol(args...) = symbol(args...)::Symbol end if VERSION < v"0.5.0-dev+2396"