{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1288","labels_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1288/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1288/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1288/events","html_url":"https://github.com/ceylon/ceylon-spec/issues/1288","id":72790909,"number":1288,"title":"constructors and return","user":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon-spec/labels/clarification","name":"clarification","color":"e102d8"}],"state":"open","locked":false,"assignee":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/milestones/10","html_url":"https://github.com/ceylon/ceylon-spec/milestones/1.3","labels_url":"https://api.github.com/repos/ceylon/ceylon-spec/milestones/10/labels","id":683676,"number":10,"title":"1.3","description":"","creator":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":1,"state":"open","created_at":"2014-06-06T19:39:15Z","updated_at":"2015-05-13T11:44:52Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2015-05-03T11:13:19Z","updated_at":"2015-05-13T21:01:42Z","closed_at":null,"body":"Here's an interesting case:\r\n\r\n```ceylon\r\n    class Foo {\r\n        shared new () {\r\n            return;\r\n        }\r\n        shared new Baz() {}\r\n        print(\"done\");\r\n    }\r\n```\r\n\r\nCurrently this results in an `unreachable statement` error on the `print()` statement.\r\n\r\nI'm not sure that this is precisely _wrong_, but it's not obviously the only thing that could be correct.\r\n\r\nSo I need to think it through a little further and probably clarify this in the spec."},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/comments/101815654","html_url":"https://github.com/ceylon/ceylon-spec/issues/1288#issuecomment-101815654","issue_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1288","id":101815654,"user":{"login":"tombentley","id":879487,"avatar_url":"https://avatars.githubusercontent.com/u/879487?v=3","gravatar_id":"","url":"https://api.github.com/users/tombentley","html_url":"https://github.com/tombentley","followers_url":"https://api.github.com/users/tombentley/followers","following_url":"https://api.github.com/users/tombentley/following{/other_user}","gists_url":"https://api.github.com/users/tombentley/gists{/gist_id}","starred_url":"https://api.github.com/users/tombentley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombentley/subscriptions","organizations_url":"https://api.github.com/users/tombentley/orgs","repos_url":"https://api.github.com/users/tombentley/repos","events_url":"https://api.github.com/users/tombentley/events{/privacy}","received_events_url":"https://api.github.com/users/tombentley/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T21:01:42Z","updated_at":"2015-05-13T21:01:42Z","body":"No, just comment out the errors in the type checker\nOn 13 May 2015 16:08, \"Enrique Zamudio\" <notifications@github.com> wrote:\n\n> Is this is some branch?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ceylon/ceylon-spec/issues/1288#issuecomment-101709062>\n> .\n>\n"}}