{"action":"created","comment":{"url":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/comments/66425846","id":66425846,"diff_hunk":"@@ -444,3 +476,66 @@ generators_yield_assign: {\n     }\n     expect_exact: \"function*fn(){var x={};x.prop=yield 5}\"\n }\n+\n+generator_yield_undefined: {\n+    input: {\n+        function* fn() {\n+            yield;\n+        }","path":"test/compress/harmony.js","position":55,"original_position":55,"commit_id":"10e7fd5c00d5bc413df7ee680f3ae6b965fdf03a","original_commit_id":"10e7fd5c00d5bc413df7ee680f3ae6b965fdf03a","user":{"login":"avdg","id":212248,"avatar_url":"https://avatars.githubusercontent.com/u/212248?v=3","gravatar_id":"","url":"https://api.github.com/users/avdg","html_url":"https://github.com/avdg","followers_url":"https://api.github.com/users/avdg/followers","following_url":"https://api.github.com/users/avdg/following{/other_user}","gists_url":"https://api.github.com/users/avdg/gists{/gist_id}","starred_url":"https://api.github.com/users/avdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avdg/subscriptions","organizations_url":"https://api.github.com/users/avdg/orgs","repos_url":"https://api.github.com/users/avdg/repos","events_url":"https://api.github.com/users/avdg/events{/privacy}","received_events_url":"https://api.github.com/users/avdg/received_events","type":"User","site_admin":false},"body":"Undefined gets rewritten as `void 0`. Need to dive in the code generator and see if this statement could even be removed by default.","created_at":"2016-06-09T11:45:26Z","updated_at":"2016-06-09T11:45:26Z","html_url":"https://github.com/mishoo/UglifyJS2/pull/1104#discussion_r66425846","pull_request_url":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/1104","_links":{"self":{"href":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/comments/66425846"},"html":{"href":"https://github.com/mishoo/UglifyJS2/pull/1104#discussion_r66425846"},"pull_request":{"href":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/1104"}}},"pull_request":{"url":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/1104","id":72196206,"html_url":"https://github.com/mishoo/UglifyJS2/pull/1104","diff_url":"https://github.com/mishoo/UglifyJS2/pull/1104.diff","patch_url":"https://github.com/mishoo/UglifyJS2/pull/1104.patch","issue_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/1104","number":1104,"state":"open","locked":false,"title":"[ES6] Fix generators","user":{"login":"avdg","id":212248,"avatar_url":"https://avatars.githubusercontent.com/u/212248?v=3","gravatar_id":"","url":"https://api.github.com/users/avdg","html_url":"https://github.com/avdg","followers_url":"https://api.github.com/users/avdg/followers","following_url":"https://api.github.com/users/avdg/following{/other_user}","gists_url":"https://api.github.com/users/avdg/gists{/gist_id}","starred_url":"https://api.github.com/users/avdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avdg/subscriptions","organizations_url":"https://api.github.com/users/avdg/orgs","repos_url":"https://api.github.com/users/avdg/repos","events_url":"https://api.github.com/users/avdg/events{/privacy}","received_events_url":"https://api.github.com/users/avdg/received_events","type":"User","site_admin":false},"body":"Various fixes and improvements for generators and yield keyword handling.\r\n\r\nFixes #1097","created_at":"2016-06-01T14:58:24Z","updated_at":"2016-06-09T11:45:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cdd3d1988fc3bbd3f4a09dbadaf5e2bf986f6062","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/1104/commits","review_comments_url":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/1104/comments","review_comment_url":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/1104/comments","statuses_url":"https://api.github.com/repos/mishoo/UglifyJS2/statuses/10e7fd5c00d5bc413df7ee680f3ae6b965fdf03a","head":{"label":"avdg:fix-generators","ref":"fix-generators","sha":"10e7fd5c00d5bc413df7ee680f3ae6b965fdf03a","user":{"login":"avdg","id":212248,"avatar_url":"https://avatars.githubusercontent.com/u/212248?v=3","gravatar_id":"","url":"https://api.github.com/users/avdg","html_url":"https://github.com/avdg","followers_url":"https://api.github.com/users/avdg/followers","following_url":"https://api.github.com/users/avdg/following{/other_user}","gists_url":"https://api.github.com/users/avdg/gists{/gist_id}","starred_url":"https://api.github.com/users/avdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avdg/subscriptions","organizations_url":"https://api.github.com/users/avdg/orgs","repos_url":"https://api.github.com/users/avdg/repos","events_url":"https://api.github.com/users/avdg/events{/privacy}","received_events_url":"https://api.github.com/users/avdg/received_events","type":"User","site_admin":false},"repo":{"id":14694091,"name":"UglifyJS2","full_name":"avdg/UglifyJS2","owner":{"login":"avdg","id":212248,"avatar_url":"https://avatars.githubusercontent.com/u/212248?v=3","gravatar_id":"","url":"https://api.github.com/users/avdg","html_url":"https://github.com/avdg","followers_url":"https://api.github.com/users/avdg/followers","following_url":"https://api.github.com/users/avdg/following{/other_user}","gists_url":"https://api.github.com/users/avdg/gists{/gist_id}","starred_url":"https://api.github.com/users/avdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avdg/subscriptions","organizations_url":"https://api.github.com/users/avdg/orgs","repos_url":"https://api.github.com/users/avdg/repos","events_url":"https://api.github.com/users/avdg/events{/privacy}","received_events_url":"https://api.github.com/users/avdg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/avdg/UglifyJS2","description":" JavaScript parser / mangler / compressor / beautifier toolkit","fork":true,"url":"https://api.github.com/repos/avdg/UglifyJS2","forks_url":"https://api.github.com/repos/avdg/UglifyJS2/forks","keys_url":"https://api.github.com/repos/avdg/UglifyJS2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avdg/UglifyJS2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avdg/UglifyJS2/teams","hooks_url":"https://api.github.com/repos/avdg/UglifyJS2/hooks","issue_events_url":"https://api.github.com/repos/avdg/UglifyJS2/issues/events{/number}","events_url":"https://api.github.com/repos/avdg/UglifyJS2/events","assignees_url":"https://api.github.com/repos/avdg/UglifyJS2/assignees{/user}","branches_url":"https://api.github.com/repos/avdg/UglifyJS2/branches{/branch}","tags_url":"https://api.github.com/repos/avdg/UglifyJS2/tags","blobs_url":"https://api.github.com/repos/avdg/UglifyJS2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avdg/UglifyJS2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avdg/UglifyJS2/git/refs{/sha}","trees_url":"https://api.github.com/repos/avdg/UglifyJS2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avdg/UglifyJS2/statuses/{sha}","languages_url":"https://api.github.com/repos/avdg/UglifyJS2/languages","stargazers_url":"https://api.github.com/repos/avdg/UglifyJS2/stargazers","contributors_url":"https://api.github.com/repos/avdg/UglifyJS2/contributors","subscribers_url":"https://api.github.com/repos/avdg/UglifyJS2/subscribers","subscription_url":"https://api.github.com/repos/avdg/UglifyJS2/subscription","commits_url":"https://api.github.com/repos/avdg/UglifyJS2/commits{/sha}","git_commits_url":"https://api.github.com/repos/avdg/UglifyJS2/git/commits{/sha}","comments_url":"https://api.github.com/repos/avdg/UglifyJS2/comments{/number}","issue_comment_url":"https://api.github.com/repos/avdg/UglifyJS2/issues/comments{/number}","contents_url":"https://api.github.com/repos/avdg/UglifyJS2/contents/{+path}","compare_url":"https://api.github.com/repos/avdg/UglifyJS2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avdg/UglifyJS2/merges","archive_url":"https://api.github.com/repos/avdg/UglifyJS2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avdg/UglifyJS2/downloads","issues_url":"https://api.github.com/repos/avdg/UglifyJS2/issues{/number}","pulls_url":"https://api.github.com/repos/avdg/UglifyJS2/pulls{/number}","milestones_url":"https://api.github.com/repos/avdg/UglifyJS2/milestones{/number}","notifications_url":"https://api.github.com/repos/avdg/UglifyJS2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avdg/UglifyJS2/labels{/name}","releases_url":"https://api.github.com/repos/avdg/UglifyJS2/releases{/id}","deployments_url":"https://api.github.com/repos/avdg/UglifyJS2/deployments","created_at":"2013-11-25T18:19:03Z","updated_at":"2015-02-11T22:58:46Z","pushed_at":"2016-06-09T11:12:56Z","git_url":"git://github.com/avdg/UglifyJS2.git","ssh_url":"git@github.com:avdg/UglifyJS2.git","clone_url":"https://github.com/avdg/UglifyJS2.git","svn_url":"https://github.com/avdg/UglifyJS2","homepage":"http://lisperator.net/uglifyjs/","size":1930,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mishoo:harmony","ref":"harmony","sha":"8ad8d7b7177454fb9d430d4da31b01825ca4eff8","user":{"login":"mishoo","id":334725,"avatar_url":"https://avatars.githubusercontent.com/u/334725?v=3","gravatar_id":"","url":"https://api.github.com/users/mishoo","html_url":"https://github.com/mishoo","followers_url":"https://api.github.com/users/mishoo/followers","following_url":"https://api.github.com/users/mishoo/following{/other_user}","gists_url":"https://api.github.com/users/mishoo/gists{/gist_id}","starred_url":"https://api.github.com/users/mishoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishoo/subscriptions","organizations_url":"https://api.github.com/users/mishoo/orgs","repos_url":"https://api.github.com/users/mishoo/repos","events_url":"https://api.github.com/users/mishoo/events{/privacy}","received_events_url":"https://api.github.com/users/mishoo/received_events","type":"User","site_admin":false},"repo":{"id":5569059,"name":"UglifyJS2","full_name":"mishoo/UglifyJS2","owner":{"login":"mishoo","id":334725,"avatar_url":"https://avatars.githubusercontent.com/u/334725?v=3","gravatar_id":"","url":"https://api.github.com/users/mishoo","html_url":"https://github.com/mishoo","followers_url":"https://api.github.com/users/mishoo/followers","following_url":"https://api.github.com/users/mishoo/following{/other_user}","gists_url":"https://api.github.com/users/mishoo/gists{/gist_id}","starred_url":"https://api.github.com/users/mishoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishoo/subscriptions","organizations_url":"https://api.github.com/users/mishoo/orgs","repos_url":"https://api.github.com/users/mishoo/repos","events_url":"https://api.github.com/users/mishoo/events{/privacy}","received_events_url":"https://api.github.com/users/mishoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mishoo/UglifyJS2","description":" JavaScript parser / mangler / compressor / beautifier toolkit","fork":false,"url":"https://api.github.com/repos/mishoo/UglifyJS2","forks_url":"https://api.github.com/repos/mishoo/UglifyJS2/forks","keys_url":"https://api.github.com/repos/mishoo/UglifyJS2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mishoo/UglifyJS2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mishoo/UglifyJS2/teams","hooks_url":"https://api.github.com/repos/mishoo/UglifyJS2/hooks","issue_events_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/events{/number}","events_url":"https://api.github.com/repos/mishoo/UglifyJS2/events","assignees_url":"https://api.github.com/repos/mishoo/UglifyJS2/assignees{/user}","branches_url":"https://api.github.com/repos/mishoo/UglifyJS2/branches{/branch}","tags_url":"https://api.github.com/repos/mishoo/UglifyJS2/tags","blobs_url":"https://api.github.com/repos/mishoo/UglifyJS2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mishoo/UglifyJS2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mishoo/UglifyJS2/git/refs{/sha}","trees_url":"https://api.github.com/repos/mishoo/UglifyJS2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mishoo/UglifyJS2/statuses/{sha}","languages_url":"https://api.github.com/repos/mishoo/UglifyJS2/languages","stargazers_url":"https://api.github.com/repos/mishoo/UglifyJS2/stargazers","contributors_url":"https://api.github.com/repos/mishoo/UglifyJS2/contributors","subscribers_url":"https://api.github.com/repos/mishoo/UglifyJS2/subscribers","subscription_url":"https://api.github.com/repos/mishoo/UglifyJS2/subscription","commits_url":"https://api.github.com/repos/mishoo/UglifyJS2/commits{/sha}","git_commits_url":"https://api.github.com/repos/mishoo/UglifyJS2/git/commits{/sha}","comments_url":"https://api.github.com/repos/mishoo/UglifyJS2/comments{/number}","issue_comment_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/comments{/number}","contents_url":"https://api.github.com/repos/mishoo/UglifyJS2/contents/{+path}","compare_url":"https://api.github.com/repos/mishoo/UglifyJS2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mishoo/UglifyJS2/merges","archive_url":"https://api.github.com/repos/mishoo/UglifyJS2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mishoo/UglifyJS2/downloads","issues_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues{/number}","pulls_url":"https://api.github.com/repos/mishoo/UglifyJS2/pulls{/number}","milestones_url":"https://api.github.com/repos/mishoo/UglifyJS2/milestones{/number}","notifications_url":"https://api.github.com/repos/mishoo/UglifyJS2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mishoo/UglifyJS2/labels{/name}","releases_url":"https://api.github.com/repos/mishoo/UglifyJS2/releases{/id}","deployments_url":"https://api.github.com/repos/mishoo/UglifyJS2/deployments","created_at":"2012-08-27T09:31:03Z","updated_at":"2016-06-08T19:30:05Z","pushed_at":"2016-06-09T11:12:56Z","git_url":"git://github.com/mishoo/UglifyJS2.git","ssh_url":"git@github.com:mishoo/UglifyJS2.git","clone_url":"https://github.com/mishoo/UglifyJS2.git","svn_url":"https://github.com/mishoo/UglifyJS2","homepage":"http://lisperator.net/uglifyjs/","size":3404,"stargazers_count":4892,"watchers_count":4892,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":541,"mirror_url":null,"open_issues_count":271,"forks":541,"open_issues":271,"watchers":4892,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/1104"},"html":{"href":"https://github.com/mishoo/UglifyJS2/pull/1104"},"issue":{"href":"https://api.github.com/repos/mishoo/UglifyJS2/issues/1104"},"comments":{"href":"https://api.github.com/repos/mishoo/UglifyJS2/issues/1104/comments"},"review_comments":{"href":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/1104/comments"},"review_comment":{"href":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mishoo/UglifyJS2/pulls/1104/commits"},"statuses":{"href":"https://api.github.com/repos/mishoo/UglifyJS2/statuses/10e7fd5c00d5bc413df7ee680f3ae6b965fdf03a"}}}}
{"actor":{"display_login":"avdg"}}