Skip to content

Delegating methods must be able to set ruby2_keywords on delegate.#7561

Merged
enebo merged 1 commit intojruby:masterfrom
enebo:delegating_ruby2_keywords
Jan 6, 2023
Merged

Delegating methods must be able to set ruby2_keywords on delegate.#7561
enebo merged 1 commit intojruby:masterfrom
enebo:delegating_ruby2_keywords

Conversation

@enebo
Copy link
Member

@enebo enebo commented Jan 6, 2023

alias and synchronized methods are only wrappers so they should mark their source methods as being ruby2_keywords. This also put setRuby2Keywords onto DynamicMethod to make it more clear this is a Ruby thing and not an IR-specific thing (IRMethodArgs as a cast is confusing).

alias and synchronized methods are only wrappers so they should
mark their source methods as being ruby2_keywords.  This also
put setRuby2Keywords onto DynamicMethod to make it more clear
this is a Ruby thing and not an IR-specific thing (IRMethodArgs
as a cast is confusing).
@enebo enebo added this to the JRuby 9.4.1.0 milestone Jan 6, 2023
@enebo enebo merged commit 340913b into jruby:master Jan 6, 2023
@enebo enebo deleted the delegating_ruby2_keywords branch March 4, 2025 18:33
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.

1 participant