Skip to content

Commit

Permalink
Add type assertion to Symbol method. Fix JuliaLang#242 (JuliaLang#243)
Browse files Browse the repository at this point in the history
* Add type assertion to `Symbol` method. Fix JuliaLang#242

* Remove comprehension type inference test
  • Loading branch information
cstjean authored and dpsanders committed Feb 1, 2017
1 parent 23ac24f commit 4778829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compat.jl
Expand Up @@ -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"
Expand Down

0 comments on commit 4778829

Please sign in to comment.