summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-25 11:42:20 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-25 11:42:20 +0000
commitbc1827e8825c558bcda14a214280caf83dc1215b (patch)
treeb4253353c069b5d15ded64f1b97b2dbde2570e95 /NEWS
parent33f66084d5c60542939117d056bdcbb58f8100dc (diff)
no longer rescue exceptions in numeric comparison operations
* numeric.c (do_coerce): no more error hiding. * test/ruby/test_numeric.rb: follow the change. [Feature #7688] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5ef0bfb112..d7f79727a2 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,12 @@ with all sufficient information, see the ChangeLog file or Redmine
* exception message "stream closed" is changed [Bug #13405]
+* Numeric
+
+ * Numerical comparison operators (<,<=,>=,>) no longer rescue exceptions
+ of #coerce. Return nil in #coerce if the coercion is impossible.
+ [Feature #7688]
+
* Regexp
* Update Onigmo 6.1.1.
* Support absent operator https://github.com/k-takata/Onigmo/issues/82