{"action":"opened","number":16902,"pull_request":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/16902","id":298582324,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk4NTgyMzI0","html_url":"https://github.com/ballerina-platform/ballerina-lang/pull/16902","diff_url":"https://github.com/ballerina-platform/ballerina-lang/pull/16902.diff","patch_url":"https://github.com/ballerina-platform/ballerina-lang/pull/16902.patch","issue_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/16902","number":16902,"state":"open","locked":false,"title":"Fix error type inference bug","user":{"login":"rdhananjaya","id":1496990,"node_id":"MDQ6VXNlcjE0OTY5OTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1496990?v=4","gravatar_id":"","url":"https://api.github.com/users/rdhananjaya","html_url":"https://github.com/rdhananjaya","followers_url":"https://api.github.com/users/rdhananjaya/followers","following_url":"https://api.github.com/users/rdhananjaya/following{/other_user}","gists_url":"https://api.github.com/users/rdhananjaya/gists{/gist_id}","starred_url":"https://api.github.com/users/rdhananjaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdhananjaya/subscriptions","organizations_url":"https://api.github.com/users/rdhananjaya/orgs","repos_url":"https://api.github.com/users/rdhananjaya/repos","events_url":"https://api.github.com/users/rdhananjaya/events{/privacy}","received_events_url":"https://api.github.com/users/rdhananjaya/received_events","type":"User","site_admin":false},"body":"## Purpose\r\nFixes https://github.com/ballerina-platform/ballerina-lang/issues/16900\r\n\r\n","created_at":"2019-07-17T16:44:20Z","updated_at":"2019-07-17T16:44:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/16902/commits","review_comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/16902/comments","review_comment_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/16902/comments","statuses_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/statuses/0bd26be1fa3bad4d42e47419b885d1bcab0bb6fb","head":{"label":"rdhananjaya:indirect-error-ctor-bug-fix","ref":"indirect-error-ctor-bug-fix","sha":"0bd26be1fa3bad4d42e47419b885d1bcab0bb6fb","user":{"login":"rdhananjaya","id":1496990,"node_id":"MDQ6VXNlcjE0OTY5OTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1496990?v=4","gravatar_id":"","url":"https://api.github.com/users/rdhananjaya","html_url":"https://github.com/rdhananjaya","followers_url":"https://api.github.com/users/rdhananjaya/followers","following_url":"https://api.github.com/users/rdhananjaya/following{/other_user}","gists_url":"https://api.github.com/users/rdhananjaya/gists{/gist_id}","starred_url":"https://api.github.com/users/rdhananjaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdhananjaya/subscriptions","organizations_url":"https://api.github.com/users/rdhananjaya/orgs","repos_url":"https://api.github.com/users/rdhananjaya/repos","events_url":"https://api.github.com/users/rdhananjaya/events{/privacy}","received_events_url":"https://api.github.com/users/rdhananjaya/received_events","type":"User","site_admin":false},"repo":{"id":148740728,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg3NDA3Mjg=","name":"ballerina-lang","full_name":"rdhananjaya/ballerina-lang","private":false,"owner":{"login":"rdhananjaya","id":1496990,"node_id":"MDQ6VXNlcjE0OTY5OTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1496990?v=4","gravatar_id":"","url":"https://api.github.com/users/rdhananjaya","html_url":"https://github.com/rdhananjaya","followers_url":"https://api.github.com/users/rdhananjaya/followers","following_url":"https://api.github.com/users/rdhananjaya/following{/other_user}","gists_url":"https://api.github.com/users/rdhananjaya/gists{/gist_id}","starred_url":"https://api.github.com/users/rdhananjaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdhananjaya/subscriptions","organizations_url":"https://api.github.com/users/rdhananjaya/orgs","repos_url":"https://api.github.com/users/rdhananjaya/repos","events_url":"https://api.github.com/users/rdhananjaya/events{/privacy}","received_events_url":"https://api.github.com/users/rdhananjaya/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rdhananjaya/ballerina-lang","description":"Ballerina is a compiled, transactional, statically and strongly typed programming language with textual and graphical syntaxes.","fork":true,"url":"https://api.github.com/repos/rdhananjaya/ballerina-lang","forks_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/forks","keys_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/teams","hooks_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/hooks","issue_events_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/issues/events{/number}","events_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/events","assignees_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/assignees{/user}","branches_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/branches{/branch}","tags_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/tags","blobs_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/git/refs{/sha}","trees_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/statuses/{sha}","languages_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/languages","stargazers_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/stargazers","contributors_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/contributors","subscribers_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/subscribers","subscription_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/subscription","commits_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/commits{/sha}","git_commits_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/git/commits{/sha}","comments_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/comments{/number}","issue_comment_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/issues/comments{/number}","contents_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/contents/{+path}","compare_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/merges","archive_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/downloads","issues_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/issues{/number}","pulls_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/pulls{/number}","milestones_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/milestones{/number}","notifications_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/labels{/name}","releases_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/releases{/id}","deployments_url":"https://api.github.com/repos/rdhananjaya/ballerina-lang/deployments","created_at":"2018-09-14T05:39:23Z","updated_at":"2019-05-03T01:14:47Z","pushed_at":"2019-07-17T16:43:38Z","git_url":"git://github.com/rdhananjaya/ballerina-lang.git","ssh_url":"git@github.com:rdhananjaya/ballerina-lang.git","clone_url":"https://github.com/rdhananjaya/ballerina-lang.git","svn_url":"https://github.com/rdhananjaya/ballerina-lang","homepage":"","size":386938,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ballerina-platform:master","ref":"master","sha":"148d798dbdf74d2823ae0b5de5c3dd818a42d526","user":{"login":"ballerina-platform","id":34733518,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzMzNTE4","avatar_url":"https://avatars2.githubusercontent.com/u/34733518?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-platform","html_url":"https://github.com/ballerina-platform","followers_url":"https://api.github.com/users/ballerina-platform/followers","following_url":"https://api.github.com/users/ballerina-platform/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-platform/subscriptions","organizations_url":"https://api.github.com/users/ballerina-platform/orgs","repos_url":"https://api.github.com/users/ballerina-platform/repos","events_url":"https://api.github.com/users/ballerina-platform/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":73930305,"node_id":"MDEwOlJlcG9zaXRvcnk3MzkzMDMwNQ==","name":"ballerina-lang","full_name":"ballerina-platform/ballerina-lang","private":false,"owner":{"login":"ballerina-platform","id":34733518,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NzMzNTE4","avatar_url":"https://avatars2.githubusercontent.com/u/34733518?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-platform","html_url":"https://github.com/ballerina-platform","followers_url":"https://api.github.com/users/ballerina-platform/followers","following_url":"https://api.github.com/users/ballerina-platform/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-platform/subscriptions","organizations_url":"https://api.github.com/users/ballerina-platform/orgs","repos_url":"https://api.github.com/users/ballerina-platform/repos","events_url":"https://api.github.com/users/ballerina-platform/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-platform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ballerina-platform/ballerina-lang","description":"Ballerina is a compiled, transactional, statically and strongly typed programming language with textual and graphical syntaxes.","fork":false,"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang","forks_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/forks","keys_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/teams","hooks_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/hooks","issue_events_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/events{/number}","events_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/events","assignees_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/assignees{/user}","branches_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/branches{/branch}","tags_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/tags","blobs_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/refs{/sha}","trees_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/statuses/{sha}","languages_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/languages","stargazers_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/stargazers","contributors_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/contributors","subscribers_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/subscribers","subscription_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/subscription","commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/commits{/sha}","git_commits_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/git/commits{/sha}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/comments{/number}","issue_comment_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/comments{/number}","contents_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/contents/{+path}","compare_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/merges","archive_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/downloads","issues_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues{/number}","pulls_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls{/number}","milestones_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/milestones{/number}","notifications_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/labels{/name}","releases_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/releases{/id}","deployments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/deployments","created_at":"2016-11-16T14:58:44Z","updated_at":"2019-07-17T15:18:28Z","pushed_at":"2019-07-17T16:43:33Z","git_url":"git://github.com/ballerina-platform/ballerina-lang.git","ssh_url":"git@github.com:ballerina-platform/ballerina-lang.git","clone_url":"https://github.com/ballerina-platform/ballerina-lang.git","svn_url":"https://github.com/ballerina-platform/ballerina-lang","homepage":"https://ballerina.io/","size":388463,"stargazers_count":1837,"watchers_count":1837,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":447,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":954,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":447,"open_issues":954,"watchers":1837,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/16902"},"html":{"href":"https://github.com/ballerina-platform/ballerina-lang/pull/16902"},"issue":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/16902"},"comments":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/16902/comments"},"review_comments":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/16902/comments"},"review_comment":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/pulls/16902/commits"},"statuses":{"href":"https://api.github.com/repos/ballerina-platform/ballerina-lang/statuses/0bd26be1fa3bad4d42e47419b885d1bcab0bb6fb"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":25,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"rdhananjaya"}}