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

Fix Bignum's bitwise operations #2636

Merged
merged 1 commit into from Mar 3, 2015

Conversation

Projects
None yet
2 participants
@lumeet
Copy link
Contributor

lumeet commented Mar 1, 2015

Changes are made to Bignum#&, Bignum#| and Bignum#^ to fix bitwise
operations with objects other than Bignum or Fixnum. For example:

my_bignum & Rational(3, 2) # => TypeError instead of 0
Fix Bignum's bitwise operations
Changes are made to Bignum#&, Bignum#| and Bignum#^ to fix bitwise
operations with objects other than Bignum or Fixnum. For example:

  my_bignum & Rational(3, 2) # => TypeError instead of 0

enebo added a commit that referenced this pull request Mar 3, 2015

@enebo enebo merged commit addccf2 into jruby:master Mar 3, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@enebo enebo added this to the 9.0.0.0.pre2 milestone Mar 3, 2015

@enebo enebo added the core label Mar 3, 2015

@lumeet lumeet deleted the lumeet:numeric_coercion_type_error branch Mar 3, 2015

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.