{"action":"opened","number":840,"pull_request":{"url":"https://api.github.com/repos/ponylang/ponyc/pulls/840","id":70307958,"html_url":"https://github.com/ponylang/ponyc/pull/840","diff_url":"https://github.com/ponylang/ponyc/pull/840.diff","patch_url":"https://github.com/ponylang/ponyc/pull/840.patch","issue_url":"https://api.github.com/repos/ponylang/ponyc/issues/840","number":840,"state":"open","locked":false,"title":"Print error and info messages to stderr instead of stdout.","user":{"login":"jemc","id":4623870,"avatar_url":"https://avatars.githubusercontent.com/u/4623870?v=3","gravatar_id":"","url":"https://api.github.com/users/jemc","html_url":"https://github.com/jemc","followers_url":"https://api.github.com/users/jemc/followers","following_url":"https://api.github.com/users/jemc/following{/other_user}","gists_url":"https://api.github.com/users/jemc/gists{/gist_id}","starred_url":"https://api.github.com/users/jemc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jemc/subscriptions","organizations_url":"https://api.github.com/users/jemc/orgs","repos_url":"https://api.github.com/users/jemc/repos","events_url":"https://api.github.com/users/jemc/events{/privacy}","received_events_url":"https://api.github.com/users/jemc/received_events","type":"User","site_admin":false},"body":"Currently, all error and info and diagnostic output is logged to stdout.  This is a problem for dumping ASTs from earlier passes, which are also sent to stdout.  It seems more correct to dump AST output to stdout (as output of the program), and send all errors and info and out-of-band compiler messages to stderr.","created_at":"2016-05-17T06:57:39Z","updated_at":"2016-05-17T06:57:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"530331dd3f2da88e11e54a0dcc70830fa1c00eed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ponylang/ponyc/pulls/840/commits","review_comments_url":"https://api.github.com/repos/ponylang/ponyc/pulls/840/comments","review_comment_url":"https://api.github.com/repos/ponylang/ponyc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ponylang/ponyc/issues/840/comments","statuses_url":"https://api.github.com/repos/ponylang/ponyc/statuses/450c7deff396519ed81d8831ac56bb4b2d43e4f7","head":{"label":"ponylang:refactor/print-stderr","ref":"refactor/print-stderr","sha":"450c7deff396519ed81d8831ac56bb4b2d43e4f7","user":{"login":"ponylang","id":12997238,"avatar_url":"https://avatars.githubusercontent.com/u/12997238?v=3","gravatar_id":"","url":"https://api.github.com/users/ponylang","html_url":"https://github.com/ponylang","followers_url":"https://api.github.com/users/ponylang/followers","following_url":"https://api.github.com/users/ponylang/following{/other_user}","gists_url":"https://api.github.com/users/ponylang/gists{/gist_id}","starred_url":"https://api.github.com/users/ponylang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ponylang/subscriptions","organizations_url":"https://api.github.com/users/ponylang/orgs","repos_url":"https://api.github.com/users/ponylang/repos","events_url":"https://api.github.com/users/ponylang/events{/privacy}","received_events_url":"https://api.github.com/users/ponylang/received_events","type":"Organization","site_admin":false},"repo":{"id":6667084,"name":"ponyc","full_name":"ponylang/ponyc","owner":{"login":"ponylang","id":12997238,"avatar_url":"https://avatars.githubusercontent.com/u/12997238?v=3","gravatar_id":"","url":"https://api.github.com/users/ponylang","html_url":"https://github.com/ponylang","followers_url":"https://api.github.com/users/ponylang/followers","following_url":"https://api.github.com/users/ponylang/following{/other_user}","gists_url":"https://api.github.com/users/ponylang/gists{/gist_id}","starred_url":"https://api.github.com/users/ponylang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ponylang/subscriptions","organizations_url":"https://api.github.com/users/ponylang/orgs","repos_url":"https://api.github.com/users/ponylang/repos","events_url":"https://api.github.com/users/ponylang/events{/privacy}","received_events_url":"https://api.github.com/users/ponylang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ponylang/ponyc","description":"Pony Compiler","fork":false,"url":"https://api.github.com/repos/ponylang/ponyc","forks_url":"https://api.github.com/repos/ponylang/ponyc/forks","keys_url":"https://api.github.com/repos/ponylang/ponyc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ponylang/ponyc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ponylang/ponyc/teams","hooks_url":"https://api.github.com/repos/ponylang/ponyc/hooks","issue_events_url":"https://api.github.com/repos/ponylang/ponyc/issues/events{/number}","events_url":"https://api.github.com/repos/ponylang/ponyc/events","assignees_url":"https://api.github.com/repos/ponylang/ponyc/assignees{/user}","branches_url":"https://api.github.com/repos/ponylang/ponyc/branches{/branch}","tags_url":"https://api.github.com/repos/ponylang/ponyc/tags","blobs_url":"https://api.github.com/repos/ponylang/ponyc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ponylang/ponyc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ponylang/ponyc/git/refs{/sha}","trees_url":"https://api.github.com/repos/ponylang/ponyc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ponylang/ponyc/statuses/{sha}","languages_url":"https://api.github.com/repos/ponylang/ponyc/languages","stargazers_url":"https://api.github.com/repos/ponylang/ponyc/stargazers","contributors_url":"https://api.github.com/repos/ponylang/ponyc/contributors","subscribers_url":"https://api.github.com/repos/ponylang/ponyc/subscribers","subscription_url":"https://api.github.com/repos/ponylang/ponyc/subscription","commits_url":"https://api.github.com/repos/ponylang/ponyc/commits{/sha}","git_commits_url":"https://api.github.com/repos/ponylang/ponyc/git/commits{/sha}","comments_url":"https://api.github.com/repos/ponylang/ponyc/comments{/number}","issue_comment_url":"https://api.github.com/repos/ponylang/ponyc/issues/comments{/number}","contents_url":"https://api.github.com/repos/ponylang/ponyc/contents/{+path}","compare_url":"https://api.github.com/repos/ponylang/ponyc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ponylang/ponyc/merges","archive_url":"https://api.github.com/repos/ponylang/ponyc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ponylang/ponyc/downloads","issues_url":"https://api.github.com/repos/ponylang/ponyc/issues{/number}","pulls_url":"https://api.github.com/repos/ponylang/ponyc/pulls{/number}","milestones_url":"https://api.github.com/repos/ponylang/ponyc/milestones{/number}","notifications_url":"https://api.github.com/repos/ponylang/ponyc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ponylang/ponyc/labels{/name}","releases_url":"https://api.github.com/repos/ponylang/ponyc/releases{/id}","deployments_url":"https://api.github.com/repos/ponylang/ponyc/deployments","created_at":"2012-11-13T07:38:25Z","updated_at":"2016-05-16T03:56:54Z","pushed_at":"2016-05-17T06:57:40Z","git_url":"git://github.com/ponylang/ponyc.git","ssh_url":"git@github.com:ponylang/ponyc.git","clone_url":"https://github.com/ponylang/ponyc.git","svn_url":"https://github.com/ponylang/ponyc","homepage":"http://www.ponylang.org","size":47292,"stargazers_count":1466,"watchers_count":1466,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":100,"mirror_url":null,"open_issues_count":82,"forks":100,"open_issues":82,"watchers":1466,"default_branch":"master"}},"base":{"label":"ponylang:master","ref":"master","sha":"7987c3a1ce201d998026975d7f6704fcf77f8955","user":{"login":"ponylang","id":12997238,"avatar_url":"https://avatars.githubusercontent.com/u/12997238?v=3","gravatar_id":"","url":"https://api.github.com/users/ponylang","html_url":"https://github.com/ponylang","followers_url":"https://api.github.com/users/ponylang/followers","following_url":"https://api.github.com/users/ponylang/following{/other_user}","gists_url":"https://api.github.com/users/ponylang/gists{/gist_id}","starred_url":"https://api.github.com/users/ponylang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ponylang/subscriptions","organizations_url":"https://api.github.com/users/ponylang/orgs","repos_url":"https://api.github.com/users/ponylang/repos","events_url":"https://api.github.com/users/ponylang/events{/privacy}","received_events_url":"https://api.github.com/users/ponylang/received_events","type":"Organization","site_admin":false},"repo":{"id":6667084,"name":"ponyc","full_name":"ponylang/ponyc","owner":{"login":"ponylang","id":12997238,"avatar_url":"https://avatars.githubusercontent.com/u/12997238?v=3","gravatar_id":"","url":"https://api.github.com/users/ponylang","html_url":"https://github.com/ponylang","followers_url":"https://api.github.com/users/ponylang/followers","following_url":"https://api.github.com/users/ponylang/following{/other_user}","gists_url":"https://api.github.com/users/ponylang/gists{/gist_id}","starred_url":"https://api.github.com/users/ponylang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ponylang/subscriptions","organizations_url":"https://api.github.com/users/ponylang/orgs","repos_url":"https://api.github.com/users/ponylang/repos","events_url":"https://api.github.com/users/ponylang/events{/privacy}","received_events_url":"https://api.github.com/users/ponylang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ponylang/ponyc","description":"Pony Compiler","fork":false,"url":"https://api.github.com/repos/ponylang/ponyc","forks_url":"https://api.github.com/repos/ponylang/ponyc/forks","keys_url":"https://api.github.com/repos/ponylang/ponyc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ponylang/ponyc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ponylang/ponyc/teams","hooks_url":"https://api.github.com/repos/ponylang/ponyc/hooks","issue_events_url":"https://api.github.com/repos/ponylang/ponyc/issues/events{/number}","events_url":"https://api.github.com/repos/ponylang/ponyc/events","assignees_url":"https://api.github.com/repos/ponylang/ponyc/assignees{/user}","branches_url":"https://api.github.com/repos/ponylang/ponyc/branches{/branch}","tags_url":"https://api.github.com/repos/ponylang/ponyc/tags","blobs_url":"https://api.github.com/repos/ponylang/ponyc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ponylang/ponyc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ponylang/ponyc/git/refs{/sha}","trees_url":"https://api.github.com/repos/ponylang/ponyc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ponylang/ponyc/statuses/{sha}","languages_url":"https://api.github.com/repos/ponylang/ponyc/languages","stargazers_url":"https://api.github.com/repos/ponylang/ponyc/stargazers","contributors_url":"https://api.github.com/repos/ponylang/ponyc/contributors","subscribers_url":"https://api.github.com/repos/ponylang/ponyc/subscribers","subscription_url":"https://api.github.com/repos/ponylang/ponyc/subscription","commits_url":"https://api.github.com/repos/ponylang/ponyc/commits{/sha}","git_commits_url":"https://api.github.com/repos/ponylang/ponyc/git/commits{/sha}","comments_url":"https://api.github.com/repos/ponylang/ponyc/comments{/number}","issue_comment_url":"https://api.github.com/repos/ponylang/ponyc/issues/comments{/number}","contents_url":"https://api.github.com/repos/ponylang/ponyc/contents/{+path}","compare_url":"https://api.github.com/repos/ponylang/ponyc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ponylang/ponyc/merges","archive_url":"https://api.github.com/repos/ponylang/ponyc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ponylang/ponyc/downloads","issues_url":"https://api.github.com/repos/ponylang/ponyc/issues{/number}","pulls_url":"https://api.github.com/repos/ponylang/ponyc/pulls{/number}","milestones_url":"https://api.github.com/repos/ponylang/ponyc/milestones{/number}","notifications_url":"https://api.github.com/repos/ponylang/ponyc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ponylang/ponyc/labels{/name}","releases_url":"https://api.github.com/repos/ponylang/ponyc/releases{/id}","deployments_url":"https://api.github.com/repos/ponylang/ponyc/deployments","created_at":"2012-11-13T07:38:25Z","updated_at":"2016-05-16T03:56:54Z","pushed_at":"2016-05-17T06:57:40Z","git_url":"git://github.com/ponylang/ponyc.git","ssh_url":"git@github.com:ponylang/ponyc.git","clone_url":"https://github.com/ponylang/ponyc.git","svn_url":"https://github.com/ponylang/ponyc","homepage":"http://www.ponylang.org","size":47292,"stargazers_count":1466,"watchers_count":1466,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":100,"mirror_url":null,"open_issues_count":82,"forks":100,"open_issues":82,"watchers":1466,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ponylang/ponyc/pulls/840"},"html":{"href":"https://github.com/ponylang/ponyc/pull/840"},"issue":{"href":"https://api.github.com/repos/ponylang/ponyc/issues/840"},"comments":{"href":"https://api.github.com/repos/ponylang/ponyc/issues/840/comments"},"review_comments":{"href":"https://api.github.com/repos/ponylang/ponyc/pulls/840/comments"},"review_comment":{"href":"https://api.github.com/repos/ponylang/ponyc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ponylang/ponyc/pulls/840/commits"},"statuses":{"href":"https://api.github.com/repos/ponylang/ponyc/statuses/450c7deff396519ed81d8831ac56bb4b2d43e4f7"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":98,"deletions":73,"changed_files":16}}