Issue #7870 has been updated by mame (Yusuke Endoh).

Priority changed from Urgent to Normal

I don't think that this is a showstopper, unless there is many or famous application depending on this behavior.  Do you know anything?

After it is fixed in trunk, we may backport the patch to 2.0.0, but don't necessarily have to do so.  I guess that it can be fixed 2.0.0-pXXX later (depending on Nagachika-san).

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
Bug #7870: Time.now == "" causes an infinite loop
https://bugs.ruby-lang.org/issues/7870#change-36396

Author: drbrain (Eric Hodel)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-08) [x86_64-darwin12.2.1]


=begin
This is a regression from 1.9.

2.0.0 branch:

  $ ./ruby20 -v ../branches/ruby_2_0_0/test.rb
  ruby 2.0.0dev (2013-02-08) [x86_64-darwin12.2.1]
  ../branches/ruby_2_0_0/test.rb:1: warning: possibly useless use of == in void context
  ../branches/ruby_2_0_0/test.rb:1: stack level too deep (SystemStackError)

1.9:

  $ ruby19 -v test.rb 
  ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.1]
  test.rb:1: warning: possibly useless use of == in void context

This also reproduces in trunk.

=end



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