{"action":"created","comment":{"url":"https://api.github.com/repos/Shopify/decaf/pulls/comments/65535379","id":65535379,"diff_hunk":"@@ -1735,23 +1804,23 @@ describe('comprehensions', () => {\n `for food in ['toast', 'cheese', 'wine']\n   eat food`;\n     const expected =\n-`for (let food of [\"toast\", \"cheese\", \"wine\"]) {\n+`for (var food of [\"toast\", \"cheese\", \"wine\"]) {","path":"test/test.js","position":281,"original_position":281,"commit_id":"51e3bbd5f965b44097671ebef44521602fff3b17","original_commit_id":"51e3bbd5f965b44097671ebef44521602fff3b17","user":{"login":"GoodForOneFare","id":673655,"avatar_url":"https://avatars.githubusercontent.com/u/673655?v=3","gravatar_id":"","url":"https://api.github.com/users/GoodForOneFare","html_url":"https://github.com/GoodForOneFare","followers_url":"https://api.github.com/users/GoodForOneFare/followers","following_url":"https://api.github.com/users/GoodForOneFare/following{/other_user}","gists_url":"https://api.github.com/users/GoodForOneFare/gists{/gist_id}","starred_url":"https://api.github.com/users/GoodForOneFare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoodForOneFare/subscriptions","organizations_url":"https://api.github.com/users/GoodForOneFare/orgs","repos_url":"https://api.github.com/users/GoodForOneFare/repos","events_url":"https://api.github.com/users/GoodForOneFare/events{/privacy}","received_events_url":"https://api.github.com/users/GoodForOneFare/received_events","type":"User","site_admin":false},"body":"All of these loops now use `var` instead of `let`.  Don't know what changed in mainline to cause this.","created_at":"2016-06-02T13:08:44Z","updated_at":"2016-06-02T13:08:44Z","html_url":"https://github.com/Shopify/decaf/pull/9#discussion_r65535379","pull_request_url":"https://api.github.com/repos/Shopify/decaf/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/Shopify/decaf/pulls/comments/65535379"},"html":{"href":"https://github.com/Shopify/decaf/pull/9#discussion_r65535379"},"pull_request":{"href":"https://api.github.com/repos/Shopify/decaf/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/Shopify/decaf/pulls/9","id":71738250,"html_url":"https://github.com/Shopify/decaf/pull/9","diff_url":"https://github.com/Shopify/decaf/pull/9.diff","patch_url":"https://github.com/Shopify/decaf/pull/9.patch","issue_url":"https://api.github.com/repos/Shopify/decaf/issues/9","number":9,"state":"open","locked":false,"title":"Merge in mainline decaf fixes","user":{"login":"GoodForOneFare","id":673655,"avatar_url":"https://avatars.githubusercontent.com/u/673655?v=3","gravatar_id":"","url":"https://api.github.com/users/GoodForOneFare","html_url":"https://github.com/GoodForOneFare","followers_url":"https://api.github.com/users/GoodForOneFare/followers","following_url":"https://api.github.com/users/GoodForOneFare/following{/other_user}","gists_url":"https://api.github.com/users/GoodForOneFare/gists{/gist_id}","starred_url":"https://api.github.com/users/GoodForOneFare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoodForOneFare/subscriptions","organizations_url":"https://api.github.com/users/GoodForOneFare/orgs","repos_url":"https://api.github.com/users/GoodForOneFare/repos","events_url":"https://api.github.com/users/GoodForOneFare/events{/privacy}","received_events_url":"https://api.github.com/users/GoodForOneFare/received_events","type":"User","site_admin":false},"body":"Merges in recent fixes from `juliankrispel/decaf`.  This should get us closer to submitting stuff back to mainline, and not maintaining our own fork.\r\n\r\nAlso includes 3 tweaks:\r\n- For inline assignments, generate ternary assignments (mainline now prefers IIFEs)\r\n- Tweak to `shopify/decaf` logic to prevent duplicate local var declarations\r\n- Tweak to `shopify/decaf` logic to declare bulk-destructuring-assignment vars at the \"top\" of scope\r\n\r\n/cc @lemonmade, @fandy","created_at":"2016-05-27T16:18:08Z","updated_at":"2016-06-02T13:08:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11c87d5d5925e1e2d8723840638861ddbcaa93c6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/decaf/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Shopify/decaf/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Shopify/decaf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shopify/decaf/issues/9/comments","statuses_url":"https://api.github.com/repos/Shopify/decaf/statuses/51e3bbd5f965b44097671ebef44521602fff3b17","head":{"label":"Shopify:mainline_merge_v3","ref":"mainline_merge_v3","sha":"51e3bbd5f965b44097671ebef44521602fff3b17","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":54986707,"name":"decaf","full_name":"Shopify/decaf","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/decaf","description":"Coffeescript to ES.next transpiler","fork":true,"url":"https://api.github.com/repos/Shopify/decaf","forks_url":"https://api.github.com/repos/Shopify/decaf/forks","keys_url":"https://api.github.com/repos/Shopify/decaf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/decaf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/decaf/teams","hooks_url":"https://api.github.com/repos/Shopify/decaf/hooks","issue_events_url":"https://api.github.com/repos/Shopify/decaf/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/decaf/events","assignees_url":"https://api.github.com/repos/Shopify/decaf/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/decaf/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/decaf/tags","blobs_url":"https://api.github.com/repos/Shopify/decaf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/decaf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/decaf/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/decaf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/decaf/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/decaf/languages","stargazers_url":"https://api.github.com/repos/Shopify/decaf/stargazers","contributors_url":"https://api.github.com/repos/Shopify/decaf/contributors","subscribers_url":"https://api.github.com/repos/Shopify/decaf/subscribers","subscription_url":"https://api.github.com/repos/Shopify/decaf/subscription","commits_url":"https://api.github.com/repos/Shopify/decaf/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/decaf/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/decaf/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/decaf/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/decaf/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/decaf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/decaf/merges","archive_url":"https://api.github.com/repos/Shopify/decaf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/decaf/downloads","issues_url":"https://api.github.com/repos/Shopify/decaf/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/decaf/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/decaf/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/decaf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/decaf/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/decaf/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/decaf/deployments","created_at":"2016-03-29T15:19:20Z","updated_at":"2016-05-09T16:05:02Z","pushed_at":"2016-06-02T02:24:50Z","git_url":"git://github.com/Shopify/decaf.git","ssh_url":"git@github.com:Shopify/decaf.git","clone_url":"https://github.com/Shopify/decaf.git","svn_url":"https://github.com/Shopify/decaf","homepage":"http://www.goodafternoon.co/decaf/","size":1397,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"ccd8f0b2182aa3816344eb65e6f52e902b954838","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":54986707,"name":"decaf","full_name":"Shopify/decaf","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/decaf","description":"Coffeescript to ES.next transpiler","fork":true,"url":"https://api.github.com/repos/Shopify/decaf","forks_url":"https://api.github.com/repos/Shopify/decaf/forks","keys_url":"https://api.github.com/repos/Shopify/decaf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/decaf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/decaf/teams","hooks_url":"https://api.github.com/repos/Shopify/decaf/hooks","issue_events_url":"https://api.github.com/repos/Shopify/decaf/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/decaf/events","assignees_url":"https://api.github.com/repos/Shopify/decaf/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/decaf/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/decaf/tags","blobs_url":"https://api.github.com/repos/Shopify/decaf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/decaf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/decaf/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/decaf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/decaf/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/decaf/languages","stargazers_url":"https://api.github.com/repos/Shopify/decaf/stargazers","contributors_url":"https://api.github.com/repos/Shopify/decaf/contributors","subscribers_url":"https://api.github.com/repos/Shopify/decaf/subscribers","subscription_url":"https://api.github.com/repos/Shopify/decaf/subscription","commits_url":"https://api.github.com/repos/Shopify/decaf/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/decaf/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/decaf/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/decaf/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/decaf/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/decaf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/decaf/merges","archive_url":"https://api.github.com/repos/Shopify/decaf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/decaf/downloads","issues_url":"https://api.github.com/repos/Shopify/decaf/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/decaf/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/decaf/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/decaf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/decaf/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/decaf/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/decaf/deployments","created_at":"2016-03-29T15:19:20Z","updated_at":"2016-05-09T16:05:02Z","pushed_at":"2016-06-02T02:24:50Z","git_url":"git://github.com/Shopify/decaf.git","ssh_url":"git@github.com:Shopify/decaf.git","clone_url":"https://github.com/Shopify/decaf.git","svn_url":"https://github.com/Shopify/decaf","homepage":"http://www.goodafternoon.co/decaf/","size":1397,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/decaf/pulls/9"},"html":{"href":"https://github.com/Shopify/decaf/pull/9"},"issue":{"href":"https://api.github.com/repos/Shopify/decaf/issues/9"},"comments":{"href":"https://api.github.com/repos/Shopify/decaf/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/decaf/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/decaf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shopify/decaf/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/decaf/statuses/51e3bbd5f965b44097671ebef44521602fff3b17"}}}}
{"actor":{"display_login":"GoodForOneFare"}}