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 1D1601F405 for ; Fri, 19 Jan 2024 07:45:49 +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=W/6SC0C4; 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=PbBw9WuB; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 822C981DB4; Fri, 19 Jan 2024 07:45:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1705650336; bh=Pw4hSLGOpfGbS0FXmOzsgAmHasYMURKcZIcoWjJywy0=; 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=W/6SC0C4Jl6xs1XwkcoETQ0hH6LFIqxA4FGyMXujwVrEbwiOWmm5V9h+Jz+0Y0y5O YI1Vbj0CbMaWYbkzUtc8dF9YXVQyytf9Ebjht7SmnPCSGC1e5XC0NKaFf9YSVXgMHM vZsuBkuQBCbAv38PdlDOvSlrIMmvCP2Ed3SQgcos= Received: from wrqvtvtt.outbound-mail.sendgrid.net (wrqvtvtt.outbound-mail.sendgrid.net [149.72.120.119]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 7A01C81C40 for ; Fri, 19 Jan 2024 07:45:32 +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=PbBw9WuB; 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=52k9G8xwZ6lDZYJQ1/rkvrELsM1icRxTSormO+4LYgc=; b=PbBw9WuB0TZ5Ae3+WVM1ePeDqvX7iQUTMvT0v2VK1ke6KyAbSYT+R89plSLAhi1koG+E aHYwvDuk1erLtun9h01bX017VTDXR54r1TIEDll7F/b2K5g8z54+eyLmuYWDm4MqE7Q0Cl DF5HudI4052c28GX1mg58vp7w8/OhbAduWSXT9yuVtHEFm0MlfSu4QCI/EOLN3IZAIaUjQ J0AfJHSbrpol10VERHRwP4pGPD+CnXTXXIDCIgqFIoKhiVvyn0eZ66isMiCLT+aDx6q8ou Q50D7Qpg/3JEcFRmeisDEL+N8bllhCHHnBHwWaeUCDccBiM0BssqO1Yiz/Oiyq/w== Received: by filterdrecv-6b68c9f446-2thcc with SMTP id filterdrecv-6b68c9f446-2thcc-1-65AA289B-A 2024-01-19 07:45:31.297115614 +0000 UTC m=+8082277.547611520 Received: from herokuapp.com (unknown) by geopod-ismtpd-10 (SG) with ESMTP id DQ9G-ikrRWKDn2cn_a7x9g for ; Fri, 19 Jan 2024 07:45:31.256 +0000 (UTC) Date: Fri, 19 Jan 2024 07:45:31 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 16495 X-Redmine-Issue-Author: Kolano X-Redmine-Issue-Assignee: matz X-Redmine-Sender: mame 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: 92874 X-SG-EID: =?us-ascii?Q?YbSlef6ZOa=2FS=2FuqSxXRzl42MttQDxKOujGe43WuBjI7JKMg2OkmRsyzG5za6L9?= =?us-ascii?Q?e1flZkYZ9OViVy5Lc4acvpZg0Q8yivz42Y1YlyX?= =?us-ascii?Q?DMlOkTGVTL95+VoWlTRZ2rK4OR0H=2FCsVGz1yLoa?= =?us-ascii?Q?FvaO+=2Fwcpg+2RwCbVM8AO2jmWrvJbL3oACR2Xar?= =?us-ascii?Q?HWXheZfqdywXfREcQkUbTvV3XyweWsNnKZwE7W5?= =?us-ascii?Q?eCedvsTMCtiT6h+s3wJyaRW3Gn94UBPc8hkl3pi?= =?us-ascii?Q?MSdSqTvsIFQXr9zroyO8g=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: HSX5UFYEQEAML3OL6FZKVWDMGQ7RWCWS X-Message-ID-Hash: HSX5UFYEQEAML3OL6FZKVWDMGQ7RWCWS 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:116313] [Ruby master Feature#16495] Inconsistent quotes in error messages List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "mame (Yusuke Endoh) via ruby-core" Cc: "mame (Yusuke Endoh)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #16495 has been updated by mame (Yusuke Endoh). I prototyped it: https://github.com/ruby/ruby/pull/9608 Still need to update prism and ruby/spec. For information in impact assessment: this change made 140 tests fail in `make test-all`. Many of them examined error messages, which could be fixed by simply updating the expected regular expression. But there were some non-trivial effects, e.g., irb converts the error message from `` `top (required)' `` to `` `
' ``, so this conversion code is also updated. ---------------------------------------- Feature #16495: Inconsistent quotes in error messages https://bugs.ruby-lang.org/issues/16495#change-106337 * Author: Kolano (Kenneth Kolano) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) ---------------------------------------- Error messages use inconsistent pairs of quotes, for instance: ``` -e:1:in `
': undefined local variable or method `foo' for main:Object (NameError) ``` where a back tick is used on the left-hand side, and a single quote is used on the right. The same quotes should be used on either side of the elements being quoted. -- 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/