Skip to content

Commit

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

* Remove comprehension type inference test
  • Loading branch information
cstjean authored and tkelman committed Jul 11, 2016
1 parent 625ab10 commit 679b0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compat.jl
Original file line number Diff line number Diff line change
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 679b0ec

Please sign in to comment.