{"action":"closed","number":797,"pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/797","id":29396765,"html_url":"https://github.com/babel/babel/pull/797","diff_url":"https://github.com/babel/babel/pull/797.diff","patch_url":"https://github.com/babel/babel/pull/797.patch","issue_url":"https://api.github.com/repos/babel/babel/issues/797","number":797,"state":"closed","locked":false,"title":"Changed error message for required class instance setter parameter","user":{"login":"jayphelps","id":762949,"avatar_url":"https://avatars.githubusercontent.com/u/762949?v=3","gravatar_id":"","url":"https://api.github.com/users/jayphelps","html_url":"https://github.com/jayphelps","followers_url":"https://api.github.com/users/jayphelps/followers","following_url":"https://api.github.com/users/jayphelps/following{/other_user}","gists_url":"https://api.github.com/users/jayphelps/gists{/gist_id}","starred_url":"https://api.github.com/users/jayphelps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayphelps/subscriptions","organizations_url":"https://api.github.com/users/jayphelps/orgs","repos_url":"https://api.github.com/users/jayphelps/repos","events_url":"https://api.github.com/users/jayphelps/events{/privacy}","received_events_url":"https://api.github.com/users/jayphelps/received_events","type":"User","site_admin":false},"body":"Minor change..\r\n\r\nChanged the compile-time error message for class instance setters requiring a single parameter. When it said \"only\" one parameter, it implies that you have greater than one, even if you have zero parameters.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/762949/6218275/7fe5a9f6-b5d1-11e4-872c-bfbf93d59118.png)\r\n\r\n[REPL](https://babeljs.io/repl/#?experimental=true&playground=true&evaluate=true&loose=false&spec=false&code=class%20Foo%20%7B%0A%20%20set%20kickDog()%20%7B%7D%0A%7D)\r\n\r\nSide note: is there currently a way to test for compile-time exceptions the test suite? If so, I can add this one to confirm it throws under the correct cases. (I can't seem to find any existing tests doing so)","created_at":"2015-02-16T19:50:42Z","updated_at":"2015-02-16T22:17:10Z","closed_at":"2015-02-16T22:17:10Z","merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/babel/babel/pulls/797/commits","review_comments_url":"https://api.github.com/repos/babel/babel/pulls/797/comments","review_comment_url":"https://api.github.com/repos/babel/babel/pulls/comments/{number}","comments_url":"https://api.github.com/repos/babel/babel/issues/797/comments","statuses_url":"https://api.github.com/repos/babel/babel/statuses/196736f3841910beb8a00f3b057dc96a3b0726ce","head":{"label":"jayphelps:setter-arg-count","ref":"setter-arg-count","sha":"196736f3841910beb8a00f3b057dc96a3b0726ce","user":{"login":"jayphelps","id":762949,"avatar_url":"https://avatars.githubusercontent.com/u/762949?v=3","gravatar_id":"","url":"https://api.github.com/users/jayphelps","html_url":"https://github.com/jayphelps","followers_url":"https://api.github.com/users/jayphelps/followers","following_url":"https://api.github.com/users/jayphelps/following{/other_user}","gists_url":"https://api.github.com/users/jayphelps/gists{/gist_id}","starred_url":"https://api.github.com/users/jayphelps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayphelps/subscriptions","organizations_url":"https://api.github.com/users/jayphelps/orgs","repos_url":"https://api.github.com/users/jayphelps/repos","events_url":"https://api.github.com/users/jayphelps/events{/privacy}","received_events_url":"https://api.github.com/users/jayphelps/received_events","type":"User","site_admin":false},"repo":{"id":30231266,"name":"babel","full_name":"jayphelps/babel","owner":{"login":"jayphelps","id":762949,"avatar_url":"https://avatars.githubusercontent.com/u/762949?v=3","gravatar_id":"","url":"https://api.github.com/users/jayphelps","html_url":"https://github.com/jayphelps","followers_url":"https://api.github.com/users/jayphelps/followers","following_url":"https://api.github.com/users/jayphelps/following{/other_user}","gists_url":"https://api.github.com/users/jayphelps/gists{/gist_id}","starred_url":"https://api.github.com/users/jayphelps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayphelps/subscriptions","organizations_url":"https://api.github.com/users/jayphelps/orgs","repos_url":"https://api.github.com/users/jayphelps/repos","events_url":"https://api.github.com/users/jayphelps/events{/privacy}","received_events_url":"https://api.github.com/users/jayphelps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jayphelps/babel","description":"Babel is a transpiler for writing next generation JavaScript. (Previously 6to5) ","fork":true,"url":"https://api.github.com/repos/jayphelps/babel","forks_url":"https://api.github.com/repos/jayphelps/babel/forks","keys_url":"https://api.github.com/repos/jayphelps/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jayphelps/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jayphelps/babel/teams","hooks_url":"https://api.github.com/repos/jayphelps/babel/hooks","issue_events_url":"https://api.github.com/repos/jayphelps/babel/issues/events{/number}","events_url":"https://api.github.com/repos/jayphelps/babel/events","assignees_url":"https://api.github.com/repos/jayphelps/babel/assignees{/user}","branches_url":"https://api.github.com/repos/jayphelps/babel/branches{/branch}","tags_url":"https://api.github.com/repos/jayphelps/babel/tags","blobs_url":"https://api.github.com/repos/jayphelps/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jayphelps/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jayphelps/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/jayphelps/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jayphelps/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/jayphelps/babel/languages","stargazers_url":"https://api.github.com/repos/jayphelps/babel/stargazers","contributors_url":"https://api.github.com/repos/jayphelps/babel/contributors","subscribers_url":"https://api.github.com/repos/jayphelps/babel/subscribers","subscription_url":"https://api.github.com/repos/jayphelps/babel/subscription","commits_url":"https://api.github.com/repos/jayphelps/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/jayphelps/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/jayphelps/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/jayphelps/babel/issues/comments/{number}","contents_url":"https://api.github.com/repos/jayphelps/babel/contents/{+path}","compare_url":"https://api.github.com/repos/jayphelps/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jayphelps/babel/merges","archive_url":"https://api.github.com/repos/jayphelps/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jayphelps/babel/downloads","issues_url":"https://api.github.com/repos/jayphelps/babel/issues{/number}","pulls_url":"https://api.github.com/repos/jayphelps/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/jayphelps/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/jayphelps/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jayphelps/babel/labels{/name}","releases_url":"https://api.github.com/repos/jayphelps/babel/releases{/id}","created_at":"2015-02-03T07:45:34Z","updated_at":"2015-02-16T19:33:04Z","pushed_at":"2015-02-16T19:46:05Z","git_url":"git://github.com/jayphelps/babel.git","ssh_url":"git@github.com:jayphelps/babel.git","clone_url":"https://github.com/jayphelps/babel.git","svn_url":"https://github.com/jayphelps/babel","homepage":"https://babeljs.io/","size":3402,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"babel:master","ref":"master","sha":"39c5849604128d8eecd9109733bef1b0ed57503e","user":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"repo":{"id":24560307,"name":"babel","full_name":"babel/babel","owner":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/babel/babel","description":"Babel is a transpiler for writing next generation JavaScript. (Previously 6to5)","fork":false,"url":"https://api.github.com/repos/babel/babel","forks_url":"https://api.github.com/repos/babel/babel/forks","keys_url":"https://api.github.com/repos/babel/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/babel/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/babel/babel/teams","hooks_url":"https://api.github.com/repos/babel/babel/hooks","issue_events_url":"https://api.github.com/repos/babel/babel/issues/events{/number}","events_url":"https://api.github.com/repos/babel/babel/events","assignees_url":"https://api.github.com/repos/babel/babel/assignees{/user}","branches_url":"https://api.github.com/repos/babel/babel/branches{/branch}","tags_url":"https://api.github.com/repos/babel/babel/tags","blobs_url":"https://api.github.com/repos/babel/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/babel/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/babel/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/babel/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/babel/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/babel/babel/languages","stargazers_url":"https://api.github.com/repos/babel/babel/stargazers","contributors_url":"https://api.github.com/repos/babel/babel/contributors","subscribers_url":"https://api.github.com/repos/babel/babel/subscribers","subscription_url":"https://api.github.com/repos/babel/babel/subscription","commits_url":"https://api.github.com/repos/babel/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/babel/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/babel/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/babel/babel/issues/comments/{number}","contents_url":"https://api.github.com/repos/babel/babel/contents/{+path}","compare_url":"https://api.github.com/repos/babel/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/babel/babel/merges","archive_url":"https://api.github.com/repos/babel/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/babel/babel/downloads","issues_url":"https://api.github.com/repos/babel/babel/issues{/number}","pulls_url":"https://api.github.com/repos/babel/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/babel/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/babel/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/babel/babel/labels{/name}","releases_url":"https://api.github.com/repos/babel/babel/releases{/id}","created_at":"2014-09-28T13:38:23Z","updated_at":"2015-02-16T22:17:10Z","pushed_at":"2015-02-16T22:17:10Z","git_url":"git://github.com/babel/babel.git","ssh_url":"git@github.com:babel/babel.git","clone_url":"https://github.com/babel/babel.git","svn_url":"https://github.com/babel/babel","homepage":"https://babeljs.io/","size":11036,"stargazers_count":3448,"watchers_count":3448,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":33,"forks":127,"open_issues":33,"watchers":3448,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/babel/babel/pulls/797"},"html":{"href":"https://github.com/babel/babel/pull/797"},"issue":{"href":"https://api.github.com/repos/babel/babel/issues/797"},"comments":{"href":"https://api.github.com/repos/babel/babel/issues/797/comments"},"review_comments":{"href":"https://api.github.com/repos/babel/babel/pulls/797/comments"},"review_comment":{"href":"https://api.github.com/repos/babel/babel/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/babel/babel/pulls/797/commits"},"statuses":{"href":"https://api.github.com/repos/babel/babel/statuses/196736f3841910beb8a00f3b057dc96a3b0726ce"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}