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 E06B81F451 for ; Tue, 16 Jan 2024 06:40:07 +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=o+DGom3e; 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=Sz82cC7O; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id E6B7281DC0; Tue, 16 Jan 2024 06:39:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1705387199; bh=bLnIst+6HTgzB6rqeNQ7gC1OisAXE5CYMvUMYTXVK/8=; 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=o+DGom3ePWo5c+3f91y4PftjzWYo1a4rZExxjwlASEkLu/O7kIggDYHW3DgLR3FMd RufCTEf7HleiJ2dl76zJfz8Uqi0kxil7iG790eWjdQz/TJO23z/tE6cNkO+1cmcXr8 mY9fhs8vORCOjejNNJpILAM8fCOIo+zcvcNFeOEM= Received: from wrqvtvvn.outbound-mail.sendgrid.net (wrqvtvvn.outbound-mail.sendgrid.net [149.72.120.130]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 5234481D59 for ; Tue, 16 Jan 2024 06:39:55 +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=Sz82cC7O; 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=6LYjOZ6Ouox9PL47oS75XZPP4aakk/C4tN4WZ8QQJ0E=; b=Sz82cC7O3dawnugxd8NP3dHZdYDZLRI0HrBSmEFeFHX+9hhpiaHcxFXgrUylT8dgI05x 8sjuL9xVDwUlMei05iiIil0+RkYcgQ3iB5KO5hzSyYprvTyY+yjfu50BciRQ6TQ0Zzw0j4 TzUENX2oY3PSlT9M1TAZVwbWODpcn6WIlhTaUCNKIhEzHCY5ls9q3dLzCH0zi+LNdBLFJ2 My6vBCprNABXfAHyQ1E+BsctALdb1u2ML+TFeQfDNJkWVTxoeqIwZtDTr+awKpvM8Kal0y F47pA/+PUSLgRcI6tmRCs0OuU/GUP4gm72RZzjhNS1WMI7NM0seYzY++RYRRQBbQ== Received: by filterdrecv-d585b8d85-wqd8f with SMTP id filterdrecv-d585b8d85-wqd8f-1-65A624B9-8 2024-01-16 06:39:53.478789076 +0000 UTC m=+408147.425673433 Received: from herokuapp.com (unknown) by geopod-ismtpd-9 (SG) with ESMTP id rh0RqVhBQSyZEicbwd-ANw for ; Tue, 16 Jan 2024 06:39:53.318 +0000 (UTC) Date: Tue, 16 Jan 2024 06:39:53 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20186 X-Redmine-Issue-Author: kzkn X-Redmine-Sender: kzkn 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: 92780 X-SG-EID: =?us-ascii?Q?Gdd632NbvB2xVPPQ8oEdlgPxpnDEvelLho9rtQn0snHk38oHTwLhWRd3LoiyF0?= =?us-ascii?Q?NPhBSEz+yxhUfaXMHu5+uszli0g5g7P6yM6ZUMu?= =?us-ascii?Q?mhu433+VqRd3f4+sNtSKvJmdPLOtMEV1+7ZQVfH?= =?us-ascii?Q?Bj6h8IISGpu8=2FJ2oFZsKQCzQDo8Yg37lx7v2QS9?= =?us-ascii?Q?6diZhi+yd196Nj0kiDCy8ES0T3HgNbm4UdvLdJH?= =?us-ascii?Q?rMOGKoxdGsNhnLnn0oNjq5uTIv6bJr6G0Cg5ZPU?= =?us-ascii?Q?usFo12N54Z6ZGWIPn6nzw=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: YC3QXWK5TBMENDJWX75NV57AVXU4IZYH X-Message-ID-Hash: YC3QXWK5TBMENDJWX75NV57AVXU4IZYH 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:116218] [Ruby master Bug#20186] Ripper does not generate AST for some keywords in Ruby 3.3 List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "kzkn (Kazuki Nishikawa) via ruby-core" Cc: "kzkn (Kazuki Nishikawa)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20186 has been reported by kzkn (Kazuki Nishikawa). ---------------------------------------- Bug #20186: Ripper does not generate AST for some keywords in Ruby 3.3 https://bugs.ruby-lang.org/issues/20186 * Author: kzkn (Kazuki Nishikawa) * Status: Open * Priority: Normal * ruby -v: 3.3.0 * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- Ripper does not generate AST for the below keyword: - break - next - redo - retry - yield Ruby 3.2 ``` $ ruby -v ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux] $ ruby -rripper -e "p Ripper.sexp('break')" [:program, [[:break, []]]] $ ruby -rripper -e "p Ripper.sexp('next')" [:program, [[:next, []]]] $ ruby -rripper -e "p Ripper.sexp('redo')" [:program, [[:redo]]] $ ruby -rripper -e "p Ripper.sexp('retry')" [:program, [[:retry]]] $ ruby -rripper -e "p Ripper.sexp('yield')" [:program, [[:yield0]]] ``` Ruby 3.3 ``` $ ruby -v ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux] $ ruby -rripper -e "p Ripper.sexp('break')" nil $ ruby -rripper -e "p Ripper.sexp('next')" nil $ ruby -rripper -e "p Ripper.sexp('redo')" nil $ ruby -rripper -e "p Ripper.sexp('retry')" nil $ ruby -rripper -e "p Ripper.sexp('yield')" nil ``` -- 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/