{"action":"opened","issue":{"url":"https://api.github.com/repos/google/closure-compiler/issues/1083","labels_url":"https://api.github.com/repos/google/closure-compiler/issues/1083/labels{/name}","comments_url":"https://api.github.com/repos/google/closure-compiler/issues/1083/comments","events_url":"https://api.github.com/repos/google/closure-compiler/issues/1083/events","html_url":"https://github.com/google/closure-compiler/issues/1083","id":101368104,"number":1083,"title":"ES6 destructuring prevents reassignment within goog.module","user":{"login":"supersteves","id":10280734,"avatar_url":"https://avatars.githubusercontent.com/u/10280734?v=3","gravatar_id":"","url":"https://api.github.com/users/supersteves","html_url":"https://github.com/supersteves","followers_url":"https://api.github.com/users/supersteves/followers","following_url":"https://api.github.com/users/supersteves/following{/other_user}","gists_url":"https://api.github.com/users/supersteves/gists{/gist_id}","starred_url":"https://api.github.com/users/supersteves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supersteves/subscriptions","organizations_url":"https://api.github.com/users/supersteves/orgs","repos_url":"https://api.github.com/users/supersteves/repos","events_url":"https://api.github.com/users/supersteves/events{/privacy}","received_events_url":"https://api.github.com/users/supersteves/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-17T08:27:48Z","updated_at":"2015-08-17T08:27:48Z","closed_at":null,"body":"This only occurs in goog.module.\r\n``` javascript\r\ngoog.module(\"test\");\r\n\r\nconst obj = {a: 5, b: 7};\r\n\r\nlet {a, b} = obj;\r\nconsole.log(a);\r\na = 5;\r\nconsole.log(a);\r\n```\r\nResult:\r\n```\r\ninput0:7: ERROR - The alias a is assigned a value more than once.\r\na = 5;\r\n^\r\n\r\n1 error(s), 0 warning(s)\r\n```\r\n\r\nhttps://closure-compiler-debugger.appspot.com/#input0%3Dgoog.module(%2522test%2522)%253B%250A%250Aconst%2520obj%2520%253D%2520%257Ba%253A%25205%252C%2520b%253A%25207%257D%253B%250A%250Alet%2520%257Ba%252C%2520b%257D%2520%253D%2520obj%253B%250Aconsole.log(a)%253B%250Aa%2520%253D%25205%253B%250Aconsole.log(a)%253B%250A%26input1%26conformanceConfig%26externs%26refasterjs-template%26includeDefaultExterns%3D1%26CLOSURE_PASS%3D1%26LANG_IN_IS_ES6%3D1"}}