{"action":"created","comment":{"url":"https://api.github.com/repos/babel/babel/pulls/comments/29389553","id":29389553,"diff_hunk":"@@ -0,0 +1 @@\n+({foo})","path":"test/core/fixtures/transformation/validation.undeclared-variable-check/undeclared-shorthand-property/exec.js","position":1,"original_position":1,"commit_id":"f44c93add2e190a66640548cb1a093d47eb128a6","original_commit_id":"f44c93add2e190a66640548cb1a093d47eb128a6","user":{"login":"monsanto","id":247721,"avatar_url":"https://avatars.githubusercontent.com/u/247721?v=3","gravatar_id":"","url":"https://api.github.com/users/monsanto","html_url":"https://github.com/monsanto","followers_url":"https://api.github.com/users/monsanto/followers","following_url":"https://api.github.com/users/monsanto/following{/other_user}","gists_url":"https://api.github.com/users/monsanto/gists{/gist_id}","starred_url":"https://api.github.com/users/monsanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monsanto/subscriptions","organizations_url":"https://api.github.com/users/monsanto/orgs","repos_url":"https://api.github.com/users/monsanto/repos","events_url":"https://api.github.com/users/monsanto/events{/privacy}","received_events_url":"https://api.github.com/users/monsanto/received_events","type":"User","site_admin":false},"body":"Then how do you expect for `t.isReferenced` on `key` to return false, but `t.isReferenced` on `value` to return true, when `key` has the same object identity as `value`?","created_at":"2015-04-29T22:50:16Z","updated_at":"2015-04-29T22:50:16Z","html_url":"https://github.com/babel/babel/pull/1385#discussion_r29389553","pull_request_url":"https://api.github.com/repos/babel/babel/pulls/1385","_links":{"self":{"href":"https://api.github.com/repos/babel/babel/pulls/comments/29389553"},"html":{"href":"https://github.com/babel/babel/pull/1385#discussion_r29389553"},"pull_request":{"href":"https://api.github.com/repos/babel/babel/pulls/1385"}}},"pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/1385","id":34411282,"html_url":"https://github.com/babel/babel/pull/1385","diff_url":"https://github.com/babel/babel/pull/1385.diff","patch_url":"https://github.com/babel/babel/pull/1385.patch","issue_url":"https://api.github.com/repos/babel/babel/issues/1385","number":1385,"state":"open","locked":false,"title":"fix reference check for shorthand properties","user":{"login":"monsanto","id":247721,"avatar_url":"https://avatars.githubusercontent.com/u/247721?v=3","gravatar_id":"","url":"https://api.github.com/users/monsanto","html_url":"https://github.com/monsanto","followers_url":"https://api.github.com/users/monsanto/followers","following_url":"https://api.github.com/users/monsanto/following{/other_user}","gists_url":"https://api.github.com/users/monsanto/gists{/gist_id}","starred_url":"https://api.github.com/users/monsanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monsanto/subscriptions","organizations_url":"https://api.github.com/users/monsanto/orgs","repos_url":"https://api.github.com/users/monsanto/repos","events_url":"https://api.github.com/users/monsanto/events{/privacy}","received_events_url":"https://api.github.com/users/monsanto/received_events","type":"User","site_admin":false},"body":"`isReferenced` did not account for shorthand properties. This PR fixes that and adds a regression test.\r\n\r\nFixing this also found an error in our `spec.functionName` tests, which I have corrected. (If you call the function in the previous expected output, you get `TypeError: Assignment to constant variable`)","created_at":"2015-04-29T22:08:39Z","updated_at":"2015-04-29T22:50:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30eef3dc5d2e247cff8baa2dfdd68fad152c29f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/babel/babel/pulls/1385/commits","review_comments_url":"https://api.github.com/repos/babel/babel/pulls/1385/comments","review_comment_url":"https://api.github.com/repos/babel/babel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/babel/babel/issues/1385/comments","statuses_url":"https://api.github.com/repos/babel/babel/statuses/f44c93add2e190a66640548cb1a093d47eb128a6","head":{"label":"monsanto:fix-var-checker","ref":"fix-var-checker","sha":"f44c93add2e190a66640548cb1a093d47eb128a6","user":{"login":"monsanto","id":247721,"avatar_url":"https://avatars.githubusercontent.com/u/247721?v=3","gravatar_id":"","url":"https://api.github.com/users/monsanto","html_url":"https://github.com/monsanto","followers_url":"https://api.github.com/users/monsanto/followers","following_url":"https://api.github.com/users/monsanto/following{/other_user}","gists_url":"https://api.github.com/users/monsanto/gists{/gist_id}","starred_url":"https://api.github.com/users/monsanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monsanto/subscriptions","organizations_url":"https://api.github.com/users/monsanto/orgs","repos_url":"https://api.github.com/users/monsanto/repos","events_url":"https://api.github.com/users/monsanto/events{/privacy}","received_events_url":"https://api.github.com/users/monsanto/received_events","type":"User","site_admin":false},"repo":{"id":27951559,"name":"6to5","full_name":"monsanto/6to5","owner":{"login":"monsanto","id":247721,"avatar_url":"https://avatars.githubusercontent.com/u/247721?v=3","gravatar_id":"","url":"https://api.github.com/users/monsanto","html_url":"https://github.com/monsanto","followers_url":"https://api.github.com/users/monsanto/followers","following_url":"https://api.github.com/users/monsanto/following{/other_user}","gists_url":"https://api.github.com/users/monsanto/gists{/gist_id}","starred_url":"https://api.github.com/users/monsanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monsanto/subscriptions","organizations_url":"https://api.github.com/users/monsanto/orgs","repos_url":"https://api.github.com/users/monsanto/repos","events_url":"https://api.github.com/users/monsanto/events{/privacy}","received_events_url":"https://api.github.com/users/monsanto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monsanto/6to5","description":"Turn ES6+ code into readable vanilla ES5 with source maps and more!","fork":true,"url":"https://api.github.com/repos/monsanto/6to5","forks_url":"https://api.github.com/repos/monsanto/6to5/forks","keys_url":"https://api.github.com/repos/monsanto/6to5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monsanto/6to5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monsanto/6to5/teams","hooks_url":"https://api.github.com/repos/monsanto/6to5/hooks","issue_events_url":"https://api.github.com/repos/monsanto/6to5/issues/events{/number}","events_url":"https://api.github.com/repos/monsanto/6to5/events","assignees_url":"https://api.github.com/repos/monsanto/6to5/assignees{/user}","branches_url":"https://api.github.com/repos/monsanto/6to5/branches{/branch}","tags_url":"https://api.github.com/repos/monsanto/6to5/tags","blobs_url":"https://api.github.com/repos/monsanto/6to5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monsanto/6to5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monsanto/6to5/git/refs{/sha}","trees_url":"https://api.github.com/repos/monsanto/6to5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monsanto/6to5/statuses/{sha}","languages_url":"https://api.github.com/repos/monsanto/6to5/languages","stargazers_url":"https://api.github.com/repos/monsanto/6to5/stargazers","contributors_url":"https://api.github.com/repos/monsanto/6to5/contributors","subscribers_url":"https://api.github.com/repos/monsanto/6to5/subscribers","subscription_url":"https://api.github.com/repos/monsanto/6to5/subscription","commits_url":"https://api.github.com/repos/monsanto/6to5/commits{/sha}","git_commits_url":"https://api.github.com/repos/monsanto/6to5/git/commits{/sha}","comments_url":"https://api.github.com/repos/monsanto/6to5/comments{/number}","issue_comment_url":"https://api.github.com/repos/monsanto/6to5/issues/comments{/number}","contents_url":"https://api.github.com/repos/monsanto/6to5/contents/{+path}","compare_url":"https://api.github.com/repos/monsanto/6to5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monsanto/6to5/merges","archive_url":"https://api.github.com/repos/monsanto/6to5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monsanto/6to5/downloads","issues_url":"https://api.github.com/repos/monsanto/6to5/issues{/number}","pulls_url":"https://api.github.com/repos/monsanto/6to5/pulls{/number}","milestones_url":"https://api.github.com/repos/monsanto/6to5/milestones{/number}","notifications_url":"https://api.github.com/repos/monsanto/6to5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monsanto/6to5/labels{/name}","releases_url":"https://api.github.com/repos/monsanto/6to5/releases{/id}","created_at":"2014-12-13T06:14:09Z","updated_at":"2015-03-31T13:41:45Z","pushed_at":"2015-04-29T21:58:32Z","git_url":"git://github.com/monsanto/6to5.git","ssh_url":"git@github.com:monsanto/6to5.git","clone_url":"https://github.com/monsanto/6to5.git","svn_url":"https://github.com/monsanto/6to5","homepage":"https://6to5.org/","size":6224,"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":"babel:master","ref":"master","sha":"09e45c51a48ecc14219a37d15034144d2324e8f9","user":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"repo":{"id":24560307,"name":"babel","full_name":"babel/babel","owner":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/babel/babel","description":"Babel is a compiler for writing next generation JavaScript.","fork":false,"url":"https://api.github.com/repos/babel/babel","forks_url":"https://api.github.com/repos/babel/babel/forks","keys_url":"https://api.github.com/repos/babel/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/babel/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/babel/babel/teams","hooks_url":"https://api.github.com/repos/babel/babel/hooks","issue_events_url":"https://api.github.com/repos/babel/babel/issues/events{/number}","events_url":"https://api.github.com/repos/babel/babel/events","assignees_url":"https://api.github.com/repos/babel/babel/assignees{/user}","branches_url":"https://api.github.com/repos/babel/babel/branches{/branch}","tags_url":"https://api.github.com/repos/babel/babel/tags","blobs_url":"https://api.github.com/repos/babel/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/babel/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/babel/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/babel/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/babel/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/babel/babel/languages","stargazers_url":"https://api.github.com/repos/babel/babel/stargazers","contributors_url":"https://api.github.com/repos/babel/babel/contributors","subscribers_url":"https://api.github.com/repos/babel/babel/subscribers","subscription_url":"https://api.github.com/repos/babel/babel/subscription","commits_url":"https://api.github.com/repos/babel/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/babel/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/babel/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/babel/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/babel/babel/contents/{+path}","compare_url":"https://api.github.com/repos/babel/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/babel/babel/merges","archive_url":"https://api.github.com/repos/babel/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/babel/babel/downloads","issues_url":"https://api.github.com/repos/babel/babel/issues{/number}","pulls_url":"https://api.github.com/repos/babel/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/babel/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/babel/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/babel/babel/labels{/name}","releases_url":"https://api.github.com/repos/babel/babel/releases{/id}","created_at":"2014-09-28T13:38:23Z","updated_at":"2015-04-29T22:39:18Z","pushed_at":"2015-04-29T22:39:17Z","git_url":"git://github.com/babel/babel.git","ssh_url":"git@github.com:babel/babel.git","clone_url":"https://github.com/babel/babel.git","svn_url":"https://github.com/babel/babel","homepage":"https://babeljs.io/","size":16534,"stargazers_count":5541,"watchers_count":5541,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":255,"mirror_url":null,"open_issues_count":23,"forks":255,"open_issues":23,"watchers":5541,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/babel/babel/pulls/1385"},"html":{"href":"https://github.com/babel/babel/pull/1385"},"issue":{"href":"https://api.github.com/repos/babel/babel/issues/1385"},"comments":{"href":"https://api.github.com/repos/babel/babel/issues/1385/comments"},"review_comments":{"href":"https://api.github.com/repos/babel/babel/pulls/1385/comments"},"review_comment":{"href":"https://api.github.com/repos/babel/babel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/babel/babel/pulls/1385/commits"},"statuses":{"href":"https://api.github.com/repos/babel/babel/statuses/f44c93add2e190a66640548cb1a093d47eb128a6"}}}}