{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/6219","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/6219/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/6219/comments","events_url":"https://api.github.com/repos/babel/babel/issues/6219/events","html_url":"https://github.com/babel/babel/pull/6219","id":256397444,"number":6219,"title":"Redeclaring a variable counts as a modification","user":{"login":"RubenVerborgh","id":675313,"avatar_url":"https://avatars1.githubusercontent.com/u/675313?v=4","gravatar_id":"","url":"https://api.github.com/users/RubenVerborgh","html_url":"https://github.com/RubenVerborgh","followers_url":"https://api.github.com/users/RubenVerborgh/followers","following_url":"https://api.github.com/users/RubenVerborgh/following{/other_user}","gists_url":"https://api.github.com/users/RubenVerborgh/gists{/gist_id}","starred_url":"https://api.github.com/users/RubenVerborgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubenVerborgh/subscriptions","organizations_url":"https://api.github.com/users/RubenVerborgh/orgs","repos_url":"https://api.github.com/users/RubenVerborgh/repos","events_url":"https://api.github.com/users/RubenVerborgh/events{/privacy}","received_events_url":"https://api.github.com/users/RubenVerborgh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-09-08T23:48:41Z","updated_at":"2017-09-09T01:24:09Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/6219","html_url":"https://github.com/babel/babel/pull/6219","diff_url":"https://github.com/babel/babel/pull/6219.diff","patch_url":"https://github.com/babel/babel/pull/6219.patch"},"body":"| Q                        | A <!--(can use an emoji 👍 ) -->\r\n| ------------------------ | ---\r\n| Fixed Issues             |  Fixes #6217.\r\n| Patch: Bug Fix?          |  Yes.\r\n| Major: Breaking Change?  |  No.\r\n| Minor: New Feature?      |  No.\r\n| Tests Added/Pass?        |  Yes.\r\n| Spec Compliancy?         |  Yes.\r\n| License                  | MIT\r\n| Doc PR                   |  No.\r\n| Any Dependency Changes?  |  No.\r\n\r\nWhen a variable is redeclared (as in `var a = 1; var a = 2;`), this PR ensures that the second declaration is no longer regarded as a constant.\r\n"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/328245612","html_url":"https://github.com/babel/babel/pull/6219#issuecomment-328245612","issue_url":"https://api.github.com/repos/babel/babel/issues/6219","id":328245612,"user":{"login":"babel-bot","id":21250019,"avatar_url":"https://avatars1.githubusercontent.com/u/21250019?v=4","gravatar_id":"","url":"https://api.github.com/users/babel-bot","html_url":"https://github.com/babel-bot","followers_url":"https://api.github.com/users/babel-bot/followers","following_url":"https://api.github.com/users/babel-bot/following{/other_user}","gists_url":"https://api.github.com/users/babel-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/babel-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel-bot/subscriptions","organizations_url":"https://api.github.com/users/babel-bot/orgs","repos_url":"https://api.github.com/users/babel-bot/repos","events_url":"https://api.github.com/users/babel-bot/events{/privacy}","received_events_url":"https://api.github.com/users/babel-bot/received_events","type":"User","site_admin":false},"created_at":"2017-09-09T01:24:09Z","updated_at":"2017-09-09T01:24:09Z","author_association":"COLLABORATOR","body":"Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/4839/"}}
{"actor":{"display_login":"babel-bot"}}