Skip to content

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

kachick opened this Issue Aug 20, 2012 · 2 comments

2 participants

kachick commented Aug 20, 2012

Are below behaviors expected in JRuby?


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

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


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

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

kachick commented Aug 20, 2012

I missed the post.


@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.