We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
Provide at least:
jruby -v
jruby 9.2.0.0-SNAPSHOT (2.4.1) 2018-01-05 2d48da9 Java HotSpot(TM) 64-Bit Server VM 25.144-b01 on 1.8.0_144-b01 +jit [darwin-x86_64]
uname -a
Darwin Charless-Air 16.7.0 Darwin Kernel Version 16.7.0: Mon Nov 13 21:56:25 PST 2017; root:xnu-3789.72.11~1/RELEASE_X86_64 x86_64
MRI returns true for each attached test print.
true
JRuby returns false for the to_a test print.
false
to_a
require 'set' set1 = SortedSet[1, 2] set2 = set1.dup puts "expect different objects, [#{set1.object_id != set2.object_id}]" puts "expect same contents, [#{set1 == set2}]" puts "expect same length, [#{set1.size == set2.size}]" puts "expect same to_a, [#{set1.to_a == set2.to_a}]"
The text was updated successfully, but these errors were encountered:
good catch, likely related to the 'native' set.rb rewrite for 9.2 ... will look into this one.
Sorry, something went wrong.
resolve regression with Set impl - SortedSet did not clone/dup properly
caef387
closes jrubyGH-4978
8723a89
kares
No branches or pull requests
Environment
Provide at least:
jruby -v
) and command line (flags, JRUBY_OPTS, etc)jruby 9.2.0.0-SNAPSHOT (2.4.1) 2018-01-05 2d48da9 Java HotSpot(TM) 64-Bit Server VM 25.144-b01 on 1.8.0_144-b01 +jit [darwin-x86_64]
uname -a
)Darwin Charless-Air 16.7.0 Darwin Kernel Version 16.7.0: Mon Nov 13 21:56:25 PST 2017; root:xnu-3789.72.11~1/RELEASE_X86_64 x86_64
Expected Behavior
MRI returns
true
for each attached test print.JRuby returns
false
for theto_a
test print.The text was updated successfully, but these errors were encountered: