Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused macros __FILE_SYMBOL__ and get! #34611

Merged
merged 1 commit into from
Feb 1, 2020

Conversation

JeffBezanson
Copy link
Sponsor Member

I believe the first was only used in the deprecation code for the new iteration protocol. The second, IIRC, predates higher-order functions being fast and is no longer used anywhere.

@StefanKarpinski StefanKarpinski merged commit cb32020 into master Feb 1, 2020
@StefanKarpinski StefanKarpinski deleted the jb/unusedmacros branch February 1, 2020 17:04
aviatesk added a commit to aviatesk/MacroTools.jl that referenced this pull request Feb 1, 2020
aviatesk added a commit to aviatesk/Lazy.jl that referenced this pull request Feb 1, 2020
aviatesk added a commit to aviatesk/Requires.jl that referenced this pull request Feb 1, 2020
aviatesk added a commit to JunoLab/CodeTools.jl that referenced this pull request Feb 1, 2020
@aviatesk
Copy link
Sponsor Member

aviatesk commented Feb 1, 2020

I guess this may be better to be deprecated instead of just removed ?
Some packages use it and thus they can't even be precompiled.

So far I found at least the 4 packages below use it:

  • MacroTools
  • Lazy
  • Requires
  • CodeTools

(well, I already create patches to them :))

Thoughts ?

aviatesk added a commit to aviatesk/Requires.jl that referenced this pull request Feb 1, 2020
aviatesk added a commit to JunoLab/CodeTools.jl that referenced this pull request Feb 1, 2020
aviatesk added a commit to aviatesk/MacroTools.jl that referenced this pull request Feb 1, 2020
aviatesk added a commit to aviatesk/Lazy.jl that referenced this pull request Feb 1, 2020
aviatesk added a commit to aviatesk/Lazy.jl that referenced this pull request Feb 1, 2020
aviatesk added a commit to JunoLab/CodeTools.jl that referenced this pull request Feb 1, 2020
@pfitzseb
Copy link
Member

pfitzseb commented Feb 2, 2020

@get! is also used in a few more packages:

  • CodeTools
  • Dagger
  • DataArrays
  • DataFlow
  • Flux
  • JuliaFormatter
  • Lazy
  • MacroTools
  • ModelSanitizer
  • Requires
  • WebIO
  • Zygote

pfitzseb added a commit to MikeInnes/Lazy.jl that referenced this pull request Feb 2, 2020
timholy pushed a commit to JuliaPackaging/Requires.jl that referenced this pull request Feb 3, 2020
@JeffBezanson
Copy link
Sponsor Member Author

Thanks for making all those PRs!

MikeInnes added a commit to FluxML/MacroTools.jl that referenced this pull request Feb 4, 2020
bors bot added a commit to FluxML/Zygote.jl that referenced this pull request Feb 22, 2020
517: Remove get! macro r=dhairyagandhi96 a=matsueushi

The get! macro is imported but unused. It was deprecated by JuliaLang/julia#34611, JuliaLang/julia#34646

Co-authored-by: matsueushi <matsueushi@gmail.com>
KristofferC pushed a commit to JuliaPackaging/Requires.jl that referenced this pull request Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants