{"action":"closed","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-js/issues/617","labels_url":"https://api.github.com/repos/ceylon/ceylon-js/issues/617/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-js/issues/617/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-js/issues/617/events","html_url":"https://github.com/ceylon/ceylon-js/issues/617","id":102109437,"number":617,"title":"Error: Unexpected token ILLEGAL for class in anonymous object","user":{"login":"lucaswerkmeister","id":2346599,"avatar_url":"https://avatars.githubusercontent.com/u/2346599?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswerkmeister","html_url":"https://github.com/lucaswerkmeister","followers_url":"https://api.github.com/users/lucaswerkmeister/followers","following_url":"https://api.github.com/users/lucaswerkmeister/following{/other_user}","gists_url":"https://api.github.com/users/lucaswerkmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswerkmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswerkmeister/subscriptions","organizations_url":"https://api.github.com/users/lucaswerkmeister/orgs","repos_url":"https://api.github.com/users/lucaswerkmeister/repos","events_url":"https://api.github.com/users/lucaswerkmeister/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswerkmeister/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon-js/labels/bug","name":"bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon-js/milestones/8","html_url":"https://github.com/ceylon/ceylon-js/milestones/1.2","labels_url":"https://api.github.com/repos/ceylon/ceylon-js/milestones/8/labels","id":820071,"number":8,"title":"1.2","description":"","creator":{"login":"FroMage","id":179265,"avatar_url":"https://avatars.githubusercontent.com/u/179265?v=3","gravatar_id":"","url":"https://api.github.com/users/FroMage","html_url":"https://github.com/FroMage","followers_url":"https://api.github.com/users/FroMage/followers","following_url":"https://api.github.com/users/FroMage/following{/other_user}","gists_url":"https://api.github.com/users/FroMage/gists{/gist_id}","starred_url":"https://api.github.com/users/FroMage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FroMage/subscriptions","organizations_url":"https://api.github.com/users/FroMage/orgs","repos_url":"https://api.github.com/users/FroMage/repos","events_url":"https://api.github.com/users/FroMage/events{/privacy}","received_events_url":"https://api.github.com/users/FroMage/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":140,"state":"open","created_at":"2014-10-09T16:31:51Z","updated_at":"2015-08-20T21:45:59Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-20T10:24:38Z","updated_at":"2015-08-20T21:45:59Z","closed_at":"2015-08-20T21:45:59Z","body":"```ceylon\r\nBasic o = object {\r\n    class C() {}\r\n};\r\n```\r\n\r\n> /run/media/lucas/Windows/Users/Lucas/workspace/tmp/modules/tmp/1.0.0/tmp-1.0.0.js:19\r\n```js\r\nfunction C$anonymous#0($4$){\r\n                    ^\r\n```\r\nSyntaxError: Unexpected token ILLEGAL\r\n\r\nThis bug was originally exposed by @gavinking, as his implementation of `Iterable.distinct` contains an anonymous object with an inner `Entry` class. As a result, the language module currently can’t be loaded."}}