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 07D161F451 for ; Thu, 18 Jan 2024 13:44:01 +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=wSfBL5fN; 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=V854NpOi; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id B7DA781DF8; Thu, 18 Jan 2024 13:43:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1705585428; bh=izjjs2mmdlb3yYhNT/BVQQ/fxGoHdCrzTry+5Rj/lzY=; 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=wSfBL5fNkgOx1llHH8Q1QyuAdPsucsS3+rvBnC2uU3NUv90goKhFFEbdBZAavZHVD Wc+vUY3hh1N5SHSmDurooFeQ1dEXkmMdfzX06OCV38gRyTpdmT3cwAJKC3KgHjJ5hT 2EnYyag8sOQxIm2IlAzJ6wjdjYrKyzhWYL14lzQE= Received: from wrqvtvtt.outbound-mail.sendgrid.net (wrqvtvtt.outbound-mail.sendgrid.net [149.72.120.119]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 8AFEB81DF2 for ; Thu, 18 Jan 2024 13:43:45 +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=V854NpOi; 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=VnE7LtKI9TwOUcnRk846v0MZHNDKLLyhApy0M8a4INk=; b=V854NpOiJIDKCPW4Hj2c2KYtvDbpToVtaue8WrjWr/4V3dSgl1H/RXr1q/829RIHn1b3 qCz+uG8pTncQYJnqo5EsdC7gz4bFtT7jrvZfNPyclxbUZ+v1JrR/RMVBOdoKNzRYb2+7NZ Ab0np0uPPFEGBkbr8ITL4pFOIzWKpS4mykmvpuShv/8VycxZ4zYGm2V4m8JofZxS6T/8AJ 50rHyIHIuA3Wyh4UIVMdCsfOBPZHJdf6dHHcuMexkhhbVwdCwna4ZtzlEUcdbY9TGK+JtZ yCURWzlMekkYWkvR7Lc9b4DiGgZVYNnV5YvdDb/G0g/ZAFJriciSt+ctVa0PaMiw== Received: by filterdrecv-655bd866f5-cs4cb with SMTP id filterdrecv-655bd866f5-cs4cb-1-65A92B10-E 2024-01-18 13:43:44.200805093 +0000 UTC m=+606408.198358368 Received: from herokuapp.com (unknown) by geopod-ismtpd-1 (SG) with ESMTP id HJjrZKesQM-YuS76Qoa7mg for ; Thu, 18 Jan 2024 13:43:44.157 +0000 (UTC) Date: Thu, 18 Jan 2024 13:43:44 +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: Dan0042 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: 92857 X-SG-EID: =?us-ascii?Q?9vnO9kNFlf1pwhty1clU3mt9eNWYniufdXqocdsQQtaDTWZk4+b5g5js0Akvaj?= =?us-ascii?Q?32LW=2F+fGSAom3tt8Jo+=2FGW3uDD0ktbmu7qAbln0?= =?us-ascii?Q?uJrjIBs=2FwCkEq1J5VpmxsQkuViRRZYXlep=2F6MnY?= =?us-ascii?Q?5dNHjgc3uVDmEf8FBiUD4d4E0IBD1=2FElBaal2cc?= =?us-ascii?Q?XQ8Ff9ygkp035eHXu94XTTKKawNlGaFvmUz4VIw?= =?us-ascii?Q?oR84c5HEYVm0yoGEhbsJ119Eph7axww9bENbO35?= =?us-ascii?Q?1iNQuYVbPpEydehuLu1sQ=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: 4GQQA52KZQZWC5IKPYSF3EN4SUSSLYPB X-Message-ID-Hash: 4GQQA52KZQZWC5IKPYSF3EN4SUSSLYPB 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:116296] [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: "Dan0042 (Daniel DeLorme) via ruby-core" Cc: "Dan0042 (Daniel DeLorme)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #16495 has been updated by Dan0042 (Daniel DeLorme). I'd like something that's convenient to copy-paste. Testing: with single quote pair: undefined local variable or method 'foobar' for main:Object (NameError) `undefined local variable or method 'foobar' for main:Object (NameError)` ``undefined local variable or method 'foobar' for main:Object (NameError)`` with backtick pair: undefined local variable or method `foobar` for main:Object (NameError) `undefined local variable or method `foobar` for main:Object (NameError)` ``undefined local variable or method `foobar` for main:Object (NameError)`` At first I preferred backticks but given how the above are rendered in markdown I've ended up preferring single quotes. ---------------------------------------- Feature #16495: Inconsistent quotes in error messages https://bugs.ruby-lang.org/issues/16495#change-106318 * 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/