{"action":"created","issue":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/5053","repository_url":"https://api.github.com/repos/jashkenas/coffeescript","labels_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/5053/labels{/name}","comments_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/5053/comments","events_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/5053/events","html_url":"https://github.com/jashkenas/coffeescript/pull/5053","id":320374715,"number":5053,"title":"Allow implicit call with class with no body","user":{"login":"helixbass","id":440230,"avatar_url":"https://avatars2.githubusercontent.com/u/440230?v=4","gravatar_id":"","url":"https://api.github.com/users/helixbass","html_url":"https://github.com/helixbass","followers_url":"https://api.github.com/users/helixbass/followers","following_url":"https://api.github.com/users/helixbass/following{/other_user}","gists_url":"https://api.github.com/users/helixbass/gists{/gist_id}","starred_url":"https://api.github.com/users/helixbass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helixbass/subscriptions","organizations_url":"https://api.github.com/users/helixbass/orgs","repos_url":"https://api.github.com/users/helixbass/repos","events_url":"https://api.github.com/users/helixbass/events{/privacy}","received_events_url":"https://api.github.com/users/helixbass/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-04T18:05:47Z","updated_at":"2018-05-13T10:47:45Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/5053","html_url":"https://github.com/jashkenas/coffeescript/pull/5053","diff_url":"https://github.com/jashkenas/coffeescript/pull/5053.diff","patch_url":"https://github.com/jashkenas/coffeescript/pull/5053.patch"},"body":"Fixes #5052 \r\n\r\nTweaks `addImplicitBracesAndParens()` to correctly close an inline implicit call which has an argument  that's a class with no body\r\n\r\nSo now eg `f class A` compiles\r\n\r\nThe issue was that it was generating the implicit opening `(` but failing to generate the closing `)` at the end of the line since when it saw `class` it pushed a `CONTROL` token that expected to see an `INDENT`-`OUTDENT` pair before unblocking the closing of the implicit call"},"comment":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/comments/388617752","html_url":"https://github.com/jashkenas/coffeescript/pull/5053#issuecomment-388617752","issue_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/5053","id":388617752,"user":{"login":"Inve1951","id":18194808,"avatar_url":"https://avatars3.githubusercontent.com/u/18194808?v=4","gravatar_id":"","url":"https://api.github.com/users/Inve1951","html_url":"https://github.com/Inve1951","followers_url":"https://api.github.com/users/Inve1951/followers","following_url":"https://api.github.com/users/Inve1951/following{/other_user}","gists_url":"https://api.github.com/users/Inve1951/gists{/gist_id}","starred_url":"https://api.github.com/users/Inve1951/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Inve1951/subscriptions","organizations_url":"https://api.github.com/users/Inve1951/orgs","repos_url":"https://api.github.com/users/Inve1951/repos","events_url":"https://api.github.com/users/Inve1951/events{/privacy}","received_events_url":"https://api.github.com/users/Inve1951/received_events","type":"User","site_admin":false},"created_at":"2018-05-13T10:47:45Z","updated_at":"2018-05-13T10:47:45Z","author_association":"NONE","body":"I'm good with it. My only concern is that the test relies on the implicit object starting a call, which I'm not sure about whether that's a supported feature or not. But I'm certainly in favor to have that as a language feature. In fact I'd expect the same from the broken cases I demonstrated in my previous comment."}}
{"actor":{"display_login":"Inve1951"}}