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

[ji] java.util.Collection should not be to_ary convertible #3790

Closed
kares opened this issue Apr 9, 2016 · 0 comments
Closed

[ji] java.util.Collection should not be to_ary convertible #3790

kares opened this issue Apr 9, 2016 · 0 comments

Comments

@kares
Copy link
Member

kares commented Apr 9, 2016

currently only Java arrays provide to_ary ... it maybe makes sense for java.util.List
... but not for generic collection instances such as sets (even Ruby's Set doesn't provide to_ary)

proposing only having to_a in Collection and providing to_ary on List (at least for some compatibility)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant