{"action":"created","issue":{"url":"https://api.github.com/repos/decaffeinate/decaffeinate/issues/1307","repository_url":"https://api.github.com/repos/decaffeinate/decaffeinate","labels_url":"https://api.github.com/repos/decaffeinate/decaffeinate/issues/1307/labels{/name}","comments_url":"https://api.github.com/repos/decaffeinate/decaffeinate/issues/1307/comments","events_url":"https://api.github.com/repos/decaffeinate/decaffeinate/issues/1307/events","html_url":"https://github.com/decaffeinate/decaffeinate/issues/1307","id":316125996,"number":1307,"title":"Using `extends` on a non-class-like variable causes a crash, due to the __extends__ helper usage","user":{"login":"hilts-vaughan","id":1079207,"avatar_url":"https://avatars0.githubusercontent.com/u/1079207?v=4","gravatar_id":"","url":"https://api.github.com/users/hilts-vaughan","html_url":"https://github.com/hilts-vaughan","followers_url":"https://api.github.com/users/hilts-vaughan/followers","following_url":"https://api.github.com/users/hilts-vaughan/following{/other_user}","gists_url":"https://api.github.com/users/hilts-vaughan/gists{/gist_id}","starred_url":"https://api.github.com/users/hilts-vaughan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hilts-vaughan/subscriptions","organizations_url":"https://api.github.com/users/hilts-vaughan/orgs","repos_url":"https://api.github.com/users/hilts-vaughan/repos","events_url":"https://api.github.com/users/hilts-vaughan/events{/privacy}","received_events_url":"https://api.github.com/users/hilts-vaughan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-20T04:43:18Z","updated_at":"2018-04-20T04:49:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"https://decaffeinate-project.org/repl/#?useCS2=false&useJSModules=false&loose=false&evaluate=true&stage=full&code=result%20%3D%20%7B%7D%0Aresult%20extends%20%7B%0A%20desu%3A%20%2212%22%20%0A%7D\r\n\r\nIf you use this REPL link, you will see what I mean. Yes, apparently that is valid CoffeeScript. If you enter it into a REPL and then log out `result`, you will see it has been extended with a few other properties plus the `desu` property.... the output from decaf crashes. \r\n\r\nyeah, probably insane."},"comment":{"url":"https://api.github.com/repos/decaffeinate/decaffeinate/issues/comments/382975102","html_url":"https://github.com/decaffeinate/decaffeinate/issues/1307#issuecomment-382975102","issue_url":"https://api.github.com/repos/decaffeinate/decaffeinate/issues/1307","id":382975102,"user":{"login":"alangpierce","id":211605,"avatar_url":"https://avatars1.githubusercontent.com/u/211605?v=4","gravatar_id":"","url":"https://api.github.com/users/alangpierce","html_url":"https://github.com/alangpierce","followers_url":"https://api.github.com/users/alangpierce/followers","following_url":"https://api.github.com/users/alangpierce/following{/other_user}","gists_url":"https://api.github.com/users/alangpierce/gists{/gist_id}","starred_url":"https://api.github.com/users/alangpierce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alangpierce/subscriptions","organizations_url":"https://api.github.com/users/alangpierce/orgs","repos_url":"https://api.github.com/users/alangpierce/repos","events_url":"https://api.github.com/users/alangpierce/events{/privacy}","received_events_url":"https://api.github.com/users/alangpierce/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T04:49:48Z","updated_at":"2018-04-20T04:49:48Z","author_association":"OWNER","body":"Got it, yeah, I guess it doesn't surprise me that there might be edge cases here; the `extends` binary operator is a bit obscure and was removed in CS2. Probably the `__extends__` decaffeinate helper can just be tweaked to more closely follow the one used by CoffeeScript."}}
{"actor":{"display_login":"alangpierce"}}