Skip to content

JRuby19mode behavior is different with CRuby. Fixnum#to_sym #265

Closed
kachick opened this Issue Aug 20, 2012 · 2 comments

2 participants

@kachick
kachick commented Aug 20, 2012

Are below behaviors expected in JRuby?

CRuby

ruby 1.9.3p194 (2012-04-20) [i386-mingw32]

p 1.to_sym #=> in `<main>': undefined method `to_sym' for 1:Fixnum (NoMethodError)

JRuby

jruby --1.9

jruby 1.7.0.preview2 (1.9.3p203) 2012-08-07 4a6bb0a on Java HotSpot(TM) Client VM 1.6.0_29-b11 [Windows 7-x86]

p 1.to_sym #=> nil
@alindeman

Fixed by #261. You might want to do comparisons against master to make sure you have the latest fixes.

@kachick
kachick commented Aug 20, 2012

Sorry!
I missed the post.

Thanks!

@kachick kachick closed this Aug 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.