From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [IPv6:2a01:4f8:1c0c:6b10::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id CADAC1F406 for ; Mon, 13 Nov 2023 23:12:13 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=VoHeYMe5; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=d+ld1eib; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id ACFB981345; Mon, 13 Nov 2023 23:12:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1699917126; bh=+rGPEarf0l/SE5rrf/Cryn7mDhQdTkNG2NzzlSmxEf8=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=VoHeYMe5BDZTt28uCEQla0AwsTk4J7aR3NBonRFhprfJyH+Cxs3JARo7+9YIChzHc axywtv0BkhqYC7cYin8kF34EL6axaRwBbtuFL/gW18bOuNTgUA3xUEn15UGtOyUgF6 JGQZKap5CeM2wQhT7mvHn+Lx+3Ib/jw3MP5iMnvY= Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 5538F81334 for ; Mon, 13 Nov 2023 23:12:03 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=d+ld1eib; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=VhCHPIN5vjwdWeB159vsgq/a9nX4YjOJjpLt6dDZ/Qg=; b=d+ld1eibgjgmxqb8i5Tg8Xxj3S7YvguJa/EqAJldU63FguszvOD9WJ/iIabpiAIrujKL +NKz++azPuHZ1LZm/0FXR98/aPLBIFb7UcoiOXS4nO8ynC512wn8U+RTdnWduX1SmaER1P OAU4At/Sp4xoDVaGc4t83B8hEZk/tdGfCajx/mCrUDj2Ozv+bhVF2jp0f4j4zNh4pu7AW+ +/Pd6nLfLFC8jWP+ZnMRzFy67LseL1a8jelwVapgNuZfZOyhVRgHhLzRhL3HQPwJRJlRFP lFl40yU7oX3+e/kX/Sk/dglawbgGxwtGVPg6cDGIuSmT/I9rfv78Xb3NUMGq56gA== Received: by filterdrecv-656b5b4c75-n927h with SMTP id filterdrecv-656b5b4c75-n927h-1-6552AD42-4 2023-11-13 23:12:02.087818859 +0000 UTC m=+2349130.854853598 Received: from herokuapp.com (unknown) by geopod-ismtpd-32 (SG) with ESMTP id PXY_kSZUR-ijMR9VETtt9Q for ; Mon, 13 Nov 2023 23:12:02.010 +0000 (UTC) Date: Mon, 13 Nov 2023 23:12:02 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 19160 X-Redmine-Issue-Author: kaiquekandykoga X-Redmine-Sender: jemmai X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 91923 X-SG-EID: =?us-ascii?Q?F18P+2W1KnHe6ISASa+61nUK3i7mN03gxrUl5OPiI2ZTtcWzec3HAg3iwLkXVU?= =?us-ascii?Q?w9NVOsENbVlMKtc9X75yTo7Os1jg2OTxwg8Q8cw?= =?us-ascii?Q?8BUJUuRUzrDiuxqECPD2fYy5yzPHmrwwfnJ6rDn?= =?us-ascii?Q?w3yjDZ9ofKg2qgEzCVjJwPhLLJKBeZSs0h9S8eB?= =?us-ascii?Q?qq2EjJIwt1xEmt0xVXl5Evgzz7slgw0MQuKiXlt?= =?us-ascii?Q?p68Ktl25mYBT9dDZZ76jXYTf9NweAAGaslqUV5j?= =?us-ascii?Q?2ODWv8VZGHe70U3h2WAwQ=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: 3EBBU27FCEGBOSWWEUDBTHP7QDKRFBSE X-Message-ID-Hash: 3EBBU27FCEGBOSWWEUDBTHP7QDKRFBSE X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:115382] [Ruby master Bug#19160] cmp_clamp arguments List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "jemmai (Jemma Issroff) via ruby-core" Cc: "jemmai (Jemma Issroff)" Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=EDque 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 mess= age says *min argument must be smaller than max argument* , but min can act= ually be equal to max too. Patch https://github.com/ruby/ruby/pull/6802. --=20 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-c= ore.ml.ruby-lang.org/