From: 584797182@qq.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:81657] [Ruby trunk Bug#13652] Ruby 2.3.4 does not catch Argument error when comparing DateTime with String
Date: Tue, 13 Jun 2017 02:59:44 +0000 [thread overview]
Message-ID: <redmine.issue-13652.20170613025943.1d4149e32f9327e1@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-13652.20170613025943@ruby-lang.org
Issue #13652 has been reported by derekzwy (Wenyuan Zhang).
----------------------------------------
Bug #13652: Ruby 2.3.4 does not catch Argument error when comparing DateTime with String
https://bugs.ruby-lang.org/issues/13652
* 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/
next parent reply other threads:[~2017-06-13 2:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-13652.20170613025943@ruby-lang.org>
2017-06-13 2:59 ` 584797182 [this message]
2017-06-13 6:54 ` [ruby-core:81659] [Ruby trunk Bug#13652] Ruby 2.3.4 does not catch Argument error when comparing DateTime with String hanmac
2017-08-29 8:14 ` [ruby-core:82501] [Ruby trunk Bug#13652][Rejected] " glass.saga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.issue-13652.20170613025943.1d4149e32f9327e1@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).