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-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, 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 A70A01F8C7 for ; Sat, 14 Aug 2021 04:20:19 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id ED8E61209D5; Sat, 14 Aug 2021 13:18:54 +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 530421209D5 for ; Sat, 14 Aug 2021 13:18:52 +0900 (JST) Received: by filterdrecv-64b996ffd8-x8zpc with SMTP id filterdrecv-64b996ffd8-x8zpc-1-61174477-D 2021-08-14 04:20:07.804264751 +0000 UTC m=+22527.187890016 Received: from herokuapp.com (unknown) by geopod-ismtpd-6-1 (SG) with ESMTP id uuBDiFb2RYaLj3Hfb64_Dg for ; Sat, 14 Aug 2021 04:20:07.643 +0000 (UTC) Date: Sat, 14 Aug 2021 04:20:07 +0000 (UTC) From: ryand-ruby@zenspider.com Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 18075 X-Redmine-Issue-Author: zenspider X-Redmine-Sender: zenspider 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: 81058 X-SG-EID: =?us-ascii?Q?zyTRfCSc7vIXO1i=2FJrxmTAp9lROTOO6HKN71LxJGaxoYcUMR9OaaqJvK04Sy6N?= =?us-ascii?Q?S+CPSw85zeH9m98yUKku0xv+mNyy8A+Nt741RNf?= =?us-ascii?Q?EzvRaSKetki2ep33nARPGmnodqk8iWSvW1hLL=2Fg?= =?us-ascii?Q?pIg5D+cmMFf0Ai7Hg4X5tzqOMBxflY+yMszd9Tp?= =?us-ascii?Q?tTEMGJg5Ug5vwZyYs75hdQzYtL9=2F4BfZT2I92xz?= =?us-ascii?Q?cHS1ZbIvY9bW9dWlc=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 104916 Subject: [ruby-core:104916] [Ruby master Bug#18075] Crasher using ripper + yydebug 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 #18075 has been reported by zenspider (Ryan Davis). ---------------------------------------- Bug #18075: Crasher using ripper + yydebug https://bugs.ruby-lang.org/issues/18075 * Author: zenspider (Ryan Davis) * Status: Open * Priority: Normal * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- `method `inspect' called on unexpected T_NODE object` via the following with `-d` (see output at end): ``` #!/usr/bin/env ruby -wvs $d ||= false require "ripper/sexp" src = "'woot'" rip = Ripper::SexpBuilderPP.new src rip.yydebug = $d p rip.parse # boom __END__ ############################################################ % % multiruby ./ripper_bug.rb ... Passed: 2.3.8, 2.4.9, 2.5.8, 2.6.6, 2.7.3, 3.0.1 master Failed: ############################################################ % multiruby ./ripper_bug.rb -d ... Entering state 299 ./ripper_bug.rb:11:in `parse': method `inspect' called on unexpected T_NODE object (0x000000012f8db898 flags=0x1e1b) (NotImplementedError) from ./ripper_bug.rb:11:in `
' RESULT = pid 24703 exit 1 TOTAL RESULT = 3 failures out of 6 Passed: 2.3.8, 2.4.9, 2.5.8 Failed: 2.6.6, 2.7.3, 3.0.1, master ``` Exists on 2.6 and up -- https://bugs.ruby-lang.org/