{"action":"closed","number":126,"pull_request":{"url":"https://api.github.com/repos/babel/babel-eslint/pulls/126","id":37223452,"html_url":"https://github.com/babel/babel-eslint/pull/126","diff_url":"https://github.com/babel/babel-eslint/pull/126.diff","patch_url":"https://github.com/babel/babel-eslint/pull/126.patch","issue_url":"https://api.github.com/repos/babel/babel-eslint/issues/126","number":126,"state":"closed","locked":false,"title":"Fixes flow type scoping issues","user":{"login":"leebyron","id":50130,"avatar_url":"https://avatars.githubusercontent.com/u/50130?v=3","gravatar_id":"","url":"https://api.github.com/users/leebyron","html_url":"https://github.com/leebyron","followers_url":"https://api.github.com/users/leebyron/followers","following_url":"https://api.github.com/users/leebyron/following{/other_user}","gists_url":"https://api.github.com/users/leebyron/gists{/gist_id}","starred_url":"https://api.github.com/users/leebyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leebyron/subscriptions","organizations_url":"https://api.github.com/users/leebyron/orgs","repos_url":"https://api.github.com/users/leebyron/repos","events_url":"https://api.github.com/users/leebyron/events{/privacy}","received_events_url":"https://api.github.com/users/leebyron/received_events","type":"User","site_admin":false},"body":"This adds a special escope Scope when function, class, and typealias definitions include typeParameters which includes those parameters for reference, but is write-through to it's parent when encountering new variables. This is a little weird, but seems as good as we can while monkey-patching escope.\r\n\r\nThis also fixes some tests which had invalid flow but were written to expect no errors.\r\n\r\nFixes #123","created_at":"2015-06-09T06:37:28Z","updated_at":"2015-06-09T19:00:38Z","closed_at":"2015-06-09T19:00:38Z","merged_at":"2015-06-09T19:00:38Z","merge_commit_sha":"cd6e384ff77d3f801a21d4cec0b685539f15a5b3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/babel/babel-eslint/pulls/126/commits","review_comments_url":"https://api.github.com/repos/babel/babel-eslint/pulls/126/comments","review_comment_url":"https://api.github.com/repos/babel/babel-eslint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/babel/babel-eslint/issues/126/comments","statuses_url":"https://api.github.com/repos/babel/babel-eslint/statuses/8fc39e967c86a1fecfbb4cd09253ac9d54a3e3dd","head":{"label":"leebyron:fix-flow-type","ref":"fix-flow-type","sha":"8fc39e967c86a1fecfbb4cd09253ac9d54a3e3dd","user":{"login":"leebyron","id":50130,"avatar_url":"https://avatars.githubusercontent.com/u/50130?v=3","gravatar_id":"","url":"https://api.github.com/users/leebyron","html_url":"https://github.com/leebyron","followers_url":"https://api.github.com/users/leebyron/followers","following_url":"https://api.github.com/users/leebyron/following{/other_user}","gists_url":"https://api.github.com/users/leebyron/gists{/gist_id}","starred_url":"https://api.github.com/users/leebyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leebyron/subscriptions","organizations_url":"https://api.github.com/users/leebyron/orgs","repos_url":"https://api.github.com/users/leebyron/repos","events_url":"https://api.github.com/users/leebyron/events{/privacy}","received_events_url":"https://api.github.com/users/leebyron/received_events","type":"User","site_admin":false},"repo":{"id":33589597,"name":"babel-eslint","full_name":"leebyron/babel-eslint","owner":{"login":"leebyron","id":50130,"avatar_url":"https://avatars.githubusercontent.com/u/50130?v=3","gravatar_id":"","url":"https://api.github.com/users/leebyron","html_url":"https://github.com/leebyron","followers_url":"https://api.github.com/users/leebyron/followers","following_url":"https://api.github.com/users/leebyron/following{/other_user}","gists_url":"https://api.github.com/users/leebyron/gists{/gist_id}","starred_url":"https://api.github.com/users/leebyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leebyron/subscriptions","organizations_url":"https://api.github.com/users/leebyron/orgs","repos_url":"https://api.github.com/users/leebyron/repos","events_url":"https://api.github.com/users/leebyron/events{/privacy}","received_events_url":"https://api.github.com/users/leebyron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leebyron/babel-eslint","description":"","fork":true,"url":"https://api.github.com/repos/leebyron/babel-eslint","forks_url":"https://api.github.com/repos/leebyron/babel-eslint/forks","keys_url":"https://api.github.com/repos/leebyron/babel-eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leebyron/babel-eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leebyron/babel-eslint/teams","hooks_url":"https://api.github.com/repos/leebyron/babel-eslint/hooks","issue_events_url":"https://api.github.com/repos/leebyron/babel-eslint/issues/events{/number}","events_url":"https://api.github.com/repos/leebyron/babel-eslint/events","assignees_url":"https://api.github.com/repos/leebyron/babel-eslint/assignees{/user}","branches_url":"https://api.github.com/repos/leebyron/babel-eslint/branches{/branch}","tags_url":"https://api.github.com/repos/leebyron/babel-eslint/tags","blobs_url":"https://api.github.com/repos/leebyron/babel-eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leebyron/babel-eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leebyron/babel-eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/leebyron/babel-eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leebyron/babel-eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/leebyron/babel-eslint/languages","stargazers_url":"https://api.github.com/repos/leebyron/babel-eslint/stargazers","contributors_url":"https://api.github.com/repos/leebyron/babel-eslint/contributors","subscribers_url":"https://api.github.com/repos/leebyron/babel-eslint/subscribers","subscription_url":"https://api.github.com/repos/leebyron/babel-eslint/subscription","commits_url":"https://api.github.com/repos/leebyron/babel-eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/leebyron/babel-eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/leebyron/babel-eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/leebyron/babel-eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/leebyron/babel-eslint/contents/{+path}","compare_url":"https://api.github.com/repos/leebyron/babel-eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leebyron/babel-eslint/merges","archive_url":"https://api.github.com/repos/leebyron/babel-eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leebyron/babel-eslint/downloads","issues_url":"https://api.github.com/repos/leebyron/babel-eslint/issues{/number}","pulls_url":"https://api.github.com/repos/leebyron/babel-eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/leebyron/babel-eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/leebyron/babel-eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leebyron/babel-eslint/labels{/name}","releases_url":"https://api.github.com/repos/leebyron/babel-eslint/releases{/id}","created_at":"2015-04-08T06:44:20Z","updated_at":"2015-04-09T19:55:33Z","pushed_at":"2015-06-09T06:39:03Z","git_url":"git://github.com/leebyron/babel-eslint.git","ssh_url":"git@github.com:leebyron/babel-eslint.git","clone_url":"https://github.com/leebyron/babel-eslint.git","svn_url":"https://github.com/leebyron/babel-eslint","homepage":null,"size":116,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"babel:master","ref":"master","sha":"f2800d0ac7054ff8a8ee4fc7cd6abc3f6a16718f","user":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"repo":{"id":31404632,"name":"babel-eslint","full_name":"babel/babel-eslint","owner":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/babel/babel-eslint","description":"ESLint using Babel as the parser.","fork":false,"url":"https://api.github.com/repos/babel/babel-eslint","forks_url":"https://api.github.com/repos/babel/babel-eslint/forks","keys_url":"https://api.github.com/repos/babel/babel-eslint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/babel/babel-eslint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/babel/babel-eslint/teams","hooks_url":"https://api.github.com/repos/babel/babel-eslint/hooks","issue_events_url":"https://api.github.com/repos/babel/babel-eslint/issues/events{/number}","events_url":"https://api.github.com/repos/babel/babel-eslint/events","assignees_url":"https://api.github.com/repos/babel/babel-eslint/assignees{/user}","branches_url":"https://api.github.com/repos/babel/babel-eslint/branches{/branch}","tags_url":"https://api.github.com/repos/babel/babel-eslint/tags","blobs_url":"https://api.github.com/repos/babel/babel-eslint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/babel/babel-eslint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/babel/babel-eslint/git/refs{/sha}","trees_url":"https://api.github.com/repos/babel/babel-eslint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/babel/babel-eslint/statuses/{sha}","languages_url":"https://api.github.com/repos/babel/babel-eslint/languages","stargazers_url":"https://api.github.com/repos/babel/babel-eslint/stargazers","contributors_url":"https://api.github.com/repos/babel/babel-eslint/contributors","subscribers_url":"https://api.github.com/repos/babel/babel-eslint/subscribers","subscription_url":"https://api.github.com/repos/babel/babel-eslint/subscription","commits_url":"https://api.github.com/repos/babel/babel-eslint/commits{/sha}","git_commits_url":"https://api.github.com/repos/babel/babel-eslint/git/commits{/sha}","comments_url":"https://api.github.com/repos/babel/babel-eslint/comments{/number}","issue_comment_url":"https://api.github.com/repos/babel/babel-eslint/issues/comments{/number}","contents_url":"https://api.github.com/repos/babel/babel-eslint/contents/{+path}","compare_url":"https://api.github.com/repos/babel/babel-eslint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/babel/babel-eslint/merges","archive_url":"https://api.github.com/repos/babel/babel-eslint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/babel/babel-eslint/downloads","issues_url":"https://api.github.com/repos/babel/babel-eslint/issues{/number}","pulls_url":"https://api.github.com/repos/babel/babel-eslint/pulls{/number}","milestones_url":"https://api.github.com/repos/babel/babel-eslint/milestones{/number}","notifications_url":"https://api.github.com/repos/babel/babel-eslint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/babel/babel-eslint/labels{/name}","releases_url":"https://api.github.com/repos/babel/babel-eslint/releases{/id}","created_at":"2015-02-27T05:17:07Z","updated_at":"2015-06-09T11:38:03Z","pushed_at":"2015-06-09T19:00:38Z","git_url":"git://github.com/babel/babel-eslint.git","ssh_url":"git@github.com:babel/babel-eslint.git","clone_url":"https://github.com/babel/babel-eslint.git","svn_url":"https://github.com/babel/babel-eslint","homepage":"","size":961,"stargazers_count":290,"watchers_count":290,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":5,"forks":15,"open_issues":5,"watchers":290,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/babel/babel-eslint/pulls/126"},"html":{"href":"https://github.com/babel/babel-eslint/pull/126"},"issue":{"href":"https://api.github.com/repos/babel/babel-eslint/issues/126"},"comments":{"href":"https://api.github.com/repos/babel/babel-eslint/issues/126/comments"},"review_comments":{"href":"https://api.github.com/repos/babel/babel-eslint/pulls/126/comments"},"review_comment":{"href":"https://api.github.com/repos/babel/babel-eslint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/babel/babel-eslint/pulls/126/commits"},"statuses":{"href":"https://api.github.com/repos/babel/babel-eslint/statuses/8fc39e967c86a1fecfbb4cd09253ac9d54a3e3dd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":101,"deletions":48,"changed_files":2}}