ruby-core

Mailing list archive

[#81492] [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — normalperson@...

Issue #13618 has been reported by normalperson (Eric Wong).

12 messages 2017/06/01

[ruby-core:81659] [Ruby trunk Bug#13652] Ruby 2.3.4 does not catch Argument error when comparing DateTime with String

From: hanmac@...
Date: 2017-06-13 06:54:48 UTC
List: ruby-core #81659
Issue #13652 has been updated by Hanmac (Hans Mackowiak).


@derekzwy it is fixed in Ruby2.4.1 and active_support 5.1.1

it looks like the bug does happen in your active_support version.
Try to update to a newer one.

----------------------------------------
Bug #13652: Ruby 2.3.4 does not catch Argument error when comparing DateTime with String
https://bugs.ruby-lang.org/issues/13652#change-65355

* Author: derekzwy (Wenyuan Zhang)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.3.4
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Ruby 2.3.4 does not catch Argument error when comparing DateTime with String, while Ruby 2.1.5 catches it and return false.

---Files--------------------------------
ruby 2.3.4.png (168 KB)
ruby 2.1.5.png (133 KB)


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