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-Status: No, score=-4.1 required=3.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,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 597D31F9E0 for ; Fri, 7 Aug 2020 00:28:00 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 81195120B81; Fri, 7 Aug 2020 09:27:25 +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 96A02120B80 for ; Fri, 7 Aug 2020 09:27:21 +0900 (JST) Received: by filterdrecv-p3iad2-d8cc6d457-sprgr with SMTP id filterdrecv-p3iad2-d8cc6d457-sprgr-19-5F2CA005-62 2020-08-07 00:27:49.795191207 +0000 UTC m=+713969.785811202 Received: from herokuapp.com (unknown) by ismtpd0020p1iad2.sendgrid.net (SG) with ESMTP id Hf-lSOTTSlWhQtVx6S0f8Q for ; Fri, 07 Aug 2020 00:27:49.759 +0000 (UTC) Date: Fri, 07 Aug 2020 00:27:49 +0000 (UTC) From: naumovvladislav@mail.ru Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 75332 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: vlad0337187 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-SG-EID: =?us-ascii?Q?f2MuqiB+ggLCG7g09xdljNeCSKgP1Xh4AfD04p7ofdEvWaUP7OUQGbmX5dtuT1?= =?us-ascii?Q?rr+SLv4ONhI2pESvD03GjVuTTIOIQjhEgGnvTfE?= =?us-ascii?Q?Wzyjmwdn5Ay7TyaDdARky+z+bZ2lCZvu+1vn1JR?= =?us-ascii?Q?ay4D5TkbL1QeQ+T6oYcHX53PTjI5UG0g45OK2sq?= =?us-ascii?Q?PFtubseLPql0CSuDlffvySYtoHj4wCfggKIQ1Ka?= =?us-ascii?Q?2=2FU+GAlzFawOstVA8=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 99506 Subject: [ruby-core:99506] [Ruby master Feature#16495] Inconsistent quotes in error messages 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 #16495 has been updated by vlad0337187 (Vladislav Ivanov). Some terminals don't highlight text inside different quotes (for example, Iterm2, Terminal on Mac). So you're going to double-click, copy; but have to highlight text manually. ---------------------------------------- Feature #16495: Inconsistent quotes in error messages https://bugs.ruby-lang.org/issues/16495#change-86963 * 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/