Skip to content

Commit 4778829

Browse files
cstjeandpsanders
authored andcommitted
Add type assertion to Symbol method. Fix JuliaLang#242 (JuliaLang#243)
* Add type assertion to `Symbol` method. Fix JuliaLang#242 * Remove comprehension type inference test
1 parent 23ac24f commit 4778829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compat.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ if VERSION < v"0.4.0-dev+3732"
397397
calltypes[k] = v
398398
end
399399
elseif VERSION < v"0.5.0-dev+3831"
400-
Base.Symbol(args...) = symbol(args...)
400+
Base.Symbol(args...) = symbol(args...)::Symbol
401401
end
402402

403403
if VERSION < v"0.5.0-dev+2396"

0 commit comments

Comments
 (0)