-
-
Notifications
You must be signed in to change notification settings - Fork 925
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a5f8721255f4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: df012fa21143
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 3 commits
- 2 files changed
- 2 contributors
Commits on Sep 15, 2015
-
New spec: Enumerable#find_index should use #== semantics for testing …
…equality This matches the behavior of MRI.
Configuration menu - View commit details
-
Copy full SHA for 2eefaef - Browse repository at this point
Copy the full SHA 2eefaefView commit details -
RubyFixnum.equals performs conversion on Float arguments
The 'equals' method is used as an equivalent of `self#==`. `Fixnum#==` converts Float arguments, so `RubyFixnum.equals` should do so too. `RubyFixnum.op_equalOther` also converts `Bignum`s which are passed in, so maybe `RubyFixnum.equals` should do so too. But then again, when can a `Bignum` ever be equal to a `Fixnum`? In MRI, I'm pretty sure that is impossible, but maybe JRuby doesn't always "fixize" `Bignum`s? That is a question for someone else to answer. For now, this fixes a bug.
Configuration menu - View commit details
-
Copy full SHA for 4eee14a - Browse repository at this point
Copy the full SHA 4eee14aView commit details
Commits on Sep 16, 2015
-
Merge pull request #3325 from alexdowad/fix_fixnum_equals
"[2].to_enum.find_index(2.0)" returns 0 (to match MRI behavior)
Configuration menu - View commit details
-
Copy full SHA for df012fa - Browse repository at this point
Copy the full SHA df012faView commit details
There are no files selected for viewing