[#109095] [Ruby master Misc#18888] Migrate ruby-lang.org mail services to Google Domains and Google Workspace — "shugo (Shugo Maeda)" <noreply@...>
Issue #18888 has been reported by shugo (Shugo Maeda).
16 messages
2022/06/30
[ruby-core:108923] [Ruby master Feature#16495] Inconsistent quotes in error messages
From:
"nobu (Nobuyoshi Nakada)" <noreply@...>
Date:
2022-06-15 03:23:03 UTC
List:
ruby-core #108923
Issue #16495 has been updated by nobu (Nobuyoshi Nakada). zverok (Victor Shepelev) wrote in #note-12: > Because error messages are by their nature something you frequently want to communicate quickly and inline? > Here are some examples of backtick breaking communication: https://gist.github.com/zverok/a4fcacab3dc06d9d7585c82cad8a8dc6 Why don't you use double- or triple-backticks? > Ugh, do you know why am I having ``undefined local variable or method `foo' for main:Object?``.. I expected it to work for `Logger`. ---------------------------------------- Feature #16495: Inconsistent quotes in error messages https://bugs.ruby-lang.org/issues/16495#change-98008 * Author: Kolano (Kenneth Kolano) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) ---------------------------------------- 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>