{"action":"created","issue":{"url":"https://api.github.com/repos/vert-x3/vertx-lang-ceylon/issues/16","repository_url":"https://api.github.com/repos/vert-x3/vertx-lang-ceylon","labels_url":"https://api.github.com/repos/vert-x3/vertx-lang-ceylon/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/vert-x3/vertx-lang-ceylon/issues/16/comments","events_url":"https://api.github.com/repos/vert-x3/vertx-lang-ceylon/issues/16/events","html_url":"https://github.com/vert-x3/vertx-lang-ceylon/issues/16","id":190442111,"number":16,"title":"How do I implement a ReadStream of my own?","user":{"login":"xkr47","id":1488474,"avatar_url":"https://avatars.githubusercontent.com/u/1488474?v=3","gravatar_id":"","url":"https://api.github.com/users/xkr47","html_url":"https://github.com/xkr47","followers_url":"https://api.github.com/users/xkr47/followers","following_url":"https://api.github.com/users/xkr47/following{/other_user}","gists_url":"https://api.github.com/users/xkr47/gists{/gist_id}","starred_url":"https://api.github.com/users/xkr47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xkr47/subscriptions","organizations_url":"https://api.github.com/users/xkr47/orgs","repos_url":"https://api.github.com/users/xkr47/repos","events_url":"https://api.github.com/users/xkr47/events{/privacy}","received_events_url":"https://api.github.com/users/xkr47/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-18T22:58:14Z","updated_at":"2016-11-19T22:07:15Z","closed_at":null,"body":"If I try to implement the ceylon version of the `ReadStream` interface, I get the following problem:\r\n\r\n> Error:(127, 1) ceylon: Ceylon backend error: org.otherone.vhostwww.MyReadStream is not abstract and does not override abstract method getDelegate() in io.vertx.ceylon.core.streams.ReadStream\r\n\r\nAlso if I try to implement one of the methods in the interface, for example `handler(Anything(T?)? h)`:\r\n\r\n> Error:(128, 23) ceylon: member refines a non-default, non-formal member: 'handler' in 'MyReadStream' refines 'handler' in 'ReadStream'\r\n\r\nThere is also no success in implementing the java version of the `ReadStream` interface since no ceylon method understands that.\r\n\r\nI wanted to wrap a `AsyncFile` and filter the data coming through and then use the standard `pump.pump()` on that. But now I guess I'll have to write a custom pump instead that does the filtering."},"comment":{"url":"https://api.github.com/repos/vert-x3/vertx-lang-ceylon/issues/comments/261742900","html_url":"https://github.com/vert-x3/vertx-lang-ceylon/issues/16#issuecomment-261742900","issue_url":"https://api.github.com/repos/vert-x3/vertx-lang-ceylon/issues/16","id":261742900,"user":{"login":"vietj","id":225674,"avatar_url":"https://avatars.githubusercontent.com/u/225674?v=3","gravatar_id":"","url":"https://api.github.com/users/vietj","html_url":"https://github.com/vietj","followers_url":"https://api.github.com/users/vietj/followers","following_url":"https://api.github.com/users/vietj/following{/other_user}","gists_url":"https://api.github.com/users/vietj/gists{/gist_id}","starred_url":"https://api.github.com/users/vietj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vietj/subscriptions","organizations_url":"https://api.github.com/users/vietj/orgs","repos_url":"https://api.github.com/users/vietj/repos","events_url":"https://api.github.com/users/vietj/events{/privacy}","received_events_url":"https://api.github.com/users/vietj/received_events","type":"User","site_admin":false},"created_at":"2016-11-19T22:07:15Z","updated_at":"2016-11-19T22:07:15Z","body":"and I think it's necessary to keep the annotation to not confuse Ceylon"}}
{"actor":{"display_login":"vietj"}}