{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/milessabin/macro-compat/pulls/4","id":44609935,"html_url":"https://github.com/milessabin/macro-compat/pull/4","diff_url":"https://github.com/milessabin/macro-compat/pull/4.diff","patch_url":"https://github.com/milessabin/macro-compat/pull/4.patch","issue_url":"https://api.github.com/repos/milessabin/macro-compat/issues/4","number":4,"state":"closed","locked":false,"title":"Add support for companion, decls and paramLists","user":{"login":"philwills","id":68329,"avatar_url":"https://avatars.githubusercontent.com/u/68329?v=3","gravatar_id":"","url":"https://api.github.com/users/philwills","html_url":"https://github.com/philwills","followers_url":"https://api.github.com/users/philwills/followers","following_url":"https://api.github.com/users/philwills/following{/other_user}","gists_url":"https://api.github.com/users/philwills/gists{/gist_id}","starred_url":"https://api.github.com/users/philwills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwills/subscriptions","organizations_url":"https://api.github.com/users/philwills/orgs","repos_url":"https://api.github.com/users/philwills/repos","events_url":"https://api.github.com/users/philwills/events{/privacy}","received_events_url":"https://api.github.com/users/philwills/received_events","type":"User","site_admin":false},"body":"The companion implementation doesn't support going from object -> class, only class -> object, as I haven't yet worked out how to construct a macro that starts from an object and I need to get some sleep.\r\n\r\nOn the plus side, with this patch, I was able to successfully cross-build Marley(https://github.com/guardian/marley/tree/macro-compat) with this.","created_at":"2015-09-09T22:47:08Z","updated_at":"2015-09-13T09:26:01Z","closed_at":"2015-09-13T09:26:01Z","merged_at":"2015-09-13T09:26:01Z","merge_commit_sha":"407b1d7f9e735453d17ec3ec16600bf4b55c5fa2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/milessabin/macro-compat/pulls/4/commits","review_comments_url":"https://api.github.com/repos/milessabin/macro-compat/pulls/4/comments","review_comment_url":"https://api.github.com/repos/milessabin/macro-compat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/milessabin/macro-compat/issues/4/comments","statuses_url":"https://api.github.com/repos/milessabin/macro-compat/statuses/c45e8feb25f79af95ebd8a0c66e3f87f59841bb7","head":{"label":"philwills:companion-decls-paramLists","ref":"companion-decls-paramLists","sha":"c45e8feb25f79af95ebd8a0c66e3f87f59841bb7","user":{"login":"philwills","id":68329,"avatar_url":"https://avatars.githubusercontent.com/u/68329?v=3","gravatar_id":"","url":"https://api.github.com/users/philwills","html_url":"https://github.com/philwills","followers_url":"https://api.github.com/users/philwills/followers","following_url":"https://api.github.com/users/philwills/following{/other_user}","gists_url":"https://api.github.com/users/philwills/gists{/gist_id}","starred_url":"https://api.github.com/users/philwills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwills/subscriptions","organizations_url":"https://api.github.com/users/philwills/orgs","repos_url":"https://api.github.com/users/philwills/repos","events_url":"https://api.github.com/users/philwills/events{/privacy}","received_events_url":"https://api.github.com/users/philwills/received_events","type":"User","site_admin":false},"repo":{"id":42205748,"name":"macro-compat","full_name":"philwills/macro-compat","owner":{"login":"philwills","id":68329,"avatar_url":"https://avatars.githubusercontent.com/u/68329?v=3","gravatar_id":"","url":"https://api.github.com/users/philwills","html_url":"https://github.com/philwills","followers_url":"https://api.github.com/users/philwills/followers","following_url":"https://api.github.com/users/philwills/following{/other_user}","gists_url":"https://api.github.com/users/philwills/gists{/gist_id}","starred_url":"https://api.github.com/users/philwills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwills/subscriptions","organizations_url":"https://api.github.com/users/philwills/orgs","repos_url":"https://api.github.com/users/philwills/repos","events_url":"https://api.github.com/users/philwills/events{/privacy}","received_events_url":"https://api.github.com/users/philwills/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/philwills/macro-compat","description":"macro-compat is a small library which allows you to compile macros with Scala 2.10.x which are written to the Scala 2.11/2 macro API.","fork":true,"url":"https://api.github.com/repos/philwills/macro-compat","forks_url":"https://api.github.com/repos/philwills/macro-compat/forks","keys_url":"https://api.github.com/repos/philwills/macro-compat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philwills/macro-compat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philwills/macro-compat/teams","hooks_url":"https://api.github.com/repos/philwills/macro-compat/hooks","issue_events_url":"https://api.github.com/repos/philwills/macro-compat/issues/events{/number}","events_url":"https://api.github.com/repos/philwills/macro-compat/events","assignees_url":"https://api.github.com/repos/philwills/macro-compat/assignees{/user}","branches_url":"https://api.github.com/repos/philwills/macro-compat/branches{/branch}","tags_url":"https://api.github.com/repos/philwills/macro-compat/tags","blobs_url":"https://api.github.com/repos/philwills/macro-compat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philwills/macro-compat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philwills/macro-compat/git/refs{/sha}","trees_url":"https://api.github.com/repos/philwills/macro-compat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philwills/macro-compat/statuses/{sha}","languages_url":"https://api.github.com/repos/philwills/macro-compat/languages","stargazers_url":"https://api.github.com/repos/philwills/macro-compat/stargazers","contributors_url":"https://api.github.com/repos/philwills/macro-compat/contributors","subscribers_url":"https://api.github.com/repos/philwills/macro-compat/subscribers","subscription_url":"https://api.github.com/repos/philwills/macro-compat/subscription","commits_url":"https://api.github.com/repos/philwills/macro-compat/commits{/sha}","git_commits_url":"https://api.github.com/repos/philwills/macro-compat/git/commits{/sha}","comments_url":"https://api.github.com/repos/philwills/macro-compat/comments{/number}","issue_comment_url":"https://api.github.com/repos/philwills/macro-compat/issues/comments{/number}","contents_url":"https://api.github.com/repos/philwills/macro-compat/contents/{+path}","compare_url":"https://api.github.com/repos/philwills/macro-compat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philwills/macro-compat/merges","archive_url":"https://api.github.com/repos/philwills/macro-compat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philwills/macro-compat/downloads","issues_url":"https://api.github.com/repos/philwills/macro-compat/issues{/number}","pulls_url":"https://api.github.com/repos/philwills/macro-compat/pulls{/number}","milestones_url":"https://api.github.com/repos/philwills/macro-compat/milestones{/number}","notifications_url":"https://api.github.com/repos/philwills/macro-compat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philwills/macro-compat/labels{/name}","releases_url":"https://api.github.com/repos/philwills/macro-compat/releases{/id}","created_at":"2015-09-09T21:27:20Z","updated_at":"2015-09-09T21:27:21Z","pushed_at":"2015-09-12T19:33:45Z","git_url":"git://github.com/philwills/macro-compat.git","ssh_url":"git@github.com:philwills/macro-compat.git","clone_url":"https://github.com/philwills/macro-compat.git","svn_url":"https://github.com/philwills/macro-compat","homepage":null,"size":118,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"milessabin:master","ref":"master","sha":"ba7b00d3b9e067a6cc9ee3117067e1fe838568e0","user":{"login":"milessabin","id":131183,"avatar_url":"https://avatars.githubusercontent.com/u/131183?v=3","gravatar_id":"","url":"https://api.github.com/users/milessabin","html_url":"https://github.com/milessabin","followers_url":"https://api.github.com/users/milessabin/followers","following_url":"https://api.github.com/users/milessabin/following{/other_user}","gists_url":"https://api.github.com/users/milessabin/gists{/gist_id}","starred_url":"https://api.github.com/users/milessabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milessabin/subscriptions","organizations_url":"https://api.github.com/users/milessabin/orgs","repos_url":"https://api.github.com/users/milessabin/repos","events_url":"https://api.github.com/users/milessabin/events{/privacy}","received_events_url":"https://api.github.com/users/milessabin/received_events","type":"User","site_admin":false},"repo":{"id":41888078,"name":"macro-compat","full_name":"milessabin/macro-compat","owner":{"login":"milessabin","id":131183,"avatar_url":"https://avatars.githubusercontent.com/u/131183?v=3","gravatar_id":"","url":"https://api.github.com/users/milessabin","html_url":"https://github.com/milessabin","followers_url":"https://api.github.com/users/milessabin/followers","following_url":"https://api.github.com/users/milessabin/following{/other_user}","gists_url":"https://api.github.com/users/milessabin/gists{/gist_id}","starred_url":"https://api.github.com/users/milessabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milessabin/subscriptions","organizations_url":"https://api.github.com/users/milessabin/orgs","repos_url":"https://api.github.com/users/milessabin/repos","events_url":"https://api.github.com/users/milessabin/events{/privacy}","received_events_url":"https://api.github.com/users/milessabin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/milessabin/macro-compat","description":"macro-compat is a small library which allows you to compile macros with Scala 2.10.x which are written to the Scala 2.11/2 macro API.","fork":false,"url":"https://api.github.com/repos/milessabin/macro-compat","forks_url":"https://api.github.com/repos/milessabin/macro-compat/forks","keys_url":"https://api.github.com/repos/milessabin/macro-compat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/milessabin/macro-compat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/milessabin/macro-compat/teams","hooks_url":"https://api.github.com/repos/milessabin/macro-compat/hooks","issue_events_url":"https://api.github.com/repos/milessabin/macro-compat/issues/events{/number}","events_url":"https://api.github.com/repos/milessabin/macro-compat/events","assignees_url":"https://api.github.com/repos/milessabin/macro-compat/assignees{/user}","branches_url":"https://api.github.com/repos/milessabin/macro-compat/branches{/branch}","tags_url":"https://api.github.com/repos/milessabin/macro-compat/tags","blobs_url":"https://api.github.com/repos/milessabin/macro-compat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/milessabin/macro-compat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/milessabin/macro-compat/git/refs{/sha}","trees_url":"https://api.github.com/repos/milessabin/macro-compat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/milessabin/macro-compat/statuses/{sha}","languages_url":"https://api.github.com/repos/milessabin/macro-compat/languages","stargazers_url":"https://api.github.com/repos/milessabin/macro-compat/stargazers","contributors_url":"https://api.github.com/repos/milessabin/macro-compat/contributors","subscribers_url":"https://api.github.com/repos/milessabin/macro-compat/subscribers","subscription_url":"https://api.github.com/repos/milessabin/macro-compat/subscription","commits_url":"https://api.github.com/repos/milessabin/macro-compat/commits{/sha}","git_commits_url":"https://api.github.com/repos/milessabin/macro-compat/git/commits{/sha}","comments_url":"https://api.github.com/repos/milessabin/macro-compat/comments{/number}","issue_comment_url":"https://api.github.com/repos/milessabin/macro-compat/issues/comments{/number}","contents_url":"https://api.github.com/repos/milessabin/macro-compat/contents/{+path}","compare_url":"https://api.github.com/repos/milessabin/macro-compat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/milessabin/macro-compat/merges","archive_url":"https://api.github.com/repos/milessabin/macro-compat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/milessabin/macro-compat/downloads","issues_url":"https://api.github.com/repos/milessabin/macro-compat/issues{/number}","pulls_url":"https://api.github.com/repos/milessabin/macro-compat/pulls{/number}","milestones_url":"https://api.github.com/repos/milessabin/macro-compat/milestones{/number}","notifications_url":"https://api.github.com/repos/milessabin/macro-compat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/milessabin/macro-compat/labels{/name}","releases_url":"https://api.github.com/repos/milessabin/macro-compat/releases{/id}","created_at":"2015-09-03T23:07:29Z","updated_at":"2015-09-10T19:25:00Z","pushed_at":"2015-09-13T09:26:00Z","git_url":"git://github.com/milessabin/macro-compat.git","ssh_url":"git@github.com:milessabin/macro-compat.git","clone_url":"https://github.com/milessabin/macro-compat.git","svn_url":"https://github.com/milessabin/macro-compat","homepage":null,"size":209,"stargazers_count":13,"watchers_count":13,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":0,"forks":6,"open_issues":0,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/milessabin/macro-compat/pulls/4"},"html":{"href":"https://github.com/milessabin/macro-compat/pull/4"},"issue":{"href":"https://api.github.com/repos/milessabin/macro-compat/issues/4"},"comments":{"href":"https://api.github.com/repos/milessabin/macro-compat/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/milessabin/macro-compat/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/milessabin/macro-compat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/milessabin/macro-compat/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/milessabin/macro-compat/statuses/c45e8feb25f79af95ebd8a0c66e3f87f59841bb7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"milessabin","id":131183,"avatar_url":"https://avatars.githubusercontent.com/u/131183?v=3","gravatar_id":"","url":"https://api.github.com/users/milessabin","html_url":"https://github.com/milessabin","followers_url":"https://api.github.com/users/milessabin/followers","following_url":"https://api.github.com/users/milessabin/following{/other_user}","gists_url":"https://api.github.com/users/milessabin/gists{/gist_id}","starred_url":"https://api.github.com/users/milessabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milessabin/subscriptions","organizations_url":"https://api.github.com/users/milessabin/orgs","repos_url":"https://api.github.com/users/milessabin/repos","events_url":"https://api.github.com/users/milessabin/events{/privacy}","received_events_url":"https://api.github.com/users/milessabin/received_events","type":"User","site_admin":false},"comments":8,"review_comments":0,"commits":2,"additions":32,"deletions":1,"changed_files":3}}