{"action":"closed","number":1625,"pull_request":{"url":"https://api.github.com/repos/p4lang/p4c/pulls/1625","id":237085925,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MDg1OTI1","html_url":"https://github.com/p4lang/p4c/pull/1625","diff_url":"https://github.com/p4lang/p4c/pull/1625.diff","patch_url":"https://github.com/p4lang/p4c/pull/1625.patch","issue_url":"https://api.github.com/repos/p4lang/p4c/issues/1625","number":1625,"state":"closed","locked":false,"title":"Move #include directives to fix broken dependencies","user":{"login":"dmakarov","id":103494,"node_id":"MDQ6VXNlcjEwMzQ5NA==","avatar_url":"https://avatars1.githubusercontent.com/u/103494?v=4","gravatar_id":"","url":"https://api.github.com/users/dmakarov","html_url":"https://github.com/dmakarov","followers_url":"https://api.github.com/users/dmakarov/followers","following_url":"https://api.github.com/users/dmakarov/following{/other_user}","gists_url":"https://api.github.com/users/dmakarov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmakarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmakarov/subscriptions","organizations_url":"https://api.github.com/users/dmakarov/orgs","repos_url":"https://api.github.com/users/dmakarov/repos","events_url":"https://api.github.com/users/dmakarov/events{/privacy}","received_events_url":"https://api.github.com/users/dmakarov/received_events","type":"User","site_admin":false},"body":"This fixes the broken build when ENABLE_UNIFIED_COMPILATION=OFF\r\nThe error is the following\r\n```\r\nIn file included from ../frontends/parsers/p4/p4AnnotationLexer.cpp:1:\r\nIn file included from ../frontends/parsers/p4/p4AnnotationLexer.hpp:4:\r\nIn file included from ../frontends/parsers/p4/abstractP4Lexer.hpp:4:\r\nparsers/p4/p4parser.ypp:57:8: error: use of undeclared identifier 'std'\r\ninline std::ostream& operator<<(std::ostream& out, const P4::OptionalConst& oc) {\r\n```","created_at":"2018-12-08T19:13:08Z","updated_at":"2018-12-08T19:46:49Z","closed_at":"2018-12-08T19:46:49Z","merged_at":"2018-12-08T19:46:49Z","merge_commit_sha":"14621814cbf347961f47c978cc96c305ec08018d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/p4lang/p4c/pulls/1625/commits","review_comments_url":"https://api.github.com/repos/p4lang/p4c/pulls/1625/comments","review_comment_url":"https://api.github.com/repos/p4lang/p4c/pulls/comments{/number}","comments_url":"https://api.github.com/repos/p4lang/p4c/issues/1625/comments","statuses_url":"https://api.github.com/repos/p4lang/p4c/statuses/ba8d93ca274630fe29ce692e59ba3a2014f1dde5","head":{"label":"dmakarov:master","ref":"master","sha":"ba8d93ca274630fe29ce692e59ba3a2014f1dde5","user":{"login":"dmakarov","id":103494,"node_id":"MDQ6VXNlcjEwMzQ5NA==","avatar_url":"https://avatars1.githubusercontent.com/u/103494?v=4","gravatar_id":"","url":"https://api.github.com/users/dmakarov","html_url":"https://github.com/dmakarov","followers_url":"https://api.github.com/users/dmakarov/followers","following_url":"https://api.github.com/users/dmakarov/following{/other_user}","gists_url":"https://api.github.com/users/dmakarov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmakarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmakarov/subscriptions","organizations_url":"https://api.github.com/users/dmakarov/orgs","repos_url":"https://api.github.com/users/dmakarov/repos","events_url":"https://api.github.com/users/dmakarov/events{/privacy}","received_events_url":"https://api.github.com/users/dmakarov/received_events","type":"User","site_admin":false},"repo":{"id":138378009,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgzNzgwMDk=","name":"p4c","full_name":"dmakarov/p4c","private":false,"owner":{"login":"dmakarov","id":103494,"node_id":"MDQ6VXNlcjEwMzQ5NA==","avatar_url":"https://avatars1.githubusercontent.com/u/103494?v=4","gravatar_id":"","url":"https://api.github.com/users/dmakarov","html_url":"https://github.com/dmakarov","followers_url":"https://api.github.com/users/dmakarov/followers","following_url":"https://api.github.com/users/dmakarov/following{/other_user}","gists_url":"https://api.github.com/users/dmakarov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmakarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmakarov/subscriptions","organizations_url":"https://api.github.com/users/dmakarov/orgs","repos_url":"https://api.github.com/users/dmakarov/repos","events_url":"https://api.github.com/users/dmakarov/events{/privacy}","received_events_url":"https://api.github.com/users/dmakarov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dmakarov/p4c","description":"P4_16 prototype compiler","fork":true,"url":"https://api.github.com/repos/dmakarov/p4c","forks_url":"https://api.github.com/repos/dmakarov/p4c/forks","keys_url":"https://api.github.com/repos/dmakarov/p4c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmakarov/p4c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmakarov/p4c/teams","hooks_url":"https://api.github.com/repos/dmakarov/p4c/hooks","issue_events_url":"https://api.github.com/repos/dmakarov/p4c/issues/events{/number}","events_url":"https://api.github.com/repos/dmakarov/p4c/events","assignees_url":"https://api.github.com/repos/dmakarov/p4c/assignees{/user}","branches_url":"https://api.github.com/repos/dmakarov/p4c/branches{/branch}","tags_url":"https://api.github.com/repos/dmakarov/p4c/tags","blobs_url":"https://api.github.com/repos/dmakarov/p4c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmakarov/p4c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmakarov/p4c/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmakarov/p4c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmakarov/p4c/statuses/{sha}","languages_url":"https://api.github.com/repos/dmakarov/p4c/languages","stargazers_url":"https://api.github.com/repos/dmakarov/p4c/stargazers","contributors_url":"https://api.github.com/repos/dmakarov/p4c/contributors","subscribers_url":"https://api.github.com/repos/dmakarov/p4c/subscribers","subscription_url":"https://api.github.com/repos/dmakarov/p4c/subscription","commits_url":"https://api.github.com/repos/dmakarov/p4c/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmakarov/p4c/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmakarov/p4c/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmakarov/p4c/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmakarov/p4c/contents/{+path}","compare_url":"https://api.github.com/repos/dmakarov/p4c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmakarov/p4c/merges","archive_url":"https://api.github.com/repos/dmakarov/p4c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmakarov/p4c/downloads","issues_url":"https://api.github.com/repos/dmakarov/p4c/issues{/number}","pulls_url":"https://api.github.com/repos/dmakarov/p4c/pulls{/number}","milestones_url":"https://api.github.com/repos/dmakarov/p4c/milestones{/number}","notifications_url":"https://api.github.com/repos/dmakarov/p4c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmakarov/p4c/labels{/name}","releases_url":"https://api.github.com/repos/dmakarov/p4c/releases{/id}","deployments_url":"https://api.github.com/repos/dmakarov/p4c/deployments","created_at":"2018-06-23T06:43:54Z","updated_at":"2018-12-08T19:11:23Z","pushed_at":"2018-12-08T19:11:21Z","git_url":"git://github.com/dmakarov/p4c.git","ssh_url":"git@github.com:dmakarov/p4c.git","clone_url":"https://github.com/dmakarov/p4c.git","svn_url":"https://github.com/dmakarov/p4c","homepage":"","size":74374,"stargazers_count":0,"watchers_count":0,"language":"P4","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"p4lang:master","ref":"master","sha":"ca777df0096d3a5b82cc1552a5e193b7012fc5fd","user":{"login":"p4lang","id":10765181,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNzY1MTgx","avatar_url":"https://avatars1.githubusercontent.com/u/10765181?v=4","gravatar_id":"","url":"https://api.github.com/users/p4lang","html_url":"https://github.com/p4lang","followers_url":"https://api.github.com/users/p4lang/followers","following_url":"https://api.github.com/users/p4lang/following{/other_user}","gists_url":"https://api.github.com/users/p4lang/gists{/gist_id}","starred_url":"https://api.github.com/users/p4lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4lang/subscriptions","organizations_url":"https://api.github.com/users/p4lang/orgs","repos_url":"https://api.github.com/users/p4lang/repos","events_url":"https://api.github.com/users/p4lang/events{/privacy}","received_events_url":"https://api.github.com/users/p4lang/received_events","type":"Organization","site_admin":false},"repo":{"id":55433859,"node_id":"MDEwOlJlcG9zaXRvcnk1NTQzMzg1OQ==","name":"p4c","full_name":"p4lang/p4c","private":false,"owner":{"login":"p4lang","id":10765181,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNzY1MTgx","avatar_url":"https://avatars1.githubusercontent.com/u/10765181?v=4","gravatar_id":"","url":"https://api.github.com/users/p4lang","html_url":"https://github.com/p4lang","followers_url":"https://api.github.com/users/p4lang/followers","following_url":"https://api.github.com/users/p4lang/following{/other_user}","gists_url":"https://api.github.com/users/p4lang/gists{/gist_id}","starred_url":"https://api.github.com/users/p4lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4lang/subscriptions","organizations_url":"https://api.github.com/users/p4lang/orgs","repos_url":"https://api.github.com/users/p4lang/repos","events_url":"https://api.github.com/users/p4lang/events{/privacy}","received_events_url":"https://api.github.com/users/p4lang/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/p4lang/p4c","description":"P4_16 prototype compiler","fork":false,"url":"https://api.github.com/repos/p4lang/p4c","forks_url":"https://api.github.com/repos/p4lang/p4c/forks","keys_url":"https://api.github.com/repos/p4lang/p4c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/p4lang/p4c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/p4lang/p4c/teams","hooks_url":"https://api.github.com/repos/p4lang/p4c/hooks","issue_events_url":"https://api.github.com/repos/p4lang/p4c/issues/events{/number}","events_url":"https://api.github.com/repos/p4lang/p4c/events","assignees_url":"https://api.github.com/repos/p4lang/p4c/assignees{/user}","branches_url":"https://api.github.com/repos/p4lang/p4c/branches{/branch}","tags_url":"https://api.github.com/repos/p4lang/p4c/tags","blobs_url":"https://api.github.com/repos/p4lang/p4c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/p4lang/p4c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/p4lang/p4c/git/refs{/sha}","trees_url":"https://api.github.com/repos/p4lang/p4c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/p4lang/p4c/statuses/{sha}","languages_url":"https://api.github.com/repos/p4lang/p4c/languages","stargazers_url":"https://api.github.com/repos/p4lang/p4c/stargazers","contributors_url":"https://api.github.com/repos/p4lang/p4c/contributors","subscribers_url":"https://api.github.com/repos/p4lang/p4c/subscribers","subscription_url":"https://api.github.com/repos/p4lang/p4c/subscription","commits_url":"https://api.github.com/repos/p4lang/p4c/commits{/sha}","git_commits_url":"https://api.github.com/repos/p4lang/p4c/git/commits{/sha}","comments_url":"https://api.github.com/repos/p4lang/p4c/comments{/number}","issue_comment_url":"https://api.github.com/repos/p4lang/p4c/issues/comments{/number}","contents_url":"https://api.github.com/repos/p4lang/p4c/contents/{+path}","compare_url":"https://api.github.com/repos/p4lang/p4c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/p4lang/p4c/merges","archive_url":"https://api.github.com/repos/p4lang/p4c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/p4lang/p4c/downloads","issues_url":"https://api.github.com/repos/p4lang/p4c/issues{/number}","pulls_url":"https://api.github.com/repos/p4lang/p4c/pulls{/number}","milestones_url":"https://api.github.com/repos/p4lang/p4c/milestones{/number}","notifications_url":"https://api.github.com/repos/p4lang/p4c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/p4lang/p4c/labels{/name}","releases_url":"https://api.github.com/repos/p4lang/p4c/releases{/id}","deployments_url":"https://api.github.com/repos/p4lang/p4c/deployments","created_at":"2016-04-04T18:12:32Z","updated_at":"2018-12-07T21:10:09Z","pushed_at":"2018-12-08T19:46:49Z","git_url":"git://github.com/p4lang/p4c.git","ssh_url":"git@github.com:p4lang/p4c.git","clone_url":"https://github.com/p4lang/p4c.git","svn_url":"https://github.com/p4lang/p4c","homepage":"","size":74583,"stargazers_count":154,"watchers_count":154,"language":"P4","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":96,"mirror_url":null,"archived":false,"open_issues_count":83,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":96,"open_issues":83,"watchers":154,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/p4lang/p4c/pulls/1625"},"html":{"href":"https://github.com/p4lang/p4c/pull/1625"},"issue":{"href":"https://api.github.com/repos/p4lang/p4c/issues/1625"},"comments":{"href":"https://api.github.com/repos/p4lang/p4c/issues/1625/comments"},"review_comments":{"href":"https://api.github.com/repos/p4lang/p4c/pulls/1625/comments"},"review_comment":{"href":"https://api.github.com/repos/p4lang/p4c/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/p4lang/p4c/pulls/1625/commits"},"statuses":{"href":"https://api.github.com/repos/p4lang/p4c/statuses/ba8d93ca274630fe29ce692e59ba3a2014f1dde5"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ChrisDodd","id":4070641,"node_id":"MDQ6VXNlcjQwNzA2NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/4070641?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisDodd","html_url":"https://github.com/ChrisDodd","followers_url":"https://api.github.com/users/ChrisDodd/followers","following_url":"https://api.github.com/users/ChrisDodd/following{/other_user}","gists_url":"https://api.github.com/users/ChrisDodd/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisDodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisDodd/subscriptions","organizations_url":"https://api.github.com/users/ChrisDodd/orgs","repos_url":"https://api.github.com/users/ChrisDodd/repos","events_url":"https://api.github.com/users/ChrisDodd/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisDodd/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":8,"deletions":8,"changed_files":1}}
{"actor":{"display_login":"ChrisDodd"}}