{"action":"opened","number":4256,"pull_request":{"url":"https://api.github.com/repos/ethereum/solidity/pulls/4256","id":193883406,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzODgzNDA2","html_url":"https://github.com/ethereum/solidity/pull/4256","diff_url":"https://github.com/ethereum/solidity/pull/4256.diff","patch_url":"https://github.com/ethereum/solidity/pull/4256.patch","issue_url":"https://api.github.com/repos/ethereum/solidity/issues/4256","number":4256,"state":"open","locked":false,"title":"The right way to create a struct instance inside a function ","user":{"login":"aj07","id":9623159,"node_id":"MDQ6VXNlcjk2MjMxNTk=","avatar_url":"https://avatars2.githubusercontent.com/u/9623159?v=4","gravatar_id":"","url":"https://api.github.com/users/aj07","html_url":"https://github.com/aj07","followers_url":"https://api.github.com/users/aj07/followers","following_url":"https://api.github.com/users/aj07/following{/other_user}","gists_url":"https://api.github.com/users/aj07/gists{/gist_id}","starred_url":"https://api.github.com/users/aj07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aj07/subscriptions","organizations_url":"https://api.github.com/users/aj07/orgs","repos_url":"https://api.github.com/users/aj07/repos","events_url":"https://api.github.com/users/aj07/events{/privacy}","received_events_url":"https://api.github.com/users/aj07/received_events","type":"User","site_admin":false},"body":"The right way to create a struct instance inside a function \r\n\r\nhttps://github.com/ethereum/solidity/issues/3541\r\n","created_at":"2018-06-11T06:19:08Z","updated_at":"2018-06-11T06:19:08Z","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/ethereum/solidity/pulls/4256/commits","review_comments_url":"https://api.github.com/repos/ethereum/solidity/pulls/4256/comments","review_comment_url":"https://api.github.com/repos/ethereum/solidity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ethereum/solidity/issues/4256/comments","statuses_url":"https://api.github.com/repos/ethereum/solidity/statuses/e99dc32090a7dc28d8f20075c31958da94552535","head":{"label":"aj07:develop","ref":"develop","sha":"e99dc32090a7dc28d8f20075c31958da94552535","user":{"login":"aj07","id":9623159,"node_id":"MDQ6VXNlcjk2MjMxNTk=","avatar_url":"https://avatars2.githubusercontent.com/u/9623159?v=4","gravatar_id":"","url":"https://api.github.com/users/aj07","html_url":"https://github.com/aj07","followers_url":"https://api.github.com/users/aj07/followers","following_url":"https://api.github.com/users/aj07/following{/other_user}","gists_url":"https://api.github.com/users/aj07/gists{/gist_id}","starred_url":"https://api.github.com/users/aj07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aj07/subscriptions","organizations_url":"https://api.github.com/users/aj07/orgs","repos_url":"https://api.github.com/users/aj07/repos","events_url":"https://api.github.com/users/aj07/events{/privacy}","received_events_url":"https://api.github.com/users/aj07/received_events","type":"User","site_admin":false},"repo":{"id":131831940,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE4MzE5NDA=","name":"solidity","full_name":"aj07/solidity","owner":{"login":"aj07","id":9623159,"node_id":"MDQ6VXNlcjk2MjMxNTk=","avatar_url":"https://avatars2.githubusercontent.com/u/9623159?v=4","gravatar_id":"","url":"https://api.github.com/users/aj07","html_url":"https://github.com/aj07","followers_url":"https://api.github.com/users/aj07/followers","following_url":"https://api.github.com/users/aj07/following{/other_user}","gists_url":"https://api.github.com/users/aj07/gists{/gist_id}","starred_url":"https://api.github.com/users/aj07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aj07/subscriptions","organizations_url":"https://api.github.com/users/aj07/orgs","repos_url":"https://api.github.com/users/aj07/repos","events_url":"https://api.github.com/users/aj07/events{/privacy}","received_events_url":"https://api.github.com/users/aj07/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aj07/solidity","description":"Solidity, the Contract-Oriented Programming Language","fork":true,"url":"https://api.github.com/repos/aj07/solidity","forks_url":"https://api.github.com/repos/aj07/solidity/forks","keys_url":"https://api.github.com/repos/aj07/solidity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aj07/solidity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aj07/solidity/teams","hooks_url":"https://api.github.com/repos/aj07/solidity/hooks","issue_events_url":"https://api.github.com/repos/aj07/solidity/issues/events{/number}","events_url":"https://api.github.com/repos/aj07/solidity/events","assignees_url":"https://api.github.com/repos/aj07/solidity/assignees{/user}","branches_url":"https://api.github.com/repos/aj07/solidity/branches{/branch}","tags_url":"https://api.github.com/repos/aj07/solidity/tags","blobs_url":"https://api.github.com/repos/aj07/solidity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aj07/solidity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aj07/solidity/git/refs{/sha}","trees_url":"https://api.github.com/repos/aj07/solidity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aj07/solidity/statuses/{sha}","languages_url":"https://api.github.com/repos/aj07/solidity/languages","stargazers_url":"https://api.github.com/repos/aj07/solidity/stargazers","contributors_url":"https://api.github.com/repos/aj07/solidity/contributors","subscribers_url":"https://api.github.com/repos/aj07/solidity/subscribers","subscription_url":"https://api.github.com/repos/aj07/solidity/subscription","commits_url":"https://api.github.com/repos/aj07/solidity/commits{/sha}","git_commits_url":"https://api.github.com/repos/aj07/solidity/git/commits{/sha}","comments_url":"https://api.github.com/repos/aj07/solidity/comments{/number}","issue_comment_url":"https://api.github.com/repos/aj07/solidity/issues/comments{/number}","contents_url":"https://api.github.com/repos/aj07/solidity/contents/{+path}","compare_url":"https://api.github.com/repos/aj07/solidity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aj07/solidity/merges","archive_url":"https://api.github.com/repos/aj07/solidity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aj07/solidity/downloads","issues_url":"https://api.github.com/repos/aj07/solidity/issues{/number}","pulls_url":"https://api.github.com/repos/aj07/solidity/pulls{/number}","milestones_url":"https://api.github.com/repos/aj07/solidity/milestones{/number}","notifications_url":"https://api.github.com/repos/aj07/solidity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aj07/solidity/labels{/name}","releases_url":"https://api.github.com/repos/aj07/solidity/releases{/id}","deployments_url":"https://api.github.com/repos/aj07/solidity/deployments","created_at":"2018-05-02T09:57:07Z","updated_at":"2018-06-11T06:18:08Z","pushed_at":"2018-06-11T06:18:07Z","git_url":"git://github.com/aj07/solidity.git","ssh_url":"git@github.com:aj07/solidity.git","clone_url":"https://github.com/aj07/solidity.git","svn_url":"https://github.com/aj07/solidity","homepage":"https://solidity.readthedocs.io","size":18906,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"ethereum:develop","ref":"develop","sha":"81c5a6e466fd360c0a4805396137fc45f7b309c8","user":{"login":"ethereum","id":6250754,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTA3NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6250754?v=4","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"repo":{"id":40892817,"node_id":"MDEwOlJlcG9zaXRvcnk0MDg5MjgxNw==","name":"solidity","full_name":"ethereum/solidity","owner":{"login":"ethereum","id":6250754,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTA3NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6250754?v=4","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ethereum/solidity","description":"Solidity, the Contract-Oriented Programming Language","fork":false,"url":"https://api.github.com/repos/ethereum/solidity","forks_url":"https://api.github.com/repos/ethereum/solidity/forks","keys_url":"https://api.github.com/repos/ethereum/solidity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ethereum/solidity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ethereum/solidity/teams","hooks_url":"https://api.github.com/repos/ethereum/solidity/hooks","issue_events_url":"https://api.github.com/repos/ethereum/solidity/issues/events{/number}","events_url":"https://api.github.com/repos/ethereum/solidity/events","assignees_url":"https://api.github.com/repos/ethereum/solidity/assignees{/user}","branches_url":"https://api.github.com/repos/ethereum/solidity/branches{/branch}","tags_url":"https://api.github.com/repos/ethereum/solidity/tags","blobs_url":"https://api.github.com/repos/ethereum/solidity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ethereum/solidity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ethereum/solidity/git/refs{/sha}","trees_url":"https://api.github.com/repos/ethereum/solidity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ethereum/solidity/statuses/{sha}","languages_url":"https://api.github.com/repos/ethereum/solidity/languages","stargazers_url":"https://api.github.com/repos/ethereum/solidity/stargazers","contributors_url":"https://api.github.com/repos/ethereum/solidity/contributors","subscribers_url":"https://api.github.com/repos/ethereum/solidity/subscribers","subscription_url":"https://api.github.com/repos/ethereum/solidity/subscription","commits_url":"https://api.github.com/repos/ethereum/solidity/commits{/sha}","git_commits_url":"https://api.github.com/repos/ethereum/solidity/git/commits{/sha}","comments_url":"https://api.github.com/repos/ethereum/solidity/comments{/number}","issue_comment_url":"https://api.github.com/repos/ethereum/solidity/issues/comments{/number}","contents_url":"https://api.github.com/repos/ethereum/solidity/contents/{+path}","compare_url":"https://api.github.com/repos/ethereum/solidity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ethereum/solidity/merges","archive_url":"https://api.github.com/repos/ethereum/solidity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ethereum/solidity/downloads","issues_url":"https://api.github.com/repos/ethereum/solidity/issues{/number}","pulls_url":"https://api.github.com/repos/ethereum/solidity/pulls{/number}","milestones_url":"https://api.github.com/repos/ethereum/solidity/milestones{/number}","notifications_url":"https://api.github.com/repos/ethereum/solidity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ethereum/solidity/labels{/name}","releases_url":"https://api.github.com/repos/ethereum/solidity/releases{/id}","deployments_url":"https://api.github.com/repos/ethereum/solidity/deployments","created_at":"2015-08-17T12:27:26Z","updated_at":"2018-06-11T05:59:25Z","pushed_at":"2018-06-10T17:26:48Z","git_url":"git://github.com/ethereum/solidity.git","ssh_url":"git@github.com:ethereum/solidity.git","clone_url":"https://github.com/ethereum/solidity.git","svn_url":"https://github.com/ethereum/solidity","homepage":"https://solidity.readthedocs.io","size":19999,"stargazers_count":5177,"watchers_count":5177,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1344,"mirror_url":null,"archived":false,"open_issues_count":588,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":1344,"open_issues":588,"watchers":5177,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ethereum/solidity/pulls/4256"},"html":{"href":"https://github.com/ethereum/solidity/pull/4256"},"issue":{"href":"https://api.github.com/repos/ethereum/solidity/issues/4256"},"comments":{"href":"https://api.github.com/repos/ethereum/solidity/issues/4256/comments"},"review_comments":{"href":"https://api.github.com/repos/ethereum/solidity/pulls/4256/comments"},"review_comment":{"href":"https://api.github.com/repos/ethereum/solidity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ethereum/solidity/pulls/4256/commits"},"statuses":{"href":"https://api.github.com/repos/ethereum/solidity/statuses/e99dc32090a7dc28d8f20075c31958da94552535"}},"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":3,"additions":29,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"aj07"}}