JuliaComputing / Deprecations.jl

A database of julia deprecations and how to fix them
Other
17 stars 7 forks source link

Old parametric method with declared return type not updated #53

Closed fredrikekre closed 6 years ago

fredrikekre commented 6 years ago
julia> Deprecations.edit_text("""
       function foo{T}(::T)::Array{T}
           return T[]
       end
       """)
(false, "function foo{T}(::T)::Array{T}\n    return T[]\nend\n")