[ruby-cvs:65647] eregon:r58475 (trunk): no longer rescue exceptions of #coerce in Integer#step

eregon at ruby-lang.org eregon at ruby-lang.org
Tue Apr 25 20:42:31 JST 2017


eregon	2017-04-25 20:42:31 +0900 (Tue, 25 Apr 2017)

  New Revision: 58475

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58475

  Log:
    no longer rescue exceptions of #coerce in Integer#step
    
    * numeric.c (num_step_negative_p): no more error hiding.
    * test/ruby/test_float.rb, test/ruby/test_numeric.rb:
      follow the change. [Feature #7688]

  Modified files:
    trunk/NEWS
    trunk/numeric.c
    trunk/test/ruby/test_float.rb
    trunk/test/ruby/test_numeric.rb


More information about the ruby-cvs mailing list