From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on starla X-Spam-Level: X-Spam-Status: No, score=-1.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=f9rdQ9a5; 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=CffNFgfW; dkim-atps=neutral Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id C15CC1F512 for ; Fri, 3 Oct 2025 15:36:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1759505779; bh=NE1lDP3sD51SNzoti3//sR+Lq4/B19SRy6SNxeSFRJU=; 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=f9rdQ9a5AN8OXRzbYr4Z/q5CIFLzYmXYLkMnpepX95w7YohRWxUiZOETuF9lqZw5I ADLGNx+jXZDbczfWoBRGBcXoZHgEuTyTRtN90kXESm6kOcAvIiJx/zQOvl96UtCL0j RLZ8pG00C1nB3UpoXiWBsuytLfdaZw6aGdd28pcQ= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 503FF49120 for ; Fri, 3 Oct 2025 15:36:19 +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=CffNFgfW; dkim-atps=neutral Received: from s.wfbtzhsw.outbound-mail.sendgrid.net (s.wfbtzhsw.outbound-mail.sendgrid.net [159.183.224.105]) by nue.mailmanlists.eu (Postfix) with ESMTPS id F32F749036 for ; Fri, 3 Oct 2025 15:35:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=date:from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:date:from:subject:to; s=s1; bh=5oTfdkLV0MnkYZyVAqLLlEI8r2xa8CMjqd//teaaHzc=; b=CffNFgfW0+lI1/KPmMc7L59Ivaxmu9/+Su7vDV9x/RVswvUbtRLObsfLRsbzgV4MIHvC SYcFPCjXCgZndVjmJaiSGfHtbZyt8ZwbzvQg5YZgZYjAgBe0AdHjMOUyTmN7jiNx8IAofm ikm8jIBYV73FwI+pECFCW+bY6BE/N5GUx+NNIWLX7xyxzJY9GvjH1Rn9T4PST/aapWSx64 M9u5MPBAUvr6RhYXySZd+hr76leE50y+milTPF1I5bChgH/fRoOSUu1v6kH4rNf12t2m4b y2PESGMoECcRc0KQYi9JrDZOhYI1FJa4J+aH7RIm/FTFx9uPjBNhukRdOmoKabQA== Received: by recvd-7f4fb8995-dhmdx with SMTP id recvd-7f4fb8995-dhmdx-1-68DFED38-49 2025-10-03 15:35:20.974167941 +0000 UTC m=+10450256.610136231 Received: from herokuapp.com (unknown) by geopod-ismtpd-28 (SG) with ESMTP id qWppEhtFQu6squx-I2vVdw for ; Fri, 03 Oct 2025 15:35:20.933 +0000 (UTC) Date: Fri, 03 Oct 2025 15:35:21 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 21623 X-Redmine-Issue-Author: tompng X-Redmine-Issue-Priority: Normal X-Redmine-Sender: tompng 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: 100212 X-SG-EID: =?us-ascii?Q?u001=2E6lsr3vWETlnb7CBjJOIVTeDyJi+6PdirmC=2FsKYr6MUleSZrjBxRsGPCJC?= =?us-ascii?Q?i9WOL5Su0kL3wxEGMWtXRNWLbnUY3F6jcf9Xi5o?= =?us-ascii?Q?rvioAGXtTojkYdLu21vmXH93zZXieN0R=2FCANEdj?= =?us-ascii?Q?WEuRGNovSE9diq7e6uOElLgtrdfiC=2Fvum0DJQkG?= =?us-ascii?Q?KD=2FxpXn6m=2F9=2FBS3yXIVa63Ww3e7F3dPUfjlkARI?= =?us-ascii?Q?4nVFr=2F6y7I0hFQygnzF9kaYPLQEPVhl4uoxBpx4?= =?us-ascii?Q?aLDby73smKhKjfBFc8m05koq7w=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: CFU3HEISCR25MM4W2AEUCHFJE2SSNVWD X-Message-ID-Hash: CFU3HEISCR25MM4W2AEUCHFJE2SSNVWD X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:123383] [Ruby Bug#21623] Endless method definition without parenthesis is wrongly accepted in Prism List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "tompng (tomoya ishida) via ruby-core" Cc: "tompng (tomoya ishida)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #21623 has been reported by tompng (tomoya ishida). ---------------------------------------- Bug #21623: Endless method definition without parenthesis is wrongly accepted in Prism https://bugs.ruby-lang.org/issues/21623 * Author: tompng (tomoya ishida) * Status: Open * ruby -v: ruby 3.5.0dev (2025-10-02T03:48:32Z master 88222caaa9) +PRISM [x86_64-linux] * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- These are syntax error in parse.y but accepted in Prism ~~~ruby def f x: = 1 def f ... = 1 def f * = 1 def f ** = 1 def f & = 1 def f *a = 1 def f **a = 1 def f &a = 1 ~~~ -- 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/lists/ruby-core.ml.ruby-lang.org/