From: duerst@... Date: 2019-01-08T05:26:23+00:00 Subject: [ruby-core:90926] [Ruby trunk Bug#15467] Creating a class with a Cyrillic first symbol in the name leads to a SyntaxError in IRB Issue #15467 has been updated by duerst (Martin D��rst). Assignee set to keiju (Keiju Ishitsuka) It is indeed the first letter that's relevant. Examples such as `class Sigm��` (last letter of class name is Greek alpha) and `class S��������` (only first letter is Latin, rest is Greek) work without problems. The problem for me is that the traceback doesn't give any specific information. I have assigned this issue to Keiju Ishitsuka, the creator of IRB. Hopefully we can get some help or hints from him. ---------------------------------------- Bug #15467: Creating a class with a Cyrillic first symbol in the name leads to a SyntaxError in IRB https://bugs.ruby-lang.org/issues/15467#change-76121 * Author: an_vlad (Vladislav Andreev) * Status: Open * Priority: Normal * Assignee: keiju (Keiju Ishitsuka) * Target version: * ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux] * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- **What happens:** a syntax error occurs when a user writes `class ����������` and hits 'Enter' in IRB. **What is expected to happen:** the same thing that happens when you create a class in IRB with `class SomeClass` line and hit 'Enter'. **How to reproduce:** 1. Run IRB. 2. Write: `class ����������` and hit 'Enter'. This leads to a syntax error: `unexpected end-of-input, expecting end`. Some details: - `class ����������; end` will successfully create a class. - It seems like having a Cyrillic symbol as the first letter in a class name causes this error: `class Z����������` works fine. -- https://bugs.ruby-lang.org/ Unsubscribe: