{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/1881","labels_url":"https://api.github.com/repos/babel/babel/issues/1881/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/1881/comments","events_url":"https://api.github.com/repos/babel/babel/issues/1881/events","html_url":"https://github.com/babel/babel/issues/1881","id":92194411,"number":1881,"title":"Bug or bad ES6 syntax","user":{"login":"troch","id":1777517,"avatar_url":"https://avatars.githubusercontent.com/u/1777517?v=3","gravatar_id":"","url":"https://api.github.com/users/troch","html_url":"https://github.com/troch","followers_url":"https://api.github.com/users/troch/followers","following_url":"https://api.github.com/users/troch/following{/other_user}","gists_url":"https://api.github.com/users/troch/gists{/gist_id}","starred_url":"https://api.github.com/users/troch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troch/subscriptions","organizations_url":"https://api.github.com/users/troch/orgs","repos_url":"https://api.github.com/users/troch/repos","events_url":"https://api.github.com/users/troch/events{/privacy}","received_events_url":"https://api.github.com/users/troch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-30T20:39:36Z","updated_at":"2015-06-30T20:42:42Z","closed_at":"2015-06-30T20:39:36Z","body":"I don't know if the following is a compiler bug, or simply bad ES6 syntax:\r\n\r\n```javascript\r\nlet makeSate = (name, params, path) => {name, params, path}\r\n```\r\nIs transpiled to\r\n```javascript\r\nmakeState = function makeState(name, params, path) {\r\n    name, params, path;\r\n};\r\n```\r\nAnd I need to write this\r\n```javascript\r\nlet makeSate = (name, params, path) => { return {name, params, path} }\r\n```\r\nTo get the result I want\r\n```javascript\r\nmakeState = function makeState(name, params, path) {\r\n    return { name: name, params: params, path: path };\r\n};\r\n```"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/117335883","html_url":"https://github.com/babel/babel/issues/1881#issuecomment-117335883","issue_url":"https://api.github.com/repos/babel/babel/issues/1881","id":117335883,"user":{"login":"loganfsmyth","id":132260,"avatar_url":"https://avatars.githubusercontent.com/u/132260?v=3","gravatar_id":"","url":"https://api.github.com/users/loganfsmyth","html_url":"https://github.com/loganfsmyth","followers_url":"https://api.github.com/users/loganfsmyth/followers","following_url":"https://api.github.com/users/loganfsmyth/following{/other_user}","gists_url":"https://api.github.com/users/loganfsmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/loganfsmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganfsmyth/subscriptions","organizations_url":"https://api.github.com/users/loganfsmyth/orgs","repos_url":"https://api.github.com/users/loganfsmyth/repos","events_url":"https://api.github.com/users/loganfsmyth/events{/privacy}","received_events_url":"https://api.github.com/users/loganfsmyth/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T20:42:42Z","updated_at":"2015-06-30T20:42:42Z","body":"Duplicate of https://github.com/babel/babel/issues/1654."}}