{"issue":{"created_at":"2011-11-16T22:25:27Z","state":"closed","updated_at":"2011-12-07T14:54:44Z","user":{"gravatar_id":"8672f1c3b11cc7390ec341ac25d7e88e","id":579974,"url":"https://api.github.com/users/gavinking","login":"gavinking","avatar_url":"https://secure.gravatar.com/avatar/8672f1c3b11cc7390ec341ac25d7e88e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":6,"body":"This results in illegal Java:\r\n\r\n    void x<X>(X x) given X satisfies Sized { print(x.size); }\r\n    x<String[]>({\"hello\"});\r\n\r\nThe problem is that `String[]` gets erased to `Iterable`, which does not satisfy the bound. However, the equivalent thing with a generic *class* does not feature this problem, so apparently we already do something for classes that we forget to do for methods.","assignee":{"gravatar_id":"b8932676ae05ecdd084d3839d1f49da8","id":179265,"url":"https://api.github.com/users/FroMage","login":"FroMage","avatar_url":"https://secure.gravatar.com/avatar/b8932676ae05ecdd084d3839d1f49da8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2262727,"number":193,"labels":[{"name":"BUG","color":"e10c02","url":"https://api.github.com/repos/ceylon/ceylon-compiler/labels/BUG"},{"name":"high priority","color":"d7e102","url":"https://api.github.com/repos/ceylon/ceylon-compiler/labels/high+priority"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Upper bound on generic method","html_url":"https://github.com/ceylon/ceylon-compiler/issues/193","closed_at":"2011-12-07T14:51:40Z","url":"https://api.github.com/repos/ceylon/ceylon-compiler/issues/193","milestone":{"created_at":"2011-08-04T00:16:58Z","state":"open","closed_issues":118,"due_on":"2011-12-30T08:00:00Z","creator":{"gravatar_id":"f350819e50453bd9237769a3db644f28","id":778793,"url":"https://api.github.com/users/quintesse","login":"quintesse","avatar_url":"https://secure.gravatar.com/avatar/f350819e50453bd9237769a3db644f28?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":1,"description":"See https://github.com/ceylon/ceylon-compiler/wiki/Release-plan-M1-M3 for what's going into M1","title":"M1","url":"https://api.github.com/repos/ceylon/ceylon-compiler/milestones/1","open_issues":43}},"action":"created","comment":{"created_at":"2011-12-07T14:54:44Z","updated_at":"2011-12-07T14:54:44Z","user":{"gravatar_id":"8672f1c3b11cc7390ec341ac25d7e88e","id":579974,"url":"https://api.github.com/users/gavinking","login":"gavinking","avatar_url":"https://secure.gravatar.com/avatar/8672f1c3b11cc7390ec341ac25d7e88e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Nice!","id":3048048,"url":"https://api.github.com/repos/ceylon/ceylon-compiler/issues/comments/3048048"}}