{"action":"created","issue":{"url":"https://api.github.com/repos/ruby/irb/issues/9","repository_url":"https://api.github.com/repos/ruby/irb","labels_url":"https://api.github.com/repos/ruby/irb/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/ruby/irb/issues/9/comments","events_url":"https://api.github.com/repos/ruby/irb/issues/9/events","html_url":"https://github.com/ruby/irb/issues/9","id":394886541,"node_id":"MDU6SXNzdWUzOTQ4ODY1NDE=","number":9,"title":"Having a leading uppercase Unicode letter in the name of a class causes an error ","user":{"login":"vladyio","id":8758132,"node_id":"MDQ6VXNlcjg3NTgxMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/8758132?v=4","gravatar_id":"","url":"https://api.github.com/users/vladyio","html_url":"https://github.com/vladyio","followers_url":"https://api.github.com/users/vladyio/followers","following_url":"https://api.github.com/users/vladyio/following{/other_user}","gists_url":"https://api.github.com/users/vladyio/gists{/gist_id}","starred_url":"https://api.github.com/users/vladyio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladyio/subscriptions","organizations_url":"https://api.github.com/users/vladyio/orgs","repos_url":"https://api.github.com/users/vladyio/repos","events_url":"https://api.github.com/users/vladyio/events{/privacy}","received_events_url":"https://api.github.com/users/vladyio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-30T17:01:28Z","updated_at":"2018-12-31T00:13:50Z","closed_at":null,"author_association":"NONE","body":"**Details**\r\nIf you run one of the following examples (I'm using `irb 1.0.0 (2018-12-18)`) in console:\r\n\r\n- `class Класс` + <kbd>Enter</kbd>\r\n- `class Σφάλμα` + <kbd>Enter</kbd>\r\n- `class ЖClass` + <kbd>Enter</kbd>\r\n\r\nyou'll get a SyntaxError like this:\r\n\r\n```\r\nSyntaxError ((irb):1: syntax error, unexpected end-of-input, expecting end)\r\n```\r\n\r\nSo the first Unicode symbol causes this kind of error. \r\nAt the same time code like this works fine: `class Класс; end`.\r\n\r\n**What is expected to be**\r\n\r\nBasically it should run like any similar piece of code:\r\n\r\n```\r\n2.6.0 :001 > class Kласс\r\n2.6.0 :002?>   # ... \r\n2.6.0 :003?> end\r\n```"},"comment":{"url":"https://api.github.com/repos/ruby/irb/issues/comments/450596209","html_url":"https://github.com/ruby/irb/issues/9#issuecomment-450596209","issue_url":"https://api.github.com/repos/ruby/irb/issues/9","id":450596209,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDU5NjIwOQ==","user":{"login":"stomar","id":1112299,"node_id":"MDQ6VXNlcjExMTIyOTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1112299?v=4","gravatar_id":"","url":"https://api.github.com/users/stomar","html_url":"https://github.com/stomar","followers_url":"https://api.github.com/users/stomar/followers","following_url":"https://api.github.com/users/stomar/following{/other_user}","gists_url":"https://api.github.com/users/stomar/gists{/gist_id}","starred_url":"https://api.github.com/users/stomar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stomar/subscriptions","organizations_url":"https://api.github.com/users/stomar/orgs","repos_url":"https://api.github.com/users/stomar/repos","events_url":"https://api.github.com/users/stomar/events{/privacy}","received_events_url":"https://api.github.com/users/stomar/received_events","type":"User","site_admin":false},"created_at":"2018-12-31T00:13:50Z","updated_at":"2018-12-31T00:13:50Z","author_association":"CONTRIBUTOR","body":"It should be noted that the first example presumably does not start with ASCII „K“ but with 'CYRILLIC CAPITAL LETTER KA' (U+041A)."}}
{"actor":{"display_login":"stomar"}}