{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/solidity/issues/3291","repository_url":"https://api.github.com/repos/ethereum/solidity","labels_url":"https://api.github.com/repos/ethereum/solidity/issues/3291/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/solidity/issues/3291/comments","events_url":"https://api.github.com/repos/ethereum/solidity/issues/3291/events","html_url":"https://github.com/ethereum/solidity/issues/3291","id":280122416,"number":3291,"title":"Inconsistent requirements of block in FunctionDefinition.","user":{"login":"maciejhirsz","id":1096222,"avatar_url":"https://avatars1.githubusercontent.com/u/1096222?v=4","gravatar_id":"","url":"https://api.github.com/users/maciejhirsz","html_url":"https://github.com/maciejhirsz","followers_url":"https://api.github.com/users/maciejhirsz/followers","following_url":"https://api.github.com/users/maciejhirsz/following{/other_user}","gists_url":"https://api.github.com/users/maciejhirsz/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejhirsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejhirsz/subscriptions","organizations_url":"https://api.github.com/users/maciejhirsz/orgs","repos_url":"https://api.github.com/users/maciejhirsz/repos","events_url":"https://api.github.com/users/maciejhirsz/events{/privacy}","received_events_url":"https://api.github.com/users/maciejhirsz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-07T13:04:37Z","updated_at":"2017-12-09T19:54:08Z","closed_at":null,"author_association":"NONE","body":"edit: Forgive me for confusion, I'm literally just learning Solidity while writing a parser.\r\n\r\nThe following should be equivalent according to grammar.txt:\r\n\r\n```\r\nfunction bar() only_owner public; // this compiles\r\nfunction bar() public only_owner; // this does not compile\r\n```\r\n\r\nEither a function with a modifier must have a block following it and the first case is a bug, or it doesn't and the second case is a bug. Can't tell which atm."},"comment":{"url":"https://api.github.com/repos/ethereum/solidity/issues/comments/350501286","html_url":"https://github.com/ethereum/solidity/issues/3291#issuecomment-350501286","issue_url":"https://api.github.com/repos/ethereum/solidity/issues/3291","id":350501286,"user":{"login":"axic","id":20340,"avatar_url":"https://avatars3.githubusercontent.com/u/20340?v=4","gravatar_id":"","url":"https://api.github.com/users/axic","html_url":"https://github.com/axic","followers_url":"https://api.github.com/users/axic/followers","following_url":"https://api.github.com/users/axic/following{/other_user}","gists_url":"https://api.github.com/users/axic/gists{/gist_id}","starred_url":"https://api.github.com/users/axic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axic/subscriptions","organizations_url":"https://api.github.com/users/axic/orgs","repos_url":"https://api.github.com/users/axic/repos","events_url":"https://api.github.com/users/axic/events{/privacy}","received_events_url":"https://api.github.com/users/axic/received_events","type":"User","site_admin":false},"created_at":"2017-12-09T19:54:08Z","updated_at":"2017-12-09T19:54:08Z","author_association":"MEMBER","body":"I think that should compile, but seemingly fails."}}
{"actor":{"display_login":"axic"}}