{"action":"created","issue":{"url":"https://api.github.com/repos/leafo/moonscript/issues/236","labels_url":"https://api.github.com/repos/leafo/moonscript/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/leafo/moonscript/issues/236/comments","events_url":"https://api.github.com/repos/leafo/moonscript/issues/236/events","html_url":"https://github.com/leafo/moonscript/issues/236","id":126123783,"number":236,"title":"Destructuring with single-line 'for' fails","user":{"login":"Kingdaro","id":1330353,"avatar_url":"https://avatars.githubusercontent.com/u/1330353?v=3","gravatar_id":"","url":"https://api.github.com/users/Kingdaro","html_url":"https://github.com/Kingdaro","followers_url":"https://api.github.com/users/Kingdaro/followers","following_url":"https://api.github.com/users/Kingdaro/following{/other_user}","gists_url":"https://api.github.com/users/Kingdaro/gists{/gist_id}","starred_url":"https://api.github.com/users/Kingdaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kingdaro/subscriptions","organizations_url":"https://api.github.com/users/Kingdaro/orgs","repos_url":"https://api.github.com/users/Kingdaro/repos","events_url":"https://api.github.com/users/Kingdaro/events{/privacy}","received_events_url":"https://api.github.com/users/Kingdaro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-12T08:21:00Z","updated_at":"2016-01-12T16:51:42Z","closed_at":null,"body":"This parses:\r\n```moon\r\nfor {:file, :args} in *options.runFiles\r\n  runFile file, args \r\n```\r\nBut this doesn't:\r\n```moon\r\nrunFile file, args for {:file, :args} in *options.runFiles\r\n```\r\n```\r\nFailed to parse:\r\n [107] >>    runFile file, args for {:file, :args} in *options.runFiles\r\n```"},"comment":{"url":"https://api.github.com/repos/leafo/moonscript/issues/comments/170972342","html_url":"https://github.com/leafo/moonscript/issues/236#issuecomment-170972342","issue_url":"https://api.github.com/repos/leafo/moonscript/issues/236","id":170972342,"user":{"login":"Kingdaro","id":1330353,"avatar_url":"https://avatars.githubusercontent.com/u/1330353?v=3","gravatar_id":"","url":"https://api.github.com/users/Kingdaro","html_url":"https://github.com/Kingdaro","followers_url":"https://api.github.com/users/Kingdaro/followers","following_url":"https://api.github.com/users/Kingdaro/following{/other_user}","gists_url":"https://api.github.com/users/Kingdaro/gists{/gist_id}","starred_url":"https://api.github.com/users/Kingdaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kingdaro/subscriptions","organizations_url":"https://api.github.com/users/Kingdaro/orgs","repos_url":"https://api.github.com/users/Kingdaro/repos","events_url":"https://api.github.com/users/Kingdaro/events{/privacy}","received_events_url":"https://api.github.com/users/Kingdaro/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T16:51:42Z","updated_at":"2016-01-12T16:51:42Z","body":"That didn't parse either. However, it _does_ parse without destructuring. with and without parentheses.\r\n```moon\r\nrunFile info.file, info.args for info in *options.runFiles\r\n```\r\n...which is ultimately what I ended up going with, for the sake of one-linededness."}}