{"action":"created","issue":{"url":"https://api.github.com/repos/rollup/rollup/issues/2219","repository_url":"https://api.github.com/repos/rollup/rollup","labels_url":"https://api.github.com/repos/rollup/rollup/issues/2219/labels{/name}","comments_url":"https://api.github.com/repos/rollup/rollup/issues/2219/comments","events_url":"https://api.github.com/repos/rollup/rollup/issues/2219/events","html_url":"https://github.com/rollup/rollup/issues/2219","id":326529739,"number":2219,"title":"Getters not applying in side-effect detection","user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars1.githubusercontent.com/u/598730?v=4","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"labels":[{"id":508403628,"url":"https://api.github.com/repos/rollup/rollup/labels/treeshaking","name":"treeshaking","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-25T13:43:22Z","updated_at":"2018-05-25T14:29:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I managed to find a case where side effect detection fails on this one - \r\n\r\n```js\r\nvar o = {};\r\no.__proto__ = {\r\n  get a () {\r\n    console.log('side effect');\r\n    return 'asdf';\r\n  }\r\n};\r\n\r\no.a;\r\n```"},"comment":{"url":"https://api.github.com/repos/rollup/rollup/issues/comments/392075716","html_url":"https://github.com/rollup/rollup/issues/2219#issuecomment-392075716","issue_url":"https://api.github.com/repos/rollup/rollup/issues/2219","id":392075716,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars1.githubusercontent.com/u/598730?v=4","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2018-05-25T14:29:05Z","updated_at":"2018-05-25T14:29:05Z","author_association":"CONTRIBUTOR","body":"Glad it's useful - I've just been experimenting as I'm slowly understanding the approach, and yes seems like this is possible to me too, so hope it is a help towards polishing the edge cases at least."}}
{"actor":{"display_login":"guybedford"}}