From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 2D24A1F55B for ; Fri, 29 May 2020 22:59:17 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 27DA6120ACB; Sat, 30 May 2020 07:58:50 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 52BBD120ACA for ; Sat, 30 May 2020 07:58:47 +0900 (JST) Received: by filterdrecv-p3iad2-8ddf98858-z54vx with SMTP id filterdrecv-p3iad2-8ddf98858-z54vx-21-5ED193BD-5C 2020-05-29 22:59:09.802926824 +0000 UTC m=+5608300.101147900 Received: from herokuapp.com (unknown) by geopod-ismtpd-1-2 (SG) with ESMTP id w7gWiwd1TGyizwt1DLZvZQ for ; Fri, 29 May 2020 22:59:09.769 +0000 (UTC) Date: Fri, 29 May 2020 22:59:09 +0000 (UTC) From: merch-redmine@jeremyevans.net Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 74380 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 16923 X-Redmine-Issue-Author: jeremyevans0 X-Redmine-Sender: jeremyevans0 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-SG-EID: =?us-ascii?Q?RVE3t853K5scBhbmJHUzZTFFeVC=2FZSUmHZ0Dc+26wcEi2CTgsF1oz0wTSSxGGN?= =?us-ascii?Q?BIYmZGtDXeBAkRi58VngxkxTgFSLtmjcropossC?= =?us-ascii?Q?vpC8S5hbYuc8KcMNBCL0cWBTFIVZjqIz2N1qsMy?= =?us-ascii?Q?CrGiEYJ9o6Biw1qfmLtJf8p4WdeG8mS=2F+QARoo+?= =?us-ascii?Q?pKhilFJWbROizDLPZ7JX1XR=2FjtdCuC0y4gZHQ+r?= =?us-ascii?Q?MtciWHqNSh=2Fn3aV=2FA=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 98586 Subject: [ruby-core:98586] [Ruby master Feature#16923] Switch reserved for numbered parameter warning to SyntaxError X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #16923 has been reported by jeremyevans0 (Jeremy Evans). ---------------------------------------- Feature #16923: Switch reserved for numbered parameter warning to SyntaxError https://bugs.ruby-lang.org/issues/16923 * Author: jeremyevans0 (Jeremy Evans) * Status: Open * Priority: Normal ---------------------------------------- I propose to make `_1 = 1` a SyntaxError, instead of emitting a warning (it emits a warning in 2.7). I've implemented this proposal in a pull request: https://github.com/ruby/ruby/pull/3163 -- https://bugs.ruby-lang.org/