Skip to content

Commit

Permalink
Merge pull request JuliaLang#11507 from JuliaLang/kf/deprecated
Browse files Browse the repository at this point in the history
Fix use of one deprecation in another deprecation
  • Loading branch information
Keno committed May 31, 2015
2 parents 11310e6 + e3bdd0a commit 6fd6c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -330,12 +330,12 @@ for (f,t) in ((:int, Int), (:int8, Int8), (:int16, Int16), (:int32, Int32
(:int64, Int64), (:int128, Int128), (:uint, UInt), (:uint8, UInt8),
(:uint16, UInt16), (:uint32, UInt32), (:uint64, UInt64), (:uint128,UInt128))
@eval begin
@deprecate ($f){S<:AbstractString}(a::AbstractArray{S}) [parseint($t,s) for s in a]
@deprecate ($f){S<:AbstractString}(a::AbstractArray{S}) [parse($t,s) for s in a]
end
end
for (f,t) in ((:float32, Float32), (:float64, Float64))
@eval begin
@deprecate ($f){S<:AbstractString}(a::AbstractArray{S}) [parsefloat($t,s) for s in a]
@deprecate ($f){S<:AbstractString}(a::AbstractArray{S}) [parse($t,s) for s in a]
end
end

Expand Down

0 comments on commit 6fd6c8f

Please sign in to comment.