{"action":"created","issue":{"url":"https://api.github.com/repos/cflint/CFLint/issues/550","repository_url":"https://api.github.com/repos/cflint/CFLint","labels_url":"https://api.github.com/repos/cflint/CFLint/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/cflint/CFLint/issues/550/comments","events_url":"https://api.github.com/repos/cflint/CFLint/issues/550/events","html_url":"https://github.com/cflint/CFLint/issues/550","id":305378583,"number":550,"title":" UNUSED_METHOD_ARGUMENT is triggered with a function argument","user":{"login":"JuanTorr","id":11037563,"avatar_url":"https://avatars1.githubusercontent.com/u/11037563?v=4","gravatar_id":"","url":"https://api.github.com/users/JuanTorr","html_url":"https://github.com/JuanTorr","followers_url":"https://api.github.com/users/JuanTorr/followers","following_url":"https://api.github.com/users/JuanTorr/following{/other_user}","gists_url":"https://api.github.com/users/JuanTorr/gists{/gist_id}","starred_url":"https://api.github.com/users/JuanTorr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuanTorr/subscriptions","organizations_url":"https://api.github.com/users/JuanTorr/orgs","repos_url":"https://api.github.com/users/JuanTorr/repos","events_url":"https://api.github.com/users/JuanTorr/events{/privacy}","received_events_url":"https://api.github.com/users/JuanTorr/received_events","type":"User","site_admin":false},"labels":[{"id":67137832,"url":"https://api.github.com/repos/cflint/CFLint/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-15T00:51:38Z","updated_at":"2018-03-29T02:35:30Z","closed_at":null,"author_association":"NONE","body":"For example:\r\n\r\n```\r\npublic string function myFunction(function doSomething){\r\n    return doSomething();\r\n}\r\n```\r\n`UNUSED_METHOD_ARGUMENT: Argument dosomething is not used in function. Consider removing it.`"},"comment":{"url":"https://api.github.com/repos/cflint/CFLint/issues/comments/377101560","html_url":"https://github.com/cflint/CFLint/issues/550#issuecomment-377101560","issue_url":"https://api.github.com/repos/cflint/CFLint/issues/550","id":377101560,"user":{"login":"KamasamaK","id":22951521,"avatar_url":"https://avatars1.githubusercontent.com/u/22951521?v=4","gravatar_id":"","url":"https://api.github.com/users/KamasamaK","html_url":"https://github.com/KamasamaK","followers_url":"https://api.github.com/users/KamasamaK/followers","following_url":"https://api.github.com/users/KamasamaK/following{/other_user}","gists_url":"https://api.github.com/users/KamasamaK/gists{/gist_id}","starred_url":"https://api.github.com/users/KamasamaK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KamasamaK/subscriptions","organizations_url":"https://api.github.com/users/KamasamaK/orgs","repos_url":"https://api.github.com/users/KamasamaK/repos","events_url":"https://api.github.com/users/KamasamaK/events{/privacy}","received_events_url":"https://api.github.com/users/KamasamaK/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T02:35:30Z","updated_at":"2018-03-29T02:35:30Z","author_association":"COLLABORATOR","body":"I have confirmed that the example given above incorrectly reports the UNUSED_METHOD_ARGUMENT issue.\r\n\r\nHowever, I have found that it does not report that issue when including the scope as below:\r\n```\r\npublic string function myFunction(function doSomething){\r\n    return arguments.doSomething();\r\n}\r\n```"}}
{"actor":{"display_login":"KamasamaK"}}