{"action":"created","issue":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2002","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2002/labels{/name}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2002/comments","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2002/events","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2002","id":117161060,"number":2002,"title":"Inspection for \"continue is not in a loop\"","user":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/labels/inspections","name":"inspections","color":"006b75"},{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/labels/up%20for%20grabs","name":"up for grabs","color":"eb9420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones/16","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/milestones/1.0%20maybe?","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones/16/labels","id":976865,"number":16,"title":"1.0 maybe?","description":"This is a milestone to help decide which issues should be done in 1.0 initial release and which should go in the next versions.","creator":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":5,"state":"open","created_at":"2015-02-12T14:28:40Z","updated_at":"2015-11-16T16:19:16Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-11-16T16:19:16Z","updated_at":"2015-11-16T17:23:31Z","closed_at":null,"body":"```go\r\nfunc demo(a bool) {\r\n\tif a {\r\n\t\tcontinue // should be an error: continue is not in a loop\r\n\t} \r\n}\r\n```\r\n\r\nThe quick fix should offer to convert this to a return statement."},"comment":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/comments/157107196","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2002#issuecomment-157107196","issue_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2002","id":157107196,"user":{"login":"sjamesr","id":4641539,"avatar_url":"https://avatars.githubusercontent.com/u/4641539?v=3","gravatar_id":"","url":"https://api.github.com/users/sjamesr","html_url":"https://github.com/sjamesr","followers_url":"https://api.github.com/users/sjamesr/followers","following_url":"https://api.github.com/users/sjamesr/following{/other_user}","gists_url":"https://api.github.com/users/sjamesr/gists{/gist_id}","starred_url":"https://api.github.com/users/sjamesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjamesr/subscriptions","organizations_url":"https://api.github.com/users/sjamesr/orgs","repos_url":"https://api.github.com/users/sjamesr/repos","events_url":"https://api.github.com/users/sjamesr/events{/privacy}","received_events_url":"https://api.github.com/users/sjamesr/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T17:23:31Z","updated_at":"2015-11-16T17:23:31Z","body":"Should we offer the quick fix only if the continue inside a function returning void?"}}