Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
kachick opened this Issue · 2 comments

2 participants

Kenichi Kamiya alindeman
Kenichi Kamiya

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.

Kenichi Kamiya

Sorry!
I missed the post.

Thanks!

Kenichi Kamiya kachick closed this
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.