{"action":"opened","number":67,"pull_request":{"url":"https://api.github.com/repos/quack/quack/pulls/67","id":83562619,"html_url":"https://github.com/quack/quack/pull/67","diff_url":"https://github.com/quack/quack/pull/67.diff","patch_url":"https://github.com/quack/quack/pull/67.patch","issue_url":"https://api.github.com/repos/quack/quack/issues/67","number":67,"state":"open","locked":false,"title":"Member access and object type inference","user":{"login":"haskellcamargo","id":7553006,"avatar_url":"https://avatars.githubusercontent.com/u/7553006?v=3","gravatar_id":"","url":"https://api.github.com/users/haskellcamargo","html_url":"https://github.com/haskellcamargo","followers_url":"https://api.github.com/users/haskellcamargo/followers","following_url":"https://api.github.com/users/haskellcamargo/following{/other_user}","gists_url":"https://api.github.com/users/haskellcamargo/gists{/gist_id}","starred_url":"https://api.github.com/users/haskellcamargo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskellcamargo/subscriptions","organizations_url":"https://api.github.com/users/haskellcamargo/orgs","repos_url":"https://api.github.com/users/haskellcamargo/repos","events_url":"https://api.github.com/users/haskellcamargo/events{/privacy}","received_events_url":"https://api.github.com/users/haskellcamargo/received_events","type":"User","site_admin":false},"body":"This pull-request implements type inference for objects and type checking for member access on Quack compiler.\r\n\r\nThe operators `?.` and `.` are used to nullable and warranted member access. Objects may have subtyping and the comparison is structural. `?` represents anonymous objects and types. When used in an object with signature, we'll replace it by the nominal type, in order to specify type contracts.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/7553006/18153782/0fd04b1a-6fd6-11e6-8af9-5e3b1c871195.png)\r\n","created_at":"2016-09-01T02:54:45Z","updated_at":"2016-09-01T02:54:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/quack/quack/pulls/67/commits","review_comments_url":"https://api.github.com/repos/quack/quack/pulls/67/comments","review_comment_url":"https://api.github.com/repos/quack/quack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quack/quack/issues/67/comments","statuses_url":"https://api.github.com/repos/quack/quack/statuses/78cfb1eecb5dc44e543f29f0c9705bbdc4b71c8a","head":{"label":"haskellcamargo:master","ref":"master","sha":"78cfb1eecb5dc44e543f29f0c9705bbdc4b71c8a","user":{"login":"haskellcamargo","id":7553006,"avatar_url":"https://avatars.githubusercontent.com/u/7553006?v=3","gravatar_id":"","url":"https://api.github.com/users/haskellcamargo","html_url":"https://github.com/haskellcamargo","followers_url":"https://api.github.com/users/haskellcamargo/followers","following_url":"https://api.github.com/users/haskellcamargo/following{/other_user}","gists_url":"https://api.github.com/users/haskellcamargo/gists{/gist_id}","starred_url":"https://api.github.com/users/haskellcamargo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskellcamargo/subscriptions","organizations_url":"https://api.github.com/users/haskellcamargo/orgs","repos_url":"https://api.github.com/users/haskellcamargo/repos","events_url":"https://api.github.com/users/haskellcamargo/events{/privacy}","received_events_url":"https://api.github.com/users/haskellcamargo/received_events","type":"User","site_admin":false},"repo":{"id":64086887,"name":"quack","full_name":"haskellcamargo/quack","owner":{"login":"haskellcamargo","id":7553006,"avatar_url":"https://avatars.githubusercontent.com/u/7553006?v=3","gravatar_id":"","url":"https://api.github.com/users/haskellcamargo","html_url":"https://github.com/haskellcamargo","followers_url":"https://api.github.com/users/haskellcamargo/followers","following_url":"https://api.github.com/users/haskellcamargo/following{/other_user}","gists_url":"https://api.github.com/users/haskellcamargo/gists{/gist_id}","starred_url":"https://api.github.com/users/haskellcamargo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskellcamargo/subscriptions","organizations_url":"https://api.github.com/users/haskellcamargo/orgs","repos_url":"https://api.github.com/users/haskellcamargo/repos","events_url":"https://api.github.com/users/haskellcamargo/events{/privacy}","received_events_url":"https://api.github.com/users/haskellcamargo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haskellcamargo/quack","description":":baby_chick: A multi-paradigm programming language with gradual and duck typing that targets PHP and JS","fork":true,"url":"https://api.github.com/repos/haskellcamargo/quack","forks_url":"https://api.github.com/repos/haskellcamargo/quack/forks","keys_url":"https://api.github.com/repos/haskellcamargo/quack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haskellcamargo/quack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haskellcamargo/quack/teams","hooks_url":"https://api.github.com/repos/haskellcamargo/quack/hooks","issue_events_url":"https://api.github.com/repos/haskellcamargo/quack/issues/events{/number}","events_url":"https://api.github.com/repos/haskellcamargo/quack/events","assignees_url":"https://api.github.com/repos/haskellcamargo/quack/assignees{/user}","branches_url":"https://api.github.com/repos/haskellcamargo/quack/branches{/branch}","tags_url":"https://api.github.com/repos/haskellcamargo/quack/tags","blobs_url":"https://api.github.com/repos/haskellcamargo/quack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haskellcamargo/quack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haskellcamargo/quack/git/refs{/sha}","trees_url":"https://api.github.com/repos/haskellcamargo/quack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haskellcamargo/quack/statuses/{sha}","languages_url":"https://api.github.com/repos/haskellcamargo/quack/languages","stargazers_url":"https://api.github.com/repos/haskellcamargo/quack/stargazers","contributors_url":"https://api.github.com/repos/haskellcamargo/quack/contributors","subscribers_url":"https://api.github.com/repos/haskellcamargo/quack/subscribers","subscription_url":"https://api.github.com/repos/haskellcamargo/quack/subscription","commits_url":"https://api.github.com/repos/haskellcamargo/quack/commits{/sha}","git_commits_url":"https://api.github.com/repos/haskellcamargo/quack/git/commits{/sha}","comments_url":"https://api.github.com/repos/haskellcamargo/quack/comments{/number}","issue_comment_url":"https://api.github.com/repos/haskellcamargo/quack/issues/comments{/number}","contents_url":"https://api.github.com/repos/haskellcamargo/quack/contents/{+path}","compare_url":"https://api.github.com/repos/haskellcamargo/quack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haskellcamargo/quack/merges","archive_url":"https://api.github.com/repos/haskellcamargo/quack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haskellcamargo/quack/downloads","issues_url":"https://api.github.com/repos/haskellcamargo/quack/issues{/number}","pulls_url":"https://api.github.com/repos/haskellcamargo/quack/pulls{/number}","milestones_url":"https://api.github.com/repos/haskellcamargo/quack/milestones{/number}","notifications_url":"https://api.github.com/repos/haskellcamargo/quack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haskellcamargo/quack/labels{/name}","releases_url":"https://api.github.com/repos/haskellcamargo/quack/releases{/id}","deployments_url":"https://api.github.com/repos/haskellcamargo/quack/deployments","created_at":"2016-07-24T21:41:06Z","updated_at":"2016-07-25T00:46:18Z","pushed_at":"2016-09-01T02:51:44Z","git_url":"git://github.com/haskellcamargo/quack.git","ssh_url":"git@github.com:haskellcamargo/quack.git","clone_url":"https://github.com/haskellcamargo/quack.git","svn_url":"https://github.com/haskellcamargo/quack","homepage":"","size":1726,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"quack:master","ref":"master","sha":"3df0c45f098a1054b33fa59680bb2d8942af8eea","user":{"login":"quack","id":17405751,"avatar_url":"https://avatars.githubusercontent.com/u/17405751?v=3","gravatar_id":"","url":"https://api.github.com/users/quack","html_url":"https://github.com/quack","followers_url":"https://api.github.com/users/quack/followers","following_url":"https://api.github.com/users/quack/following{/other_user}","gists_url":"https://api.github.com/users/quack/gists{/gist_id}","starred_url":"https://api.github.com/users/quack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quack/subscriptions","organizations_url":"https://api.github.com/users/quack/orgs","repos_url":"https://api.github.com/users/quack/repos","events_url":"https://api.github.com/users/quack/events{/privacy}","received_events_url":"https://api.github.com/users/quack/received_events","type":"Organization","site_admin":false},"repo":{"id":43531497,"name":"quack","full_name":"quack/quack","owner":{"login":"quack","id":17405751,"avatar_url":"https://avatars.githubusercontent.com/u/17405751?v=3","gravatar_id":"","url":"https://api.github.com/users/quack","html_url":"https://github.com/quack","followers_url":"https://api.github.com/users/quack/followers","following_url":"https://api.github.com/users/quack/following{/other_user}","gists_url":"https://api.github.com/users/quack/gists{/gist_id}","starred_url":"https://api.github.com/users/quack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quack/subscriptions","organizations_url":"https://api.github.com/users/quack/orgs","repos_url":"https://api.github.com/users/quack/repos","events_url":"https://api.github.com/users/quack/events{/privacy}","received_events_url":"https://api.github.com/users/quack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/quack/quack","description":":baby_chick: A multi-paradigm programming language with gradual and duck typing that targets PHP and JS","fork":false,"url":"https://api.github.com/repos/quack/quack","forks_url":"https://api.github.com/repos/quack/quack/forks","keys_url":"https://api.github.com/repos/quack/quack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quack/quack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quack/quack/teams","hooks_url":"https://api.github.com/repos/quack/quack/hooks","issue_events_url":"https://api.github.com/repos/quack/quack/issues/events{/number}","events_url":"https://api.github.com/repos/quack/quack/events","assignees_url":"https://api.github.com/repos/quack/quack/assignees{/user}","branches_url":"https://api.github.com/repos/quack/quack/branches{/branch}","tags_url":"https://api.github.com/repos/quack/quack/tags","blobs_url":"https://api.github.com/repos/quack/quack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quack/quack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quack/quack/git/refs{/sha}","trees_url":"https://api.github.com/repos/quack/quack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quack/quack/statuses/{sha}","languages_url":"https://api.github.com/repos/quack/quack/languages","stargazers_url":"https://api.github.com/repos/quack/quack/stargazers","contributors_url":"https://api.github.com/repos/quack/quack/contributors","subscribers_url":"https://api.github.com/repos/quack/quack/subscribers","subscription_url":"https://api.github.com/repos/quack/quack/subscription","commits_url":"https://api.github.com/repos/quack/quack/commits{/sha}","git_commits_url":"https://api.github.com/repos/quack/quack/git/commits{/sha}","comments_url":"https://api.github.com/repos/quack/quack/comments{/number}","issue_comment_url":"https://api.github.com/repos/quack/quack/issues/comments{/number}","contents_url":"https://api.github.com/repos/quack/quack/contents/{+path}","compare_url":"https://api.github.com/repos/quack/quack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quack/quack/merges","archive_url":"https://api.github.com/repos/quack/quack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quack/quack/downloads","issues_url":"https://api.github.com/repos/quack/quack/issues{/number}","pulls_url":"https://api.github.com/repos/quack/quack/pulls{/number}","milestones_url":"https://api.github.com/repos/quack/quack/milestones{/number}","notifications_url":"https://api.github.com/repos/quack/quack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quack/quack/labels{/name}","releases_url":"https://api.github.com/repos/quack/quack/releases{/id}","deployments_url":"https://api.github.com/repos/quack/quack/deployments","created_at":"2015-10-02T02:03:12Z","updated_at":"2016-08-30T18:47:34Z","pushed_at":"2016-08-31T04:16:56Z","git_url":"git://github.com/quack/quack.git","ssh_url":"git@github.com:quack/quack.git","clone_url":"https://github.com/quack/quack.git","svn_url":"https://github.com/quack/quack","homepage":"","size":1728,"stargazers_count":114,"watchers_count":114,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"open_issues_count":2,"forks":16,"open_issues":2,"watchers":114,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/quack/quack/pulls/67"},"html":{"href":"https://github.com/quack/quack/pull/67"},"issue":{"href":"https://api.github.com/repos/quack/quack/issues/67"},"comments":{"href":"https://api.github.com/repos/quack/quack/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/quack/quack/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/quack/quack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quack/quack/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/quack/quack/statuses/78cfb1eecb5dc44e543f29f0c9705bbdc4b71c8a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":69,"deletions":1,"changed_files":4}}
{"actor":{"display_login":"haskellcamargo"}}