[#84867] [Ruby trunk Bug#14357] thread_safe tests suite segfaults — v.ondruch@...

Issue #14357 has been reported by vo.x (Vit Ondruch).

11 messages 2018/01/15

[#84980] [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — hsbt@...

Issue #13618 has been updated by hsbt (Hiroshi SHIBATA).

10 messages 2018/01/23
[#85012] Re: [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — Eric Wong <normalperson@...> 2018/01/23

hsbt@ruby-lang.org wrote:

[ruby-core:84827] [Ruby trunk Bug#14350] Strange behavior for Array.min in ruby 2.5.0

From: nobu@...
Date: 2018-01-11 08:20:52 UTC
List: ruby-core #84827
Issue #14350 has been updated by nobu (Nobuyoshi Nakada).


`1` is not greater than `1.0`, and vice versa.
The both results are correct in this case.

But the previous behavior may be better in the case of `Numeric`-like objects.


----------------------------------------
Bug #14350: Strange behavior for Array.min in ruby 2.5.0
https://bugs.ruby-lang.org/issues/14350#change-69539

* Author: artofhuman (Semyon Pupkov)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.5.0
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
2.4.2

~~~ ruby
[[1, 0.0].max, 1.0].min

=> 1
~~~

2.5.0

~~~ ruby
[[1, 0.0].max, 1.0].min

=> 1.0

[[1, 0.0].max, 1.0]

=> [1, 1.0]

[1, 1.0].min

=> 1
~~~

I think it`s regression for ruby 2.5.0



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next