{"action":"closed","issue":{"url":"https://api.github.com/repos/jmar777/suspend/issues/35","repository_url":"https://api.github.com/repos/jmar777/suspend","labels_url":"https://api.github.com/repos/jmar777/suspend/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/jmar777/suspend/issues/35/comments","events_url":"https://api.github.com/repos/jmar777/suspend/issues/35/events","html_url":"https://github.com/jmar777/suspend/issues/35","id":203460855,"number":35,"title":"Nested yields generate error","user":{"login":"noorkaximi","id":17784177,"avatar_url":"https://avatars.githubusercontent.com/u/17784177?v=3","gravatar_id":"","url":"https://api.github.com/users/noorkaximi","html_url":"https://github.com/noorkaximi","followers_url":"https://api.github.com/users/noorkaximi/followers","following_url":"https://api.github.com/users/noorkaximi/following{/other_user}","gists_url":"https://api.github.com/users/noorkaximi/gists{/gist_id}","starred_url":"https://api.github.com/users/noorkaximi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noorkaximi/subscriptions","organizations_url":"https://api.github.com/users/noorkaximi/orgs","repos_url":"https://api.github.com/users/noorkaximi/repos","events_url":"https://api.github.com/users/noorkaximi/events{/privacy}","received_events_url":"https://api.github.com/users/noorkaximi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-26T19:10:41Z","updated_at":"2017-01-26T20:25:05Z","closed_at":"2017-01-26T20:25:05Z","body":"i have three functions connected like this :\r\n```\r\nvar get1=suspend.callback(function*(){\r\n var get1Result=yield get2(suspend.resume());\r\nreturn get1Result;\r\n});\r\nvar get2=suspend.callback(function*(){\r\n var get2Result=yield get3(suspend.resume());\r\nreturn get2Result;\r\n});\r\nvar get3=suspend.callback(function*(){\r\n var get3Result=yield get4(suspend.resume());\r\nreturn get3Result;\r\n\r\n});\r\n```\r\nwhen i call get1 function it says yield is  unexpected identifier in get2 function  likewise when i call get2 it says  yield is  unexpected identifier in get3 function "}}
{"actor":{"display_login":"noorkaximi"}}