Skip to content

Fix #7839. `clone': wrong number of arguments#7853

Merged
enebo merged 2 commits intojruby:masterfrom
enebo:fix_7839
Jul 14, 2023
Merged

Fix #7839. `clone': wrong number of arguments#7853
enebo merged 2 commits intojruby:masterfrom
enebo:fix_7839

Conversation

@enebo
Copy link
Member

@enebo enebo commented Jul 13, 2023

RubyHash had no signature for options but it was bound and it is not a bound method in MRI so I removed the annotation and added a java override for options variant of clone.

RubyNumeric had its own impl but RubyBasicObject implements that logic already for multiple immutable types so I just changed it to call that impl with a comment why the binding is there.

RubyHash had no signature for options but it was bound
and it is not a bound method in MRI so I removed the
annotation and added a java override for options variant
of clone.

RubyNumeric had its own impl but RubyBasicObject implements
that logic already for multiple immutable types so I just
changed it to call that impl with a comment why the binding
is there.
@enebo enebo added this to the JRuby 9.4.4.0 milestone Jul 13, 2023
@enebo enebo merged commit 9151727 into jruby:master Jul 14, 2023
@enebo enebo deleted the fix_7839 branch March 4, 2025 18:34
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