{"action":"opened","issue":{"url":"https://api.github.com/repos/duaraghav8/Solium/issues/147","repository_url":"https://api.github.com/repos/duaraghav8/Solium","labels_url":"https://api.github.com/repos/duaraghav8/Solium/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/duaraghav8/Solium/issues/147/comments","events_url":"https://api.github.com/repos/duaraghav8/Solium/issues/147/events","html_url":"https://github.com/duaraghav8/Solium/issues/147","id":275287673,"number":147,"title":"Functions with return values that also have a modifier throw a 'Fatal Error'","user":{"login":"elenadimitrova","id":703848,"avatar_url":"https://avatars1.githubusercontent.com/u/703848?v=4","gravatar_id":"","url":"https://api.github.com/users/elenadimitrova","html_url":"https://github.com/elenadimitrova","followers_url":"https://api.github.com/users/elenadimitrova/followers","following_url":"https://api.github.com/users/elenadimitrova/following{/other_user}","gists_url":"https://api.github.com/users/elenadimitrova/gists{/gist_id}","starred_url":"https://api.github.com/users/elenadimitrova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elenadimitrova/subscriptions","organizations_url":"https://api.github.com/users/elenadimitrova/orgs","repos_url":"https://api.github.com/users/elenadimitrova/repos","events_url":"https://api.github.com/users/elenadimitrova/events{/privacy}","received_events_url":"https://api.github.com/users/elenadimitrova/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-20T09:29:38Z","updated_at":"2017-11-20T09:29:38Z","closed_at":null,"author_association":"NONE","body":"Functions with return values (sample below) that also have a modifier throw a 'Fatal Error'\r\n```\r\nfunction myFunction(uint _id) public view returns (uint256) \r\nsomeModifier(_id)\r\n{ ... }\r\n```\r\nThe same function with return value removed passes linting\r\n```\r\nfunction myFunction(uint _id) public \r\nsomeModifier(_id) \r\n{ ... }\r\n```\r\n\r\nError is\r\n```\r\n[FATAL ERROR] An error occurred while linting over /Users/Elena/contracts/MyContract.sol: An error occured while parsing the source code: Expected \";\", \"{\", comment, end of line, or whitespace but \"s\" found. Line: 154, Column: 3\r\n```"}}
{"actor":{"display_login":"elenadimitrova"}}