diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-25 11:42:20 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-25 11:42:20 +0000 |
commit | bc1827e8825c558bcda14a214280caf83dc1215b (patch) | |
tree | b4253353c069b5d15ded64f1b97b2dbde2570e95 /NEWS | |
parent | 33f66084d5c60542939117d056bdcbb58f8100dc (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-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |