{"action":"opened","issue":{"url":"https://api.github.com/repos/PolymerElements/iron-overlay-behavior/issues/268","repository_url":"https://api.github.com/repos/PolymerElements/iron-overlay-behavior","labels_url":"https://api.github.com/repos/PolymerElements/iron-overlay-behavior/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/iron-overlay-behavior/issues/268/comments","events_url":"https://api.github.com/repos/PolymerElements/iron-overlay-behavior/issues/268/events","html_url":"https://github.com/PolymerElements/iron-overlay-behavior/issues/268","id":300437887,"number":268,"title":"Closure Compiler issue with 3.0 preview","user":{"login":"RebeccaStevens","id":7224206,"avatar_url":"https://avatars0.githubusercontent.com/u/7224206?v=4","gravatar_id":"","url":"https://api.github.com/users/RebeccaStevens","html_url":"https://github.com/RebeccaStevens","followers_url":"https://api.github.com/users/RebeccaStevens/followers","following_url":"https://api.github.com/users/RebeccaStevens/following{/other_user}","gists_url":"https://api.github.com/users/RebeccaStevens/gists{/gist_id}","starred_url":"https://api.github.com/users/RebeccaStevens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RebeccaStevens/subscriptions","organizations_url":"https://api.github.com/users/RebeccaStevens/orgs","repos_url":"https://api.github.com/users/RebeccaStevens/repos","events_url":"https://api.github.com/users/RebeccaStevens/events{/privacy}","received_events_url":"https://api.github.com/users/RebeccaStevens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-26T23:35:58Z","updated_at":"2018-02-26T23:35:58Z","closed_at":null,"author_association":"NONE","body":"When using the Closure Compiler with the 3.0 preview version of this element, `Constant reassigned` errors occur:\r\n\r\n```sh\r\nstdin:25174: ERROR - Constant reassigned: _lockedElementCache\r\n  _lockedElementCache = [];\r\n  ^^^^^^^^^^^^^^^^^^^\r\n\r\nstdin:25175: ERROR - Constant reassigned: _unlockedElementCache\r\n  _unlockedElementCache = [];\r\n  ^^^^^^^^^^^^^^^^^^^^^\r\n```\r\n\r\nversion: `@polymer/iron-overlay-behavior#3.0.0-pre.10`\r\n\r\n### Lines at fault\r\n\r\nhttps://github.com/PolymerElements/iron-overlay-behavior/blob/1cbc71fce4d7c6e32b445e8f350b9d507904b363/iron-scroll-manager.js#L102-L103\r\n\r\nIf I change the lines above to use `let` instead of `const`, the compiler no longer complains."}}
{"actor":{"display_login":"RebeccaStevens"}}