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

fix #34516, several issues with nospecialize on keyword arguments #36019

Merged
merged 1 commit into from
May 26, 2020

Conversation

JeffBezanson
Copy link
Sponsor Member

  • at-nospecialize(a) syntax was not allowed as a kwarg
  • include nospecialize annotations in the keyword sorter method
  • we were dropping nospecialize applied to keyword arguments

fix #34516

- `at-nospecialize(a)` syntax was not allowed as a kwarg
- include nospecialize annotations in the keyword sorter method
- we were dropping nospecialize applied to keyword arguments
@JeffBezanson JeffBezanson added kind:bugfix This change fixes an existing bug keyword arguments f(x; keyword=arguments) labels May 24, 2020
@JeffBezanson JeffBezanson merged commit 39e360c into master May 26, 2020
@JeffBezanson JeffBezanson deleted the jb/nospecializekw branch May 26, 2020 17:21
@KristofferC
Copy link
Sponsor Member

Could something like this be used for #30411?

timholy added a commit to JuliaDebug/JuliaInterpreter.jl that referenced this pull request May 29, 2020
Back when we had more invalidations, some of these didn't help, but
now they do. Moreover, JuliaLang/julia#36019
is already helping.
timholy added a commit to JuliaDebug/JuliaInterpreter.jl that referenced this pull request May 29, 2020
Back when we had more invalidations, some of these didn't help, but
now they do. Moreover, JuliaLang/julia#36019
is already helping.
timholy added a commit to JuliaDebug/JuliaInterpreter.jl that referenced this pull request May 29, 2020
Back when we had more invalidations, some of these didn't help, but
now they do. Moreover, JuliaLang/julia#36019
is already helping.
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 11, 2020
…ments (JuliaLang#36019)

- `at-nospecialize(a)` syntax was not allowed as a kwarg
- include nospecialize annotations in the keyword sorter method
- we were dropping nospecialize applied to keyword arguments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keyword arguments f(x; keyword=arguments) kind:bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kwfunc drops the nospecialize annotation
2 participants