{"action":"created","issue":{"url":"https://api.github.com/repos/jesserayadkins/lily/issues/246","repository_url":"https://api.github.com/repos/jesserayadkins/lily","labels_url":"https://api.github.com/repos/jesserayadkins/lily/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/jesserayadkins/lily/issues/246/comments","events_url":"https://api.github.com/repos/jesserayadkins/lily/issues/246/events","html_url":"https://github.com/jesserayadkins/lily/issues/246","id":165074319,"number":246,"title":"Unclear error message: \"SyntaxError: A class with the name '' already exists.\"","user":{"login":"a-p-","id":4145331,"avatar_url":"https://avatars.githubusercontent.com/u/4145331?v=3","gravatar_id":"","url":"https://api.github.com/users/a-p-","html_url":"https://github.com/a-p-","followers_url":"https://api.github.com/users/a-p-/followers","following_url":"https://api.github.com/users/a-p-/following{/other_user}","gists_url":"https://api.github.com/users/a-p-/gists{/gist_id}","starred_url":"https://api.github.com/users/a-p-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-p-/subscriptions","organizations_url":"https://api.github.com/users/a-p-/orgs","repos_url":"https://api.github.com/users/a-p-/repos","events_url":"https://api.github.com/users/a-p-/events{/privacy}","received_events_url":"https://api.github.com/users/a-p-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-12T13:01:03Z","updated_at":"2016-07-12T14:55:45Z","closed_at":null,"body":"This code:\r\n\r\n    enum Test[A] {\r\n        A(A)\r\n    }\r\n\r\ncauses lily (1df03d72ab747f1fc4d4c927e06e56cf1363d82a) to give an error message like:\r\n\r\n    $ ../../build/lily enum-name-empty.lly \r\n    SyntaxError: A class with the name '' already exists.\r\n        from enum-name-empty.lly:2\r\n    $ \r\n\r\nThe \"... the name '' ...\" part is kind of unclear."},"comment":{"url":"https://api.github.com/repos/jesserayadkins/lily/issues/comments/232073692","html_url":"https://github.com/jesserayadkins/lily/issues/246#issuecomment-232073692","issue_url":"https://api.github.com/repos/jesserayadkins/lily/issues/246","id":232073692,"user":{"login":"a-p-","id":4145331,"avatar_url":"https://avatars.githubusercontent.com/u/4145331?v=3","gravatar_id":"","url":"https://api.github.com/users/a-p-","html_url":"https://github.com/a-p-","followers_url":"https://api.github.com/users/a-p-/followers","following_url":"https://api.github.com/users/a-p-/following{/other_user}","gists_url":"https://api.github.com/users/a-p-/gists{/gist_id}","starred_url":"https://api.github.com/users/a-p-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-p-/subscriptions","organizations_url":"https://api.github.com/users/a-p-/orgs","repos_url":"https://api.github.com/users/a-p-/repos","events_url":"https://api.github.com/users/a-p-/events{/privacy}","received_events_url":"https://api.github.com/users/a-p-/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T14:55:45Z","updated_at":"2016-07-12T14:55:45Z","body":"This code also gives a similar error message with an empty-string name:\r\n\r\n    class Test[A] < A\r\n    {\r\n    }\r\n\r\nlike:\r\n\r\n    $ ../build/lily name.lly\r\n    SyntaxError: '' cannot be inherited from.\r\n        from name.lly:1\r\n    $\r\n"}}
{"actor":{"display_login":"a-p-"}}