{"action":"opened","number":4799,"pull_request":{"url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4799","id":154894531,"html_url":"https://github.com/jashkenas/coffeescript/pull/4799","diff_url":"https://github.com/jashkenas/coffeescript/pull/4799.diff","patch_url":"https://github.com/jashkenas/coffeescript/pull/4799.patch","issue_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4799","number":4799,"state":"open","locked":false,"title":"Fix #4798: Incorrect output for object rest destructuring inside array destructuring ","user":{"login":"zdenko","id":1264173,"avatar_url":"https://avatars2.githubusercontent.com/u/1264173?v=4","gravatar_id":"","url":"https://api.github.com/users/zdenko","html_url":"https://github.com/zdenko","followers_url":"https://api.github.com/users/zdenko/followers","following_url":"https://api.github.com/users/zdenko/following{/other_user}","gists_url":"https://api.github.com/users/zdenko/gists{/gist_id}","starred_url":"https://api.github.com/users/zdenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdenko/subscriptions","organizations_url":"https://api.github.com/users/zdenko/orgs","repos_url":"https://api.github.com/users/zdenko/repos","events_url":"https://api.github.com/users/zdenko/events{/privacy}","received_events_url":"https://api.github.com/users/zdenko/received_events","type":"User","site_admin":false},"body":"Fixes #4798\r\n```javascript\r\n// [{a, rest...}] = arr\r\n({a} = ref = arr[0]);\r\nrest = objectWithoutKeys(ref, ['a']);\r\n\r\n// [b,{a, rest...},c] = arr\r\nb = arr[0], (({a} = ref = arr[1]), rest = objectWithoutKeys(ref, ['a'])), c = arr[2];\r\n```\r\n","created_at":"2017-11-27T19:22:59Z","updated_at":"2017-11-27T19:22:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4799/commits","review_comments_url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4799/comments","review_comment_url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4799/comments","statuses_url":"https://api.github.com/repos/jashkenas/coffeescript/statuses/06304200541549565c592d71a7126cea765a9a5c","head":{"label":"zdenko:issue_4798","ref":"issue_4798","sha":"06304200541549565c592d71a7126cea765a9a5c","user":{"login":"zdenko","id":1264173,"avatar_url":"https://avatars2.githubusercontent.com/u/1264173?v=4","gravatar_id":"","url":"https://api.github.com/users/zdenko","html_url":"https://github.com/zdenko","followers_url":"https://api.github.com/users/zdenko/followers","following_url":"https://api.github.com/users/zdenko/following{/other_user}","gists_url":"https://api.github.com/users/zdenko/gists{/gist_id}","starred_url":"https://api.github.com/users/zdenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdenko/subscriptions","organizations_url":"https://api.github.com/users/zdenko/orgs","repos_url":"https://api.github.com/users/zdenko/repos","events_url":"https://api.github.com/users/zdenko/events{/privacy}","received_events_url":"https://api.github.com/users/zdenko/received_events","type":"User","site_admin":false},"repo":{"id":85580633,"name":"coffeescript","full_name":"zdenko/coffeescript","owner":{"login":"zdenko","id":1264173,"avatar_url":"https://avatars2.githubusercontent.com/u/1264173?v=4","gravatar_id":"","url":"https://api.github.com/users/zdenko","html_url":"https://github.com/zdenko","followers_url":"https://api.github.com/users/zdenko/followers","following_url":"https://api.github.com/users/zdenko/following{/other_user}","gists_url":"https://api.github.com/users/zdenko/gists{/gist_id}","starred_url":"https://api.github.com/users/zdenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdenko/subscriptions","organizations_url":"https://api.github.com/users/zdenko/orgs","repos_url":"https://api.github.com/users/zdenko/repos","events_url":"https://api.github.com/users/zdenko/events{/privacy}","received_events_url":"https://api.github.com/users/zdenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zdenko/coffeescript","description":"Unfancy JavaScript","fork":true,"url":"https://api.github.com/repos/zdenko/coffeescript","forks_url":"https://api.github.com/repos/zdenko/coffeescript/forks","keys_url":"https://api.github.com/repos/zdenko/coffeescript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zdenko/coffeescript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zdenko/coffeescript/teams","hooks_url":"https://api.github.com/repos/zdenko/coffeescript/hooks","issue_events_url":"https://api.github.com/repos/zdenko/coffeescript/issues/events{/number}","events_url":"https://api.github.com/repos/zdenko/coffeescript/events","assignees_url":"https://api.github.com/repos/zdenko/coffeescript/assignees{/user}","branches_url":"https://api.github.com/repos/zdenko/coffeescript/branches{/branch}","tags_url":"https://api.github.com/repos/zdenko/coffeescript/tags","blobs_url":"https://api.github.com/repos/zdenko/coffeescript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zdenko/coffeescript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zdenko/coffeescript/git/refs{/sha}","trees_url":"https://api.github.com/repos/zdenko/coffeescript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zdenko/coffeescript/statuses/{sha}","languages_url":"https://api.github.com/repos/zdenko/coffeescript/languages","stargazers_url":"https://api.github.com/repos/zdenko/coffeescript/stargazers","contributors_url":"https://api.github.com/repos/zdenko/coffeescript/contributors","subscribers_url":"https://api.github.com/repos/zdenko/coffeescript/subscribers","subscription_url":"https://api.github.com/repos/zdenko/coffeescript/subscription","commits_url":"https://api.github.com/repos/zdenko/coffeescript/commits{/sha}","git_commits_url":"https://api.github.com/repos/zdenko/coffeescript/git/commits{/sha}","comments_url":"https://api.github.com/repos/zdenko/coffeescript/comments{/number}","issue_comment_url":"https://api.github.com/repos/zdenko/coffeescript/issues/comments{/number}","contents_url":"https://api.github.com/repos/zdenko/coffeescript/contents/{+path}","compare_url":"https://api.github.com/repos/zdenko/coffeescript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zdenko/coffeescript/merges","archive_url":"https://api.github.com/repos/zdenko/coffeescript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zdenko/coffeescript/downloads","issues_url":"https://api.github.com/repos/zdenko/coffeescript/issues{/number}","pulls_url":"https://api.github.com/repos/zdenko/coffeescript/pulls{/number}","milestones_url":"https://api.github.com/repos/zdenko/coffeescript/milestones{/number}","notifications_url":"https://api.github.com/repos/zdenko/coffeescript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zdenko/coffeescript/labels{/name}","releases_url":"https://api.github.com/repos/zdenko/coffeescript/releases{/id}","deployments_url":"https://api.github.com/repos/zdenko/coffeescript/deployments","created_at":"2017-03-20T13:35:02Z","updated_at":"2017-03-20T13:35:05Z","pushed_at":"2017-11-27T19:17:00Z","git_url":"git://github.com/zdenko/coffeescript.git","ssh_url":"git@github.com:zdenko/coffeescript.git","clone_url":"https://github.com/zdenko/coffeescript.git","svn_url":"https://github.com/zdenko/coffeescript","homepage":"http://coffeescript.org/","size":22377,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jashkenas:master","ref":"master","sha":"64b8dd486abe785217b8622acbf302768a968893","user":{"login":"jashkenas","id":4732,"avatar_url":"https://avatars3.githubusercontent.com/u/4732?v=4","gravatar_id":"","url":"https://api.github.com/users/jashkenas","html_url":"https://github.com/jashkenas","followers_url":"https://api.github.com/users/jashkenas/followers","following_url":"https://api.github.com/users/jashkenas/following{/other_user}","gists_url":"https://api.github.com/users/jashkenas/gists{/gist_id}","starred_url":"https://api.github.com/users/jashkenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jashkenas/subscriptions","organizations_url":"https://api.github.com/users/jashkenas/orgs","repos_url":"https://api.github.com/users/jashkenas/repos","events_url":"https://api.github.com/users/jashkenas/events{/privacy}","received_events_url":"https://api.github.com/users/jashkenas/received_events","type":"User","site_admin":false},"repo":{"id":441269,"name":"coffeescript","full_name":"jashkenas/coffeescript","owner":{"login":"jashkenas","id":4732,"avatar_url":"https://avatars3.githubusercontent.com/u/4732?v=4","gravatar_id":"","url":"https://api.github.com/users/jashkenas","html_url":"https://github.com/jashkenas","followers_url":"https://api.github.com/users/jashkenas/followers","following_url":"https://api.github.com/users/jashkenas/following{/other_user}","gists_url":"https://api.github.com/users/jashkenas/gists{/gist_id}","starred_url":"https://api.github.com/users/jashkenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jashkenas/subscriptions","organizations_url":"https://api.github.com/users/jashkenas/orgs","repos_url":"https://api.github.com/users/jashkenas/repos","events_url":"https://api.github.com/users/jashkenas/events{/privacy}","received_events_url":"https://api.github.com/users/jashkenas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jashkenas/coffeescript","description":"Unfancy JavaScript","fork":false,"url":"https://api.github.com/repos/jashkenas/coffeescript","forks_url":"https://api.github.com/repos/jashkenas/coffeescript/forks","keys_url":"https://api.github.com/repos/jashkenas/coffeescript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jashkenas/coffeescript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jashkenas/coffeescript/teams","hooks_url":"https://api.github.com/repos/jashkenas/coffeescript/hooks","issue_events_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/events{/number}","events_url":"https://api.github.com/repos/jashkenas/coffeescript/events","assignees_url":"https://api.github.com/repos/jashkenas/coffeescript/assignees{/user}","branches_url":"https://api.github.com/repos/jashkenas/coffeescript/branches{/branch}","tags_url":"https://api.github.com/repos/jashkenas/coffeescript/tags","blobs_url":"https://api.github.com/repos/jashkenas/coffeescript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jashkenas/coffeescript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jashkenas/coffeescript/git/refs{/sha}","trees_url":"https://api.github.com/repos/jashkenas/coffeescript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jashkenas/coffeescript/statuses/{sha}","languages_url":"https://api.github.com/repos/jashkenas/coffeescript/languages","stargazers_url":"https://api.github.com/repos/jashkenas/coffeescript/stargazers","contributors_url":"https://api.github.com/repos/jashkenas/coffeescript/contributors","subscribers_url":"https://api.github.com/repos/jashkenas/coffeescript/subscribers","subscription_url":"https://api.github.com/repos/jashkenas/coffeescript/subscription","commits_url":"https://api.github.com/repos/jashkenas/coffeescript/commits{/sha}","git_commits_url":"https://api.github.com/repos/jashkenas/coffeescript/git/commits{/sha}","comments_url":"https://api.github.com/repos/jashkenas/coffeescript/comments{/number}","issue_comment_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/comments{/number}","contents_url":"https://api.github.com/repos/jashkenas/coffeescript/contents/{+path}","compare_url":"https://api.github.com/repos/jashkenas/coffeescript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jashkenas/coffeescript/merges","archive_url":"https://api.github.com/repos/jashkenas/coffeescript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jashkenas/coffeescript/downloads","issues_url":"https://api.github.com/repos/jashkenas/coffeescript/issues{/number}","pulls_url":"https://api.github.com/repos/jashkenas/coffeescript/pulls{/number}","milestones_url":"https://api.github.com/repos/jashkenas/coffeescript/milestones{/number}","notifications_url":"https://api.github.com/repos/jashkenas/coffeescript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jashkenas/coffeescript/labels{/name}","releases_url":"https://api.github.com/repos/jashkenas/coffeescript/releases{/id}","deployments_url":"https://api.github.com/repos/jashkenas/coffeescript/deployments","created_at":"2009-12-18T01:39:53Z","updated_at":"2017-11-27T13:18:22Z","pushed_at":"2017-11-27T18:33:02Z","git_url":"git://github.com/jashkenas/coffeescript.git","ssh_url":"git@github.com:jashkenas/coffeescript.git","clone_url":"https://github.com/jashkenas/coffeescript.git","svn_url":"https://github.com/jashkenas/coffeescript","homepage":"http://coffeescript.org/","size":22250,"stargazers_count":14450,"watchers_count":14450,"language":"CoffeeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1938,"mirror_url":null,"archived":false,"open_issues_count":31,"forks":1938,"open_issues":31,"watchers":14450,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4799"},"html":{"href":"https://github.com/jashkenas/coffeescript/pull/4799"},"issue":{"href":"https://api.github.com/repos/jashkenas/coffeescript/issues/4799"},"comments":{"href":"https://api.github.com/repos/jashkenas/coffeescript/issues/4799/comments"},"review_comments":{"href":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4799/comments"},"review_comment":{"href":"https://api.github.com/repos/jashkenas/coffeescript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4799/commits"},"statuses":{"href":"https://api.github.com/repos/jashkenas/coffeescript/statuses/06304200541549565c592d71a7126cea765a9a5c"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":17,"deletions":8,"changed_files":3}}
{"actor":{"display_login":"zdenko"}}