{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1372","labels_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1372/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1372/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1372/events","html_url":"https://github.com/ceylon/ceylon-spec/issues/1372","id":92733900,"number":1372,"title":"Type problem with natives","user":{"login":"davidfestal","id":686586,"avatar_url":"https://avatars.githubusercontent.com/u/686586?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfestal","html_url":"https://github.com/davidfestal","followers_url":"https://api.github.com/users/davidfestal/followers","following_url":"https://api.github.com/users/davidfestal/following{/other_user}","gists_url":"https://api.github.com/users/davidfestal/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfestal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfestal/subscriptions","organizations_url":"https://api.github.com/users/davidfestal/orgs","repos_url":"https://api.github.com/users/davidfestal/repos","events_url":"https://api.github.com/users/davidfestal/events{/privacy}","received_events_url":"https://api.github.com/users/davidfestal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon-spec/labels/bug","name":"bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":{"login":"quintesse","id":778793,"avatar_url":"https://avatars.githubusercontent.com/u/778793?v=3","gravatar_id":"","url":"https://api.github.com/users/quintesse","html_url":"https://github.com/quintesse","followers_url":"https://api.github.com/users/quintesse/followers","following_url":"https://api.github.com/users/quintesse/following{/other_user}","gists_url":"https://api.github.com/users/quintesse/gists{/gist_id}","starred_url":"https://api.github.com/users/quintesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintesse/subscriptions","organizations_url":"https://api.github.com/users/quintesse/orgs","repos_url":"https://api.github.com/users/quintesse/repos","events_url":"https://api.github.com/users/quintesse/events{/privacy}","received_events_url":"https://api.github.com/users/quintesse/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":15,"closed_issues":193,"state":"open","created_at":"2014-09-22T09:55:40Z","updated_at":"2015-07-03T23:55:13Z","due_on":"2014-10-28T23:00:00Z","closed_at":null},"comments":3,"created_at":"2015-07-02T20:56:34Z","updated_at":"2015-07-03T23:56:44Z","closed_at":"2015-07-03T23:55:13Z","body":"the following code : \r\n``` Ceylon\r\nshared native class C() {\r\n    shared native C returnMe();\r\n}\r\n\r\nshared native(\"jvm\") class C() {\r\n    shared native(\"jvm\") C returnMe() => nothing;\r\n}\r\n```\r\n\r\nproduces the following error on the `jvm` overload of `returnMe()` : \r\n`Native implementation must have the same return type as native header: returnMe in C must have the type C`\r\n\r\nSince both types contain declarations that are seen non-equal, they are seen non-equal.\r\n\r\nThis produces many subtyping-algorithm errors"},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/comments/118438704","html_url":"https://github.com/ceylon/ceylon-spec/issues/1372#issuecomment-118438704","issue_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1372","id":118438704,"user":{"login":"quintesse","id":778793,"avatar_url":"https://avatars.githubusercontent.com/u/778793?v=3","gravatar_id":"","url":"https://api.github.com/users/quintesse","html_url":"https://github.com/quintesse","followers_url":"https://api.github.com/users/quintesse/followers","following_url":"https://api.github.com/users/quintesse/following{/other_user}","gists_url":"https://api.github.com/users/quintesse/gists{/gist_id}","starred_url":"https://api.github.com/users/quintesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintesse/subscriptions","organizations_url":"https://api.github.com/users/quintesse/orgs","repos_url":"https://api.github.com/users/quintesse/repos","events_url":"https://api.github.com/users/quintesse/events{/privacy}","received_events_url":"https://api.github.com/users/quintesse/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T23:56:43Z","updated_at":"2015-07-03T23:56:43Z","body":"Btw @davidfestal , this might have repercussions for the IDE, you might need to check that."}}