Deprecations.jl
Deprecations.jl copied to clipboard
A database of julia deprecations and how to fix them
WIP
not sure how to go about righting a test...
squeeze
am i correct in thinking Femtocleaner.jl could handle squeeze by adding these lines to Deprecations.jl/src/database/simple.jl? ``` @add_rename squeeze dropdims v"0.7.0-DEV.????" [true,false] match(KeywordsUnlocked, "dropdims(\$A, \$dims)", "dropdims(\$A, dims=\$dims!)", filter = keyword_default_filter )...
Will keep adding to this: - [x] `Ptr{Void} -> Ptr{Cvoid}` - [x] `Void` -> `Nothing` - [x] `unshift!` -> `pushfirst!`, `shift!`-> `popfirst!` - [x] `CartesianRange` -> `CartesianIndices` - [x] `sub2ind`...
``` - xstep=linspace(xrange...,100) - ystep=linspace(yrange...,100) + xstep=range(xrange..., stop=100, length=50) + ystep=range(yrange..., stop=100, length=50) ```
undef
femtocleaner catches only a minority of them. why doesn't it fix this one for example? https://github.com/GiovineItalia/Gadfly.jl/pull/1189/commits/afefa1a3e078d28eb2be22f20759398d46d9a053#diff-33edd4618312bed54d0e8ec9755661fcR383 . or any of the 87 others listed in that commit?