{"action":"reopened","issue":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4568","repository_url":"https://api.github.com/repos/jashkenas/coffeescript","labels_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4568/labels{/name}","comments_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4568/comments","events_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4568/events","html_url":"https://github.com/jashkenas/coffeescript/issues/4568","id":235170817,"number":4568,"title":"Incompatible code generated with 1.12.6 using function call followed by if statement.","user":{"login":"jo-soft","id":7888523,"avatar_url":"https://avatars2.githubusercontent.com/u/7888523?v=3","gravatar_id":"","url":"https://api.github.com/users/jo-soft","html_url":"https://github.com/jo-soft","followers_url":"https://api.github.com/users/jo-soft/followers","following_url":"https://api.github.com/users/jo-soft/following{/other_user}","gists_url":"https://api.github.com/users/jo-soft/gists{/gist_id}","starred_url":"https://api.github.com/users/jo-soft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jo-soft/subscriptions","organizations_url":"https://api.github.com/users/jo-soft/orgs","repos_url":"https://api.github.com/users/jo-soft/repos","events_url":"https://api.github.com/users/jo-soft/events{/privacy}","received_events_url":"https://api.github.com/users/jo-soft/received_events","type":"User","site_admin":false},"labels":[{"id":19491,"url":"https://api.github.com/repos/jashkenas/coffeescript/labels/invalid","name":"invalid","color":"ededed","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-12T09:20:44Z","updated_at":"2017-06-13T09:24:26Z","closed_at":null,"body":"Until version 1.12.5 the code `foo bar if baz` transpiled to `if(baz){foo(bar)}` \r\nsince 1.12.6 this code transpiles to `foo(baz ? bar: void 0)` which breaks old code.\r\n\r\nBut when i use `mood = greatlyImproved if singing` (from docs) it compiles to `if (singing) {mood = greatlyImproved;}` \r\nIs this indented? Maybe by 'Bugfixes for incorrect code generated by the ? operator within a termary if statement`? I cant find any Bug report for that.\r\n\r\nbg,\r\nJohannes"}}
{"actor":{"display_login":"vendethiel"}}