From 413cece5c94ca0ad400a1276d35680940e612a7d Mon Sep 17 00:00:00 2001 From: eregon Date: Tue, 25 Apr 2017 11:42:31 +0000 Subject: 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index d7f79727a2..9c805927f6 100644 --- a/NEWS +++ b/NEWS @@ -28,6 +28,8 @@ with all sufficient information, see the ChangeLog file or Redmine * Integer * Integer.sqrt [Feature #13219] + * Integer#step does no longer rescue exceptions when given + a step value which cannot be compared with #> to 0. [Feature #7688] * IO -- cgit v1.2.3