{"action":"created","issue":{"url":"https://api.github.com/repos/puniverse/quasar/issues/234","repository_url":"https://api.github.com/repos/puniverse/quasar","labels_url":"https://api.github.com/repos/puniverse/quasar/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/puniverse/quasar/issues/234/comments","events_url":"https://api.github.com/repos/puniverse/quasar/issues/234/events","html_url":"https://github.com/puniverse/quasar/issues/234","id":191048964,"number":234,"title":"Instrumentation verification does not report some problems with lambda!","user":{"login":"victornoel","id":160975,"avatar_url":"https://avatars.githubusercontent.com/u/160975?v=3","gravatar_id":"","url":"https://api.github.com/users/victornoel","html_url":"https://github.com/victornoel","followers_url":"https://api.github.com/users/victornoel/followers","following_url":"https://api.github.com/users/victornoel/following{/other_user}","gists_url":"https://api.github.com/users/victornoel/gists{/gist_id}","starred_url":"https://api.github.com/users/victornoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victornoel/subscriptions","organizations_url":"https://api.github.com/users/victornoel/orgs","repos_url":"https://api.github.com/users/victornoel/repos","events_url":"https://api.github.com/users/victornoel/events{/privacy}","received_events_url":"https://api.github.com/users/victornoel/received_events","type":"User","site_admin":false},"labels":[{"id":33596716,"url":"https://api.github.com/repos/puniverse/quasar/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"pron","id":1273445,"avatar_url":"https://avatars.githubusercontent.com/u/1273445?v=3","gravatar_id":"","url":"https://api.github.com/users/pron","html_url":"https://github.com/pron","followers_url":"https://api.github.com/users/pron/followers","following_url":"https://api.github.com/users/pron/following{/other_user}","gists_url":"https://api.github.com/users/pron/gists{/gist_id}","starred_url":"https://api.github.com/users/pron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pron/subscriptions","organizations_url":"https://api.github.com/users/pron/orgs","repos_url":"https://api.github.com/users/pron/repos","events_url":"https://api.github.com/users/pron/events{/privacy}","received_events_url":"https://api.github.com/users/pron/received_events","type":"User","site_admin":false},"assignees":[{"login":"pron","id":1273445,"avatar_url":"https://avatars.githubusercontent.com/u/1273445?v=3","gravatar_id":"","url":"https://api.github.com/users/pron","html_url":"https://github.com/pron","followers_url":"https://api.github.com/users/pron/followers","following_url":"https://api.github.com/users/pron/following{/other_user}","gists_url":"https://api.github.com/users/pron/gists{/gist_id}","starred_url":"https://api.github.com/users/pron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pron/subscriptions","organizations_url":"https://api.github.com/users/pron/orgs","repos_url":"https://api.github.com/users/pron/repos","events_url":"https://api.github.com/users/pron/events{/privacy}","received_events_url":"https://api.github.com/users/pron/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-11-22T16:07:11Z","updated_at":"2017-01-11T08:32:15Z","closed_at":"2017-01-11T08:32:15Z","body":"Hi,\r\n\r\nInitially reported on the [mailing-list](https://groups.google.com/d/msg/quasar-pulsar-user/6pTidspp3nQ/pBUHT5V5BAAJ).\r\nA case where a method wasn't declared in `suspendable-supers`, instrumentation didn't happen for a lambda implementing it and the verification didn't report the missing instrumentation!\r\n\r\nBasically, I have a method like this:\r\n```java\r\nprivate <R, T extends WorkspaceRequest<R>> void answer(T r, CheckedFunction1<T, Either<Status, R>> f)\r\n            throws SuspendExecution {\r\n        try {\r\n            if (w.users.stream().anyMatch(r.user::equals)) {\r\n                RequestReplyHelper.reply(r, f.apply(r));\r\n            } else {\r\n                RequestReplyHelper.reply(r, Either.left(Status.FORBIDDEN));\r\n            }\r\n        } catch (Throwable e) {\r\n            RequestReplyHelper.replyError(r, e);\r\n        }\r\n    }\r\n```\r\n`CheckedFunction1` comes from the javaslang library and is thus not annotated.\r\n\r\nAnd calling, for example, `answer` like this (`handleImportBus` being a suspendable method):\r\n```java\r\nanswer((ImportBus) msg, this::handleImportBus);\r\n```\r\n\r\nI hope it is clear enough to find the reason of the problem :)"},"comment":{"url":"https://api.github.com/repos/puniverse/quasar/issues/comments/271808329","html_url":"https://github.com/puniverse/quasar/issues/234#issuecomment-271808329","issue_url":"https://api.github.com/repos/puniverse/quasar/issues/234","id":271808329,"user":{"login":"victornoel","id":160975,"avatar_url":"https://avatars.githubusercontent.com/u/160975?v=3","gravatar_id":"","url":"https://api.github.com/users/victornoel","html_url":"https://github.com/victornoel","followers_url":"https://api.github.com/users/victornoel/followers","following_url":"https://api.github.com/users/victornoel/following{/other_user}","gists_url":"https://api.github.com/users/victornoel/gists{/gist_id}","starred_url":"https://api.github.com/users/victornoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victornoel/subscriptions","organizations_url":"https://api.github.com/users/victornoel/orgs","repos_url":"https://api.github.com/users/victornoel/repos","events_url":"https://api.github.com/users/victornoel/events{/privacy}","received_events_url":"https://api.github.com/users/victornoel/received_events","type":"User","site_admin":false},"created_at":"2017-01-11T08:32:15Z","updated_at":"2017-01-11T08:32:15Z","body":"This time it works yes :) Thanks!"}}
{"actor":{"display_login":"victornoel"}}