From dadf1255b6e13578f888c239f0dc6fb201fd40bb Mon Sep 17 00:00:00 2001 From: Marc-Andre Lafortune Date: Mon, 23 Dec 2019 01:55:39 -0500 Subject: README: Add Range#minmax to the list of potential incompatibilities [#15929] [DOC] --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') 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 -- cgit v1.2.3