Skip to content
This repository

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

kachick opened this Issue August 20, 2012 · 2 comments

2 participants

Kenichi Kamiya Andy Lindeman
Kenichi Kamiya

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
Andy Lindeman

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

Kenichi Kamiya

I missed the post.


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