{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babili/issues/305","repository_url":"https://api.github.com/repos/babel/babili","labels_url":"https://api.github.com/repos/babel/babili/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/babel/babili/issues/305/comments","events_url":"https://api.github.com/repos/babel/babili/issues/305/events","html_url":"https://github.com/babel/babili/issues/305","id":191828267,"number":305,"title":"Using babili with ES2015 transforms and a super class breaks code","user":{"login":"kenzierocks","id":2093023,"avatar_url":"https://avatars.githubusercontent.com/u/2093023?v=3","gravatar_id":"","url":"https://api.github.com/users/kenzierocks","html_url":"https://github.com/kenzierocks","followers_url":"https://api.github.com/users/kenzierocks/followers","following_url":"https://api.github.com/users/kenzierocks/following{/other_user}","gists_url":"https://api.github.com/users/kenzierocks/gists{/gist_id}","starred_url":"https://api.github.com/users/kenzierocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenzierocks/subscriptions","organizations_url":"https://api.github.com/users/kenzierocks/orgs","repos_url":"https://api.github.com/users/kenzierocks/repos","events_url":"https://api.github.com/users/kenzierocks/events{/privacy}","received_events_url":"https://api.github.com/users/kenzierocks/received_events","type":"User","site_admin":false},"labels":[{"id":354433519,"url":"https://api.github.com/repos/babel/babili/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-26T21:40:44Z","updated_at":"2016-11-26T22:03:28Z","closed_at":"2016-11-26T22:03:28Z","body":"With `babel-preset-es2015@6.18.0` and `babili@0.0.9`, the following code breaks:\r\n```javascript\r\nclass AClass extends SomeClass {\r\n    constructor() {\r\n        super(\"some arg\");\r\n        this.func(this.val = \"some value\");\r\n        this.val.someProperty = \"some value\";\r\n    }\r\n}\r\n```\r\nThis seems to be related to the `super` call, as without it (and the `extends SomeClass`) everything is fine.\r\n\r\nHere's a gist with the two different files I gave to Babel, and the output: https://gist.github.com/kenzierocks/4e198af6c75f359dc6ffffcfc62b1861\r\n\r\nMy `.babelrc`:\r\n```json\r\n{ \"presets\": [\"es2015\",\"babili\"] }\r\n```"},"comment":{"url":"https://api.github.com/repos/babel/babili/issues/comments/263088597","html_url":"https://github.com/babel/babili/issues/305#issuecomment-263088597","issue_url":"https://api.github.com/repos/babel/babili/issues/305","id":263088597,"user":{"login":"kenzierocks","id":2093023,"avatar_url":"https://avatars.githubusercontent.com/u/2093023?v=3","gravatar_id":"","url":"https://api.github.com/users/kenzierocks","html_url":"https://github.com/kenzierocks","followers_url":"https://api.github.com/users/kenzierocks/followers","following_url":"https://api.github.com/users/kenzierocks/following{/other_user}","gists_url":"https://api.github.com/users/kenzierocks/gists{/gist_id}","starred_url":"https://api.github.com/users/kenzierocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenzierocks/subscriptions","organizations_url":"https://api.github.com/users/kenzierocks/orgs","repos_url":"https://api.github.com/users/kenzierocks/repos","events_url":"https://api.github.com/users/kenzierocks/events{/privacy}","received_events_url":"https://api.github.com/users/kenzierocks/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T22:03:28Z","updated_at":"2016-11-26T22:03:28Z","body":"Ah yea, looks like the same. I'll close in favor of that one."}}
{"actor":{"display_login":"kenzierocks"}}