[ruby-core:96745] [Ruby master Feature#16495] Inconsistant Quotes in Error Messages
[email protected] Fri, 10 Jan 2020 00:36:24 +0000 (UTC)
| Newsgroups | gmane.comp.lang.ruby.core |
|---|---|
| Message-ID | <redmine.journal-83732.20200110003624.536f65e884704f0e@ruby-lang.org> |
Issue #16495 has been updated by shevegen (Robert A. Heiler). Hmm. Is this encoding-related perhaps? I remember having had that when I used ISO (ISO-8859-1 specifically, and a non-utf locale too). Nowadays, with Unicode, I don't seem to have this inconsistent quote - but I understand what you refer to. I used to think that it was used to denote the start, and end part of the content. :P (They are not the same characters in general right? Otherwise they would appear the same. I always thought it may be some standard, perhaps to make parsing easier or something.) Never bothered me that much to really investigate, though. ---------------------------------------- Feature #16495: Inconsistant Quotes in Error Messages https://bugs.ruby-lang.org/issues/16495#change-83732 * Author: Kolano (Kenneth Kolano) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- Error messages use inconsistent pairs of quotes, for instance... ``` -e:1:in `<main>': undefined local variable or method `foo' for main:Object (NameError) ``` ...where a "fancy" quote is used on the left-hand side, and a standard single quote is used on the right. The same quotes should be used on either side of elements being quoted. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>