-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
deprecation warning for old parametric method syntax. fixes #11310 #22834
Conversation
(syntax-deprecation #f | ||
(string "inner constructor " name "(...)" (linenode-string lno)) | ||
(deparse `(where (call (curly ,name ,@params) ...) ,@params))))) | ||
(syntax-deprecation #f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
either here on in deprecated.jl, should these be annotated with "remove in version ..." ?
5776baa
to
2316249
Compare
Anybody understand the linux64 failure here? |
Seen it once on #22684 last night. No sure what happened and doesn't seem to be clear error message... |
Rebased and fixed conflict. We'll see whether the failure shows up again. |
Script to automatically fix these: https://discourse.julialang.org/t/psa-parametric-method-syntax-deprecation-about-to-drop/4931/15 Just tried it myself, seems to work well. |
Nice! Is this ready to be merged then? AV failure is a timeout. |
To maintain backward compatibility, parametric function definitions are done using the macro `pfunction`. Function definition that also require at-compat employ a second new macro, `expandafter`, so that Compat sees the generated function defition.
Resolved conflicts using web interface, so needs squashing. |
To maintain backward compatibility, parametric function definitions are done using the macro `pfunction`. Function definitions that also require `compat` employ a second new macro, `expandafter`, so that `compat` sees the generated function definition. Bumps Compat requirement to 0.26.0 because it uses `macroexpand(::Module, ::ANY)`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:) !
Oh goody, let's see if I missed any from my pre-emptive strike. |
…uliaLang#11310 (JuliaLang#22834)" This partially reverts commit c6e51d0.
…uliaLang#11310 (JuliaLang#22834)" This partially reverts commit c6e51d0.
…uliaLang#11310 (JuliaLang#22834)" This partially reverts commit c6e51d0.
…uliaLang#11310 (JuliaLang#22834)" This partially reverts commit c6e51d0.
…uliaLang#11310 (JuliaLang#22834)" This partially reverts commit c6e51d0.
…uliaLang#11310 (JuliaLang#22834)" This partially reverts commit c6e51d0.
…uliaLang#11310 (JuliaLang#22834)" This partially reverts commit c6e51d0.
…uliaLang#11310 (JuliaLang#22834)" This partially reverts commit c6e51d0.
…uliaLang#11310 (JuliaLang#22834)" This partially reverts commit c6e51d0.
…uliaLang#11310 (JuliaLang#22834)" This partially reverts commit c6e51d0.
…uliaLang#11310 (JuliaLang#22834)" This partially reverts commit c6e51d0.
OK folks, it's time to rip the band-aid off.