{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2307","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2307/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2307/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2307/events","html_url":"https://github.com/fish-shell/fish-shell/issues/2307","id":101189233,"number":2307,"title":"Can't use continue in function","user":{"login":"onodera-punpun","id":5213535,"avatar_url":"https://avatars.githubusercontent.com/u/5213535?v=3","gravatar_id":"","url":"https://api.github.com/users/onodera-punpun","html_url":"https://github.com/onodera-punpun","followers_url":"https://api.github.com/users/onodera-punpun/followers","following_url":"https://api.github.com/users/onodera-punpun/following{/other_user}","gists_url":"https://api.github.com/users/onodera-punpun/gists{/gist_id}","starred_url":"https://api.github.com/users/onodera-punpun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onodera-punpun/subscriptions","organizations_url":"https://api.github.com/users/onodera-punpun/orgs","repos_url":"https://api.github.com/users/onodera-punpun/repos","events_url":"https://api.github.com/users/onodera-punpun/events{/privacy}","received_events_url":"https://api.github.com/users/onodera-punpun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-15T16:48:19Z","updated_at":"2015-08-15T18:03:26Z","closed_at":null,"body":"Function in question:\r\n\r\n    # This function is used to skip admin command\r\n    function admin\r\n    \tif test -z (grep \\^$nick\\$ $configdir/admin)\r\n    \t\techoii \"Check your privilege~\"\r\n      \r\n    \t\tcontinue\r\n    \tend\r\n    end\r\n\r\nThis function gets called in in a loop but fish returns `'continue' while not inside of loop`\r\n"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/131412156","html_url":"https://github.com/fish-shell/fish-shell/issues/2307#issuecomment-131412156","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2307","id":131412156,"user":{"login":"ridiculousfish","id":920838,"avatar_url":"https://avatars.githubusercontent.com/u/920838?v=3","gravatar_id":"","url":"https://api.github.com/users/ridiculousfish","html_url":"https://github.com/ridiculousfish","followers_url":"https://api.github.com/users/ridiculousfish/followers","following_url":"https://api.github.com/users/ridiculousfish/following{/other_user}","gists_url":"https://api.github.com/users/ridiculousfish/gists{/gist_id}","starred_url":"https://api.github.com/users/ridiculousfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridiculousfish/subscriptions","organizations_url":"https://api.github.com/users/ridiculousfish/orgs","repos_url":"https://api.github.com/users/ridiculousfish/repos","events_url":"https://api.github.com/users/ridiculousfish/events{/privacy}","received_events_url":"https://api.github.com/users/ridiculousfish/received_events","type":"User","site_admin":false},"created_at":"2015-08-15T18:03:26Z","updated_at":"2015-08-15T18:03:26Z","body":"What do you hope to happen here? Is it that it will exit from the function and resume in the caller's loop?"}}