{"action":"opened","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-07T23:34:15Z","updated_at":"2015-02-07T23:34:15Z","closed_at":null,"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"}}