[ruby-core:96935] [Ruby master Feature#16495] Inconsistent quotes in error messages
From:
ruby-core@...
Date:
2020-01-18 17:14:44 UTC
List:
ruby-core #96935
Issue #16495 has been updated by marcandre (Marc-Andre Lafortune). Assignee set to matz (Yukihiro Matsumoto) I fail to see the actual gain. This would introducing potential incompatibilities. For example, I remember [parsing using these quotes myself](https://github.com/marcandre/backports/blob/master/lib/backports/1.8.7/kernel/__method__.rb#L4) (this code isn't used for recent rubies so doing the change wouldn't actually affect it). Please reject this. ---------------------------------------- Feature #16495: Inconsistent quotes in error messages https://bugs.ruby-lang.org/issues/16495#change-83963 * Author: Kolano (Kenneth Kolano) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * 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 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/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>