{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1225","labels_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1225/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1225/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1225/events","html_url":"https://github.com/ceylon/ceylon-spec/issues/1225","id":56930820,"number":1225,"title":"Typechecker thinks named constructor params are in a contravariant position","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":[{"url":"https://api.github.com/repos/ceylon/ceylon-spec/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/ceylon/ceylon-spec/labels/high%20priority","name":"high priority","color":"d7e102"}],"state":"closed","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/11","html_url":"https://github.com/ceylon/ceylon-spec/milestones/1.2","labels_url":"https://api.github.com/repos/ceylon/ceylon-spec/milestones/11/labels","id":798020,"number":11,"title":"1.2","description":"Serialization.","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":11,"closed_issues":89,"state":"open","created_at":"2014-09-22T09:55:40Z","updated_at":"2015-03-03T19:01:29Z","due_on":"2014-10-28T23:00:00Z","closed_at":null},"comments":3,"created_at":"2015-02-07T23:34:15Z","updated_at":"2015-03-03T19:01:29Z","closed_at":"2015-03-03T19:01:29Z","body":"This works:\r\n\r\n```ceylon\r\nshared class C<out Element>({Element*} items) {}\r\n```\r\n\r\nThis doesn't:\r\n\r\n```ceylon\r\nshared class C<out Element> {\r\n    shared new C({Element*} items) {\r\n        // Covariant (out) type parameter Element appears in contravariant or invariant location in type: {Element*}\r\n    }\r\n}\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/comments/77010829","html_url":"https://github.com/ceylon/ceylon-spec/issues/1225#issuecomment-77010829","issue_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1225","id":77010829,"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},"created_at":"2015-03-03T19:01:28Z","updated_at":"2015-03-03T19:01:28Z","body":"Done. Thanks, @jvasileff!"}}