{"action":"created","issue":{"url":"https://api.github.com/repos/badlogic/quack/issues/4","labels_url":"https://api.github.com/repos/badlogic/quack/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/badlogic/quack/issues/4/comments","events_url":"https://api.github.com/repos/badlogic/quack/issues/4/events","html_url":"https://github.com/badlogic/quack/issues/4","id":53223031,"number":4,"title":"Type system research","user":{"login":"badlogic","id":514052,"avatar_url":"https://avatars.githubusercontent.com/u/514052?v=3","gravatar_id":"","url":"https://api.github.com/users/badlogic","html_url":"https://github.com/badlogic","followers_url":"https://api.github.com/users/badlogic/followers","following_url":"https://api.github.com/users/badlogic/following{/other_user}","gists_url":"https://api.github.com/users/badlogic/gists{/gist_id}","starred_url":"https://api.github.com/users/badlogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlogic/subscriptions","organizations_url":"https://api.github.com/users/badlogic/orgs","repos_url":"https://api.github.com/users/badlogic/repos","events_url":"https://api.github.com/users/badlogic/events{/privacy}","received_events_url":"https://api.github.com/users/badlogic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/badlogic/quack/labels/Types","name":"Types","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-01T16:25:33Z","updated_at":"2015-01-02T11:28:00Z","closed_at":null,"body":"```\r\nany\r\n   obj\r\n      function\r\n   val\r\n     num\r\n        int8, int32, ..\r\n         uint8, uint32, ...\r\n         float32, float64,\r\n      bool\r\n```\r\n\r\nGenerics should not be covariant, i.e. Array<String> != Array<Object>. This means we may need auto-boxing when working with generics over primitive types.\r\n\r\nCompare to C#\r\n\r\n```c#\t\t\r\nvar arr = new Wrapper<object> [10];\r\narr [0] = new Wrapper<int>(10);  // fails, no covariance\r\narr [0] = new Wrapper<String>(\"HEllo World\"); // fails, no covariance\r\n```"},"comment":{"url":"https://api.github.com/repos/badlogic/quack/issues/comments/68520780","html_url":"https://github.com/badlogic/quack/issues/4#issuecomment-68520780","issue_url":"https://api.github.com/repos/badlogic/quack/issues/4","id":68520780,"user":{"login":"badlogic","id":514052,"avatar_url":"https://avatars.githubusercontent.com/u/514052?v=3","gravatar_id":"","url":"https://api.github.com/users/badlogic","html_url":"https://github.com/badlogic","followers_url":"https://api.github.com/users/badlogic/followers","following_url":"https://api.github.com/users/badlogic/following{/other_user}","gists_url":"https://api.github.com/users/badlogic/gists{/gist_id}","starred_url":"https://api.github.com/users/badlogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlogic/subscriptions","organizations_url":"https://api.github.com/users/badlogic/orgs","repos_url":"https://api.github.com/users/badlogic/repos","events_url":"https://api.github.com/users/badlogic/events{/privacy}","received_events_url":"https://api.github.com/users/badlogic/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T11:28:00Z","updated_at":"2015-01-02T11:28:00Z","body":"Mixed site variance in Java, JEP: http://openjdk.java.net/jeps/8043488"}}