{"action":"opened","issue":{"url":"https://api.github.com/repos/ceylon/ceylon/issues/6386","repository_url":"https://api.github.com/repos/ceylon/ceylon","labels_url":"https://api.github.com/repos/ceylon/ceylon/issues/6386/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon/issues/6386/comments","events_url":"https://api.github.com/repos/ceylon/ceylon/issues/6386/events","html_url":"https://github.com/ceylon/ceylon/issues/6386","id":166406496,"number":6386,"title":"should class aliases \"inherit\" constructors?","user":{"login":"jvasileff","id":236050,"avatar_url":"https://avatars.githubusercontent.com/u/236050?v=3","gravatar_id":"","url":"https://api.github.com/users/jvasileff","html_url":"https://github.com/jvasileff","followers_url":"https://api.github.com/users/jvasileff/followers","following_url":"https://api.github.com/users/jvasileff/following{/other_user}","gists_url":"https://api.github.com/users/jvasileff/gists{/gist_id}","starred_url":"https://api.github.com/users/jvasileff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvasileff/subscriptions","organizations_url":"https://api.github.com/users/jvasileff/orgs","repos_url":"https://api.github.com/users/jvasileff/repos","events_url":"https://api.github.com/users/jvasileff/events{/privacy}","received_events_url":"https://api.github.com/users/jvasileff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-19T18:51:05Z","updated_at":"2016-07-19T18:51:05Z","closed_at":null,"body":"The code below compiled on `1.2.2`. Not sure I have an opinion on it atm.\r\n\r\n```ceylon\r\nshared class C {\r\n    shared new () { print(\"default\"); }\r\n    shared new create() { print(\"create\"); }\r\n}\r\n\r\nshared class CAlias() => C();\r\nshared class CCreateAlias() => C.create();\r\n\r\nshared void run() {\r\n    CAlias();              // works\r\n    CCreateAlias();        // works\r\n\r\n    CAlias.create();       // error on 1.2.3\r\n    CCreateAlias.create(); // error on 1.2.3\r\n}\r\n```"}}
{"actor":{"display_login":"jvasileff"}}