JuliaComputing / Deprecations.jl

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

implement isdefined(Base, :symbol) #10

Closed KristofferC closed 7 years ago

KristofferC commented 7 years ago

Should be enough to fill in the version ranges for when the symbols are defined now.

Could either:

KristofferC commented 7 years ago

Probable needs to support && format as well, e.g. isdefined(Base, :__precompile__) && __precompile__() done And ternary operator.

KristofferC commented 7 years ago

Should also handle e.g. Symbol("@__DIR__") done

KristofferC commented 7 years ago

This seems to be the usage of isdefined(Base, ...) in all registered packages:

https://gist.github.com/KristofferC/2340fd23120f5ee5789845769bd0f90e

Keno commented 7 years ago

Needs a rebase

Keno commented 7 years ago

Good to go?

KristofferC commented 7 years ago

Should be. The isdefined database is still rather small but doesn't hurt to try this out with the once that are included.