ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:111074] [Ruby master Bug#19160] cmp_clamp arguments
@ 2022-11-29 19:06 kaiquekandykoga
  2023-11-13 23:12 ` [ruby-core:115382] " jemmai (Jemma Issroff) via ruby-core
  0 siblings, 1 reply; 2+ messages in thread
From: kaiquekandykoga @ 2022-11-29 19:06 UTC (permalink / raw)
  To: ruby-core

Issue #19160 has been reported by kaiquekandykoga (Kaíque Koga).



----------------------------------------

Bug #19160: cmp_clamp arguments

https://bugs.ruby-lang.org/issues/19160



* Author: kaiquekandykoga (Kaíque Koga)

* Status: Open

* Priority: Normal

* ruby -v: ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-freebsd13.1]

* Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN

----------------------------------------

If clamp receives min higher than max, it will raise an exception. The message says *min argument must be smaller than max argument* , but min can actually be equal to max too.

Patch https://github.com/ruby/ruby/pull/6802.







-- 

https://bugs.ruby-lang.org/

 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:115382] [Ruby master Bug#19160] cmp_clamp arguments
  2022-11-29 19:06 [ruby-core:111074] [Ruby master Bug#19160] cmp_clamp arguments kaiquekandykoga
@ 2023-11-13 23:12 ` jemmai (Jemma Issroff) via ruby-core
  0 siblings, 0 replies; 2+ messages in thread
From: jemmai (Jemma Issroff) via ruby-core @ 2023-11-13 23:12 UTC (permalink / raw)
  To: ruby-core; +Cc: jemmai (Jemma Issroff)

Issue #19160 has been updated by jemmai (Jemma Issroff).



Status changed from Open to Closed



Fix was merged, so this can be closed.



----------------------------------------

Bug #19160: cmp_clamp arguments

https://bugs.ruby-lang.org/issues/19160#change-105318



* Author: kaiquekandykoga (Kaíque Koga)

* Status: Closed

* Priority: Normal

* ruby -v: ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-freebsd13.1]

* Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN

----------------------------------------

If clamp receives min higher than max, it will raise an exception. The message says *min argument must be smaller than max argument* , but min can actually be equal to max too.

Patch https://github.com/ruby/ruby/pull/6802.







-- 

https://bugs.ruby-lang.org/

 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-13 23:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29 19:06 [ruby-core:111074] [Ruby master Bug#19160] cmp_clamp arguments kaiquekandykoga
2023-11-13 23:12 ` [ruby-core:115382] " jemmai (Jemma Issroff) via ruby-core

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).