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 D83161F451 for ; Wed, 3 Jan 2024 13:33:28 +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=HaBzluAr; 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=YgaMfV07; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 3B5BA81B23; Wed, 3 Jan 2024 13:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1704288801; bh=6wS7cf/eRL6ibNmDwISPcyekb1V98LpCdq4ZdTZR6KQ=; 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=HaBzluArOQyQj3PCu52FEQGsa4Q1uOFIkGDituk6XzjqHUrqclwI7yrIvf8vZsGqR /9+W/D6sViPIztTsRSNWTMOMDAib+1s0f51171PnwtImHa+F7FYwbPIUll1VB5hfwr vjkC49vB82n8zcu6oZur21DdNUzDCpU8BxHm12rc= Received: from wrqvtvtt.outbound-mail.sendgrid.net (wrqvtvtt.outbound-mail.sendgrid.net [149.72.120.119]) by nue.mailmanlists.eu (Postfix) with ESMTPS id BF2A381B15 for ; Wed, 3 Jan 2024 13:33:17 +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=YgaMfV07; 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=0u/1nllcIdRbuxxT4FcqgJaqzpcsoRKyAraBeZrrWuQ=; b=YgaMfV074cbKa0Y9Dw2vRgMoISPG0dIO9uqmPvICGXPfNUpQ83I0+c7fA0W8JNsaRv8k Xy4gq0hdA7/KS/Beb6iVTXnrkQdLEw20+j0sQ0k1u3NVt3Co7WKMfpWP6/IDPiMF+0SaPl mKzMzDVRJcOZhJ86Me0qS20pDeGTMVRV0z+JJIxpuMudcSJ+H8BmHXRo/godnxajVB806i 4A5GPjbVSK3G0SzAyVdgB4RbckUZQq8Fc9O0T2Dq+vxYTXpisH0chozE5kETnsWN8pCDZe 4Lkg+KIc5NZyXq8NQ4Z6pZCpvmHyjUTetjHchX7k+x4cdiyEEBU5Vy5Fq2/Vx8Pg== Received: by filterdrecv-6b68c9f446-h8js4 with SMTP id filterdrecv-6b68c9f446-h8js4-1-6595621C-25 2024-01-03 13:33:16.604719022 +0000 UTC m=+1896171.396652148 Received: from herokuapp.com (unknown) by geopod-ismtpd-20 (SG) with ESMTP id FBMutIdcS2aQDFKVj0W5lw for ; Wed, 03 Jan 2024 13:33:16.552 +0000 (UTC) Date: Wed, 03 Jan 2024 13:33:16 +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: mdalessio 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: 92525 X-SG-EID: =?us-ascii?Q?pOHVne=2FSxGupODatvVtJt=2FwrHpq31aNsfcbrErwA8KvOIts7aJSjkvSybu7ZGe?= =?us-ascii?Q?UUAeQZcvso2gz4XEO=2FJDODhbaz0xiyTQObsPo3k?= =?us-ascii?Q?kFQyUpdNAH+CrpeutcobdTELvWbeb4mMt7aC=2F3z?= =?us-ascii?Q?ycAJ=2FHeHxsxTO=2F=2F5PFN8gd3AD8oyELyqJnU8jVh?= =?us-ascii?Q?Jrf6bqBOXbNekCHxIFkKvYfCFyssc4cuAoVFdh2?= =?us-ascii?Q?e9KXvQN9WRl45W=2FUjYNxiv=2FL+Db7dCd51iRhqpY?= =?us-ascii?Q?CMPVjGU3q6A=2FBrdlwglIQ=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: ZI2KWEYXWEBUDP5BIANMLGFGT3JAKXZH X-Message-ID-Hash: ZI2KWEYXWEBUDP5BIANMLGFGT3JAKXZH 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:115994] [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: "mdalessio (Mike Dalessio) via ruby-core" Cc: "mdalessio (Mike Dalessio)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #16495 has been updated by mdalessio (Mike Dalessio). It may be interesting to note that the Prism parser has adopted a style guide for error messages, which avoids using the mixed quotes, and uses backticks around token literals to render well in markdown. https://github.com/ruby/prism/blob/main/src/diagnostic.c ---------------------------------------- Feature #16495: Inconsistent quotes in error messages https://bugs.ruby-lang.org/issues/16495#change-105959 * 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/