{"action":"created","issue":{"url":"https://api.github.com/repos/marijnh/acorn/issues/335","labels_url":"https://api.github.com/repos/marijnh/acorn/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/marijnh/acorn/issues/335/comments","events_url":"https://api.github.com/repos/marijnh/acorn/issues/335/events","html_url":"https://github.com/marijnh/acorn/pull/335","id":111698310,"number":335,"title":"Ensure that rest elements can only be identifiers in functions","user":{"login":"nzakas","id":38546,"avatar_url":"https://avatars.githubusercontent.com/u/38546?v=3","gravatar_id":"","url":"https://api.github.com/users/nzakas","html_url":"https://github.com/nzakas","followers_url":"https://api.github.com/users/nzakas/followers","following_url":"https://api.github.com/users/nzakas/following{/other_user}","gists_url":"https://api.github.com/users/nzakas/gists{/gist_id}","starred_url":"https://api.github.com/users/nzakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzakas/subscriptions","organizations_url":"https://api.github.com/users/nzakas/orgs","repos_url":"https://api.github.com/users/nzakas/repos","events_url":"https://api.github.com/users/nzakas/events{/privacy}","received_events_url":"https://api.github.com/users/nzakas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-10-15T20:14:19Z","updated_at":"2015-10-15T21:13:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/marijnh/acorn/pulls/335","html_url":"https://github.com/marijnh/acorn/pull/335","diff_url":"https://github.com/marijnh/acorn/pull/335.diff","patch_url":"https://github.com/marijnh/acorn/pull/335.patch"},"body":"This one was a bit more involved. My general approach was to keep all functions working as they currently are and add one more parameter, where appropriate, to check for situations where rest elements must be identifiers.\r\n\r\nFixes #334"},"comment":{"url":"https://api.github.com/repos/marijnh/acorn/issues/comments/148522941","html_url":"https://github.com/marijnh/acorn/pull/335#issuecomment-148522941","issue_url":"https://api.github.com/repos/marijnh/acorn/issues/335","id":148522941,"user":{"login":"marijnh","id":144427,"avatar_url":"https://avatars.githubusercontent.com/u/144427?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnh","html_url":"https://github.com/marijnh","followers_url":"https://api.github.com/users/marijnh/followers","following_url":"https://api.github.com/users/marijnh/following{/other_user}","gists_url":"https://api.github.com/users/marijnh/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnh/subscriptions","organizations_url":"https://api.github.com/users/marijnh/orgs","repos_url":"https://api.github.com/users/marijnh/repos","events_url":"https://api.github.com/users/marijnh/events{/privacy}","received_events_url":"https://api.github.com/users/marijnh/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T21:13:56Z","updated_at":"2015-10-15T21:13:56Z","body":"Good point. Agreed."}}