Actions
Bug #15467
closedCreating a class with a Cyrillic first symbol in the name leads to a SyntaxError in IRB
Bug #15467:
Creating a class with a Cyrillic first symbol in the name leads to a SyntaxError in IRB
Description
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:
- Run IRB.
- 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.
Actions