aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorMarc-Andre Lafortune <github@marc-andre.ca>2019-12-23 01:55:39 -0500
committerMarc-Andre Lafortune <github@marc-andre.ca>2019-12-23 01:55:39 -0500
commitdadf1255b6e13578f888c239f0dc6fb201fd40bb (patch)
treee14bab826746a17fc3ebbcb25ecb9c6bb68c6c70 /NEWS
parent3e1adf573110ddce8f900d9473dde7fa7de9c0e2 (diff)
downloadruby-dadf1255b6e13578f888c239f0dc6fb201fd40bb.tar.gz
README: Add Range#minmax to the list of potential incompatibilities [#15929] [DOC]
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 28f7d0474b..2f249a0742 100644
--- a/NEWS
+++ b/NEWS
@@ -621,6 +621,12 @@ StringScanner::
Proc::
* Proc#to_s format was changed. [Feature #16101]
+Range::
+ * Range#minmax used to iterate on the range to determine the maximum.
+ It now uses the same algorithm as Range#max. In rare cases (e.g.
+ ranges of Float or Strings), this may yield different results.
+ [Bug #15929]
+
=== Stdlib compatibility issues (excluding feature bug fixes)
* Promote stdlib to default gems