{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1286","labels_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1286/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1286/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1286/events","html_url":"https://github.com/ceylon/ceylon-spec/issues/1286","id":71813997,"number":1286,"title":"lots of bugs typechecking native","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/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/ceylon/ceylon-spec/labels/high%20priority","name":"high priority","color":"d7e102"}],"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/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":6,"closed_issues":136,"state":"open","created_at":"2014-09-22T09:55:40Z","updated_at":"2015-04-29T08:29:47Z","due_on":"2014-10-28T23:00:00Z","closed_at":null},"comments":2,"created_at":"2015-04-29T08:29:42Z","updated_at":"2015-04-29T13:14:52Z","closed_at":null,"body":"These are the problems I noticed immediately, surely there are more:\r\n\r\n- All versions of the `native` dec are forced to have the exact same annotations, which is no good, for, e.g. the `doc` annotation.\r\n- This seems to be a catchall way to avoid directly checking stuff like `variable`, but if we want decent messages we _do_ have to directly check `variable` and perhaps others.\r\n- The upper bounds of a type parameter of a `native` implementation are never checked for consistency with the header.\r\n- The members of a `native` class are never checked at all! Currently I can write a `native` implementation class which simply doesn't implement the shared members of the header.\r\n\r\nFinally:\r\n\r\n- References to a `native` dec resolve to the last `native` implementation to be declared in the file, not to the `native` header."},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/comments/97422060","html_url":"https://github.com/ceylon/ceylon-spec/issues/1286#issuecomment-97422060","issue_url":"https://api.github.com/repos/ceylon/ceylon-spec/issues/1286","id":97422060,"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-04-29T13:14:52Z","updated_at":"2015-04-29T13:14:52Z","body":"@quintesse Are you going to look at some of these?"}}