{"action":"closed","issue":{"url":"https://api.github.com/repos/google/traceur-compiler/issues/1827","labels_url":"https://api.github.com/repos/google/traceur-compiler/issues/1827/labels{/name}","comments_url":"https://api.github.com/repos/google/traceur-compiler/issues/1827/comments","events_url":"https://api.github.com/repos/google/traceur-compiler/issues/1827/events","html_url":"https://github.com/google/traceur-compiler/issues/1827","id":62658941,"number":1827,"title":"Error compiling for-on loop with 'break' body","user":{"login":"vadzim","id":234171,"avatar_url":"https://avatars.githubusercontent.com/u/234171?v=3","gravatar_id":"","url":"https://api.github.com/users/vadzim","html_url":"https://github.com/vadzim","followers_url":"https://api.github.com/users/vadzim/followers","following_url":"https://api.github.com/users/vadzim/following{/other_user}","gists_url":"https://api.github.com/users/vadzim/gists{/gist_id}","starred_url":"https://api.github.com/users/vadzim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadzim/subscriptions","organizations_url":"https://api.github.com/users/vadzim/orgs","repos_url":"https://api.github.com/users/vadzim/repos","events_url":"https://api.github.com/users/vadzim/events{/privacy}","received_events_url":"https://api.github.com/users/vadzim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/traceur-compiler/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-18T10:56:41Z","updated_at":"2015-03-20T14:34:57Z","closed_at":"2015-03-20T14:34:57Z","body":"Traceur 0.0.87 crashes while compiling the code\r\n```Javascript\r\nasync function* x() {}\r\n\r\nasync function y() {\r\n\tfor ( let a on x() )\r\n\t\tbreak\r\n}\r\n\r\ny()\r\n```\r\nThe output is\r\n```\r\nTypeError: Value cannot be converted to an Object\r\n    at Object.checkObjectCoercible (/home/vadzim/v/work/nerojs/node_modules/traceur/bin/traceur.js:299:15)\r\n    at Object.spread (/home/vadzim/v/work/nerojs/node_modules/traceur/bin/traceur.js:1311:43)\r\n    at InnerForOnTransformer.transform (/home/vadzim/v/work/nerojs/node_modules/traceur/bin/traceur.js:19520:64)\r\n    at Function.transform (/home/vadzim/v/work/nerojs/node_modules/traceur/bin/traceur.js:19634:68)\r\n    at ForOnTransformer.transformForOnStatement_ (/home/vadzim/v/work/nerojs/node_modules/traceur/bin/traceur.js:19658:36)\r\n    at ForOnTransformer.transformForOnStatement (/home/vadzim/v/work/nerojs/node_modules/traceur/bin/traceur.js:19655:19)\r\n    at ForOnStatement.transform (/home/vadzim/v/work/nerojs/node_modules/traceur/bin/traceur.js:7374:26)\r\n    at ForOnTransformer.transformAny (/home/vadzim/v/work/nerojs/node_modules/traceur/bin/traceur.js:14104:27)\r\n    at ForOnTransformer.transformList (/home/vadzim/v/work/nerojs/node_modules/traceur/bin/traceur.js:14111:32)\r\n    at ForOnTransformer.transformStatements_ (/home/vadzim/v/work/nerojs/node_modules/traceur/bin/traceur.js:15331:40)\r\n```"}}