GitHub PullRequestEvent at 2014-11-18 16:09:43
Repository: mono
Actor: marek-safar
Payload: {"action":"closed","number":1402,"pull_request":{"url":"https://api.github.com/repos/mono/mono/pulls/1402","id":24434816,"html_url":"https://github.com/mono/mono/pull/1402","diff_url":"https://github.com/mono/mono/pull/1402.diff","patch_url":"https://github.com/mono/mono/pull/1402.patch","issue_url":"https://api.github.com/repos/mono/mono/issues/1402","number":1402,"state":"closed","locked":false,"title":"[eval] Capture local variables","user":{"login":"ztone","id":3028306,"avatar_url":"https://avatars.githubusercontent.com/u/3028306?v=3","gravatar_id":"","url":"https://api.github.com/users/ztone","html_url":"https://github.com/ztone","followers_url":"https://api.github.com/users/ztone/followers","following_url":"https://api.github.com/users/ztone/following{/other_user}","gists_url":"https://api.github.com/users/ztone/gists{/gist_id}","starred_url":"https://api.github.com/users/ztone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztone/subscriptions","organizations_url":"https://api.github.com/users/ztone/orgs","repos_url":"https://api.github.com/users/ztone/repos","events_url":"https://api.github.com/users/ztone/events{/privacy}","received_events_url":"https://api.github.com/users/ztone/received_events","type":"User","site_admin":false},"body":"Evaluated variables are hoisted by never assigned to a storey (as it's not available at the time), so they can't be captured.  So the compiler crashes because the storey is null for the hoisted variable.\r\n\r\nThis fix will assign a storey to a HoistedEvaluatorVariable.\r\n\r\n**Before**\r\n![capture_before](https://cloud.githubusercontent.com/assets/3028306/5044968/cd25455a-6bee-11e4-8875-03d7299eea10.png)\r\n\r\n**After**\r\n![capture_after](https://cloud.githubusercontent.com/assets/3028306/5044992/110c2554-6bef-11e4-959c-631790f28914.png)\r\n\r\n","created_at":"2014-11-14T11:14:43Z","updated_at":"2014-11-18T16:09:42Z","closed_at":"2014-11-18T16:09:42Z","merged_at":null,"merge_commit_sha":"b3040914cbf277dfac24615f2ee07f67923e8edd","assignee":{"login":"marek-safar","id":250852,"avatar_url":"https://avatars.githubusercontent.com/u/250852?v=3","gravatar_id":"","url":"https://api.github.com/users/marek-safar","html_url":"https://github.com/marek-safar","followers_url":"https://api.github.com/users/marek-safar/followers","following_url":"https://api.github.com/users/marek-safar/following{/other_user}","gists_url":"https://api.github.com/users/marek-safar/gists{/gist_id}","starred_url":"https://api.github.com/users/marek-safar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marek-safar/subscriptions","organizations_url":"https://api.github.com/users/marek-safar/orgs","repos_url":"https://api.github.com/users/marek-safar/repos","events_url":"https://api.github.com/users/marek-safar/events{/privacy}","received_events_url":"https://api.github.com/users/marek-safar/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mono/mono/pulls/1402/commits","review_comments_url":"https://api.github.com/repos/mono/mono/pulls/1402/comments","review_comment_url":"https://api.github.com/repos/mono/mono/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mono/mono/issues/1402/comments","statuses_url":"https://api.github.com/repos/mono/mono/statuses/134828470aa0195a72b62c0fa148aa5e26e6edda","head":{"label":"ztone:capture","ref":"capture","sha":"134828470aa0195a72b62c0fa148aa5e26e6edda","user":{"login":"ztone","id":3028306,"avatar_url":"https://avatars.githubusercontent.com/u/3028306?v=3","gravatar_id":"","url":"https://api.github.com/users/ztone","html_url":"https://github.com/ztone","followers_url":"https://api.github.com/users/ztone/followers","following_url":"https://api.github.com/users/ztone/following{/other_user}","gists_url":"https://api.github.com/users/ztone/gists{/gist_id}","starred_url":"https://api.github.com/users/ztone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztone/subscriptions","organizations_url":"https://api.github.com/users/ztone/orgs","repos_url":"https://api.github.com/users/ztone/repos","events_url":"https://api.github.com/users/ztone/events{/privacy}","received_events_url":"https://api.github.com/users/ztone/received_events","type":"User","site_admin":false},"repo":{"id":20154975,"name":"mono","full_name":"ztone/mono","owner":{"login":"ztone","id":3028306,"avatar_url":"https://avatars.githubusercontent.com/u/3028306?v=3","gravatar_id":"","url":"https://api.github.com/users/ztone","html_url":"https://github.com/ztone","followers_url":"https://api.github.com/users/ztone/followers","following_url":"https://api.github.com/users/ztone/following{/other_user}","gists_url":"https://api.github.com/users/ztone/gists{/gist_id}","starred_url":"https://api.github.com/users/ztone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztone/subscriptions","organizations_url":"https://api.github.com/users/ztone/orgs","repos_url":"https://api.github.com/users/ztone/repos","events_url":"https://api.github.com/users/ztone/events{/privacy}","received_events_url":"https://api.github.com/users/ztone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ztone/mono","description":"Mono open source ECMA CLI, C# and .NET implementation.","fork":true,"url":"https://api.github.com/repos/ztone/mono","forks_url":"https://api.github.com/repos/ztone/mono/forks","keys_url":"https://api.github.com/repos/ztone/mono/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ztone/mono/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ztone/mono/teams","hooks_url":"https://api.github.com/repos/ztone/mono/hooks","issue_events_url":"https://api.github.com/repos/ztone/mono/issues/events{/number}","events_url":"https://api.github.com/repos/ztone/mono/events","assignees_url":"https://api.github.com/repos/ztone/mono/assignees{/user}","branches_url":"https://api.github.com/repos/ztone/mono/branches{/branch}","tags_url":"https://api.github.com/repos/ztone/mono/tags","blobs_url":"https://api.github.com/repos/ztone/mono/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ztone/mono/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ztone/mono/git/refs{/sha}","trees_url":"https://api.github.com/repos/ztone/mono/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ztone/mono/statuses/{sha}","languages_url":"https://api.github.com/repos/ztone/mono/languages","stargazers_url":"https://api.github.com/repos/ztone/mono/stargazers","contributors_url":"https://api.github.com/repos/ztone/mono/contributors","subscribers_url":"https://api.github.com/repos/ztone/mono/subscribers","subscription_url":"https://api.github.com/repos/ztone/mono/subscription","commits_url":"https://api.github.com/repos/ztone/mono/commits{/sha}","git_commits_url":"https://api.github.com/repos/ztone/mono/git/commits{/sha}","comments_url":"https://api.github.com/repos/ztone/mono/comments{/number}","issue_comment_url":"https://api.github.com/repos/ztone/mono/issues/comments/{number}","contents_url":"https://api.github.com/repos/ztone/mono/contents/{+path}","compare_url":"https://api.github.com/repos/ztone/mono/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ztone/mono/merges","archive_url":"https://api.github.com/repos/ztone/mono/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ztone/mono/downloads","issues_url":"https://api.github.com/repos/ztone/mono/issues{/number}","pulls_url":"https://api.github.com/repos/ztone/mono/pulls{/number}","milestones_url":"https://api.github.com/repos/ztone/mono/milestones{/number}","notifications_url":"https://api.github.com/repos/ztone/mono/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ztone/mono/labels{/name}","releases_url":"https://api.github.com/repos/ztone/mono/releases{/id}","created_at":"2014-05-25T13:20:14Z","updated_at":"2014-06-02T19:47:50Z","pushed_at":"2014-11-13T23:53:51Z","git_url":"git://github.com/ztone/mono.git","ssh_url":"git@github.com:ztone/mono.git","clone_url":"https://github.com/ztone/mono.git","svn_url":"https://github.com/ztone/mono","homepage":"http://www.mono-project.com/","size":371123,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"mono:master","ref":"master","sha":"4f237e0ce106218265a40e600a6c65f6a9143fb9","user":{"login":"mono","id":53395,"avatar_url":"https://avatars.githubusercontent.com/u/53395?v=3","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"repo":{"id":791611,"name":"mono","full_name":"mono/mono","owner":{"login":"mono","id":53395,"avatar_url":"https://avatars.githubusercontent.com/u/53395?v=3","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mono/mono","description":"Mono open source ECMA CLI, C# and .NET implementation.","fork":false,"url":"https://api.github.com/repos/mono/mono","forks_url":"https://api.github.com/repos/mono/mono/forks","keys_url":"https://api.github.com/repos/mono/mono/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mono/mono/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mono/mono/teams","hooks_url":"https://api.github.com/repos/mono/mono/hooks","issue_events_url":"https://api.github.com/repos/mono/mono/issues/events{/number}","events_url":"https://api.github.com/repos/mono/mono/events","assignees_url":"https://api.github.com/repos/mono/mono/assignees{/user}","branches_url":"https://api.github.com/repos/mono/mono/branches{/branch}","tags_url":"https://api.github.com/repos/mono/mono/tags","blobs_url":"https://api.github.com/repos/mono/mono/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mono/mono/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mono/mono/git/refs{/sha}","trees_url":"https://api.github.com/repos/mono/mono/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mono/mono/statuses/{sha}","languages_url":"https://api.github.com/repos/mono/mono/languages","stargazers_url":"https://api.github.com/repos/mono/mono/stargazers","contributors_url":"https://api.github.com/repos/mono/mono/contributors","subscribers_url":"https://api.github.com/repos/mono/mono/subscribers","subscription_url":"https://api.github.com/repos/mono/mono/subscription","commits_url":"https://api.github.com/repos/mono/mono/commits{/sha}","git_commits_url":"https://api.github.com/repos/mono/mono/git/commits{/sha}","comments_url":"https://api.github.com/repos/mono/mono/comments{/number}","issue_comment_url":"https://api.github.com/repos/mono/mono/issues/comments/{number}","contents_url":"https://api.github.com/repos/mono/mono/contents/{+path}","compare_url":"https://api.github.com/repos/mono/mono/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mono/mono/merges","archive_url":"https://api.github.com/repos/mono/mono/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mono/mono/downloads","issues_url":"https://api.github.com/repos/mono/mono/issues{/number}","pulls_url":"https://api.github.com/repos/mono/mono/pulls{/number}","milestones_url":"https://api.github.com/repos/mono/mono/milestones{/number}","notifications_url":"https://api.github.com/repos/mono/mono/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mono/mono/labels{/name}","releases_url":"https://api.github.com/repos/mono/mono/releases{/id}","created_at":"2010-07-22T18:06:36Z","updated_at":"2014-11-18T16:09:13Z","pushed_at":"2014-11-18T16:09:12Z","git_url":"git://github.com/mono/mono.git","ssh_url":"git@github.com:mono/mono.git","clone_url":"https://github.com/mono/mono.git","svn_url":"https://github.com/mono/mono","homepage":"http://www.mono-project.com/","size":1296250,"stargazers_count":2734,"watchers_count":2734,"language":"C#","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1419,"mirror_url":null,"open_issues_count":98,"forks":1419,"open_issues":98,"watchers":2734,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mono/mono/pulls/1402"},"html":{"href":"https://github.com/mono/mono/pull/1402"},"issue":{"href":"https://api.github.com/repos/mono/mono/issues/1402"},"comments":{"href":"https://api.github.com/repos/mono/mono/issues/1402/comments"},"review_comments":{"href":"https://api.github.com/repos/mono/mono/pulls/1402/comments"},"review_comment":{"href":"https://api.github.com/repos/mono/mono/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mono/mono/pulls/1402/commits"},"statuses":{"href":"https://api.github.com/repos/mono/mono/statuses/134828470aa0195a72b62c0fa148aa5e26e6edda"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":22,"deletions":0,"changed_files":2}}