{"action":"created","issue":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/5034","repository_url":"https://api.github.com/repos/jashkenas/coffeescript","labels_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/5034/labels{/name}","comments_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/5034/comments","events_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/5034/events","html_url":"https://github.com/jashkenas/coffeescript/issues/5034","id":314448178,"number":5034,"title":"Bug: Only LAST JSX tag returned instead of entire JSX sequence","user":{"login":"remoteportal","id":5971985,"avatar_url":"https://avatars2.githubusercontent.com/u/5971985?v=4","gravatar_id":"","url":"https://api.github.com/users/remoteportal","html_url":"https://github.com/remoteportal","followers_url":"https://api.github.com/users/remoteportal/followers","following_url":"https://api.github.com/users/remoteportal/following{/other_user}","gists_url":"https://api.github.com/users/remoteportal/gists{/gist_id}","starred_url":"https://api.github.com/users/remoteportal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remoteportal/subscriptions","organizations_url":"https://api.github.com/users/remoteportal/orgs","repos_url":"https://api.github.com/users/remoteportal/repos","events_url":"https://api.github.com/users/remoteportal/events{/privacy}","received_events_url":"https://api.github.com/users/remoteportal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-04-15T20:18:57Z","updated_at":"2018-04-25T17:10:05Z","closed_at":null,"author_association":"NONE","body":"Because of the parenthesis BOTH <Row> tags should be included in the return statement.  In error only the last one is:\r\n\r\nCoffeeScript:\r\n```\r\n\t\tJSXFunction = -> (\r\n\t\t\t\t<Row>ABC</Row>\r\n\t\t\t\t<Row>DEF</Row>\r\n\t\t\t)\r\n```\r\n\r\nErrant JavaScript:\r\n```\r\n// Generated by CoffeeScript 2.2.4\r\n  JSXFunction = function() {\r\n        <Row>ABC</Row>;\r\n        return <Row>DEF</Row>;\r\n      };\r\n```\r\n\r\nCorrect JavaScript:\r\n```\r\n  JSXFunction = function() {\r\n        return <Row>ABC</Row>\r\n            <Row>DEF</Row>;\r\n      };\r\n```"},"comment":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/comments/384362937","html_url":"https://github.com/jashkenas/coffeescript/issues/5034#issuecomment-384362937","issue_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/5034","id":384362937,"user":{"login":"GeoffreyBooth","id":456802,"avatar_url":"https://avatars2.githubusercontent.com/u/456802?v=4","gravatar_id":"","url":"https://api.github.com/users/GeoffreyBooth","html_url":"https://github.com/GeoffreyBooth","followers_url":"https://api.github.com/users/GeoffreyBooth/followers","following_url":"https://api.github.com/users/GeoffreyBooth/following{/other_user}","gists_url":"https://api.github.com/users/GeoffreyBooth/gists{/gist_id}","starred_url":"https://api.github.com/users/GeoffreyBooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeoffreyBooth/subscriptions","organizations_url":"https://api.github.com/users/GeoffreyBooth/orgs","repos_url":"https://api.github.com/users/GeoffreyBooth/repos","events_url":"https://api.github.com/users/GeoffreyBooth/events{/privacy}","received_events_url":"https://api.github.com/users/GeoffreyBooth/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T17:10:05Z","updated_at":"2018-04-25T17:10:05Z","author_association":"COLLABORATOR","body":"Yes, I think the bug is that CoffeeScript returns the closing tag, rather than throwing an error."}}
{"actor":{"display_login":"GeoffreyBooth"}}