Skip to content
New issue

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

Exception when comparing Time with nil using === #1606

joelnordell opened this Issue Apr 2, 2014 · 0 comments


None yet
2 participants
Copy link

joelnordell commented Apr 2, 2014

In MRI ruby 1.9.3:

1.9.3p327 :001 > === nil
 => false 

In JRuby 1.7.10:

jruby-1.7.10 :001 > === nil
TypeError: no implicit conversion from nil to integer
    from org/jruby/ `==='
    from (irb):1:in `evaluate'
    from org/jruby/ `eval'
    from org/jruby/ `loop'
    from org/jruby/ `catch'
    from org/jruby/ `catch'
    from ~/.rvm/rubies/jruby-1.7.10/bin/irb:13:in `(root)'

@enebo enebo closed this in 7190dcb Apr 2, 2014

enebo added a commit that referenced this issue Apr 2, 2014

@enebo enebo added this to the JRuby 1.7.12 milestone Apr 2, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.