{"action":"opened","number":11692,"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11692","id":89741752,"html_url":"https://github.com/Microsoft/TypeScript/pull/11692","diff_url":"https://github.com/Microsoft/TypeScript/pull/11692.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/11692.patch","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11692","number":11692,"state":"open","locked":false,"title":"Fix #11660: wrong reports that block-scoped variable used before its …","user":{"login":"domchen","id":6849001,"avatar_url":"https://avatars.githubusercontent.com/u/6849001?v=3","gravatar_id":"","url":"https://api.github.com/users/domchen","html_url":"https://github.com/domchen","followers_url":"https://api.github.com/users/domchen/followers","following_url":"https://api.github.com/users/domchen/following{/other_user}","gists_url":"https://api.github.com/users/domchen/gists{/gist_id}","starred_url":"https://api.github.com/users/domchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domchen/subscriptions","organizations_url":"https://api.github.com/users/domchen/orgs","repos_url":"https://api.github.com/users/domchen/repos","events_url":"https://api.github.com/users/domchen/events{/privacy}","received_events_url":"https://api.github.com/users/domchen/received_events","type":"User","site_admin":false},"body":"Fixes #11660\r\n\r\nAdd a call to the isUsedInFunctionOrNonStaticProperty function to check whether the usage is deferred when usage and declaration are not in the same file. ","created_at":"2016-10-18T03:38:08Z","updated_at":"2016-10-18T03:38:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11692/commits","review_comments_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11692/comments","review_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11692/comments","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/96ecfabfdc10cdff56f689e562861b79a2ea0c03","head":{"label":"domchen:master","ref":"master","sha":"96ecfabfdc10cdff56f689e562861b79a2ea0c03","user":{"login":"domchen","id":6849001,"avatar_url":"https://avatars.githubusercontent.com/u/6849001?v=3","gravatar_id":"","url":"https://api.github.com/users/domchen","html_url":"https://github.com/domchen","followers_url":"https://api.github.com/users/domchen/followers","following_url":"https://api.github.com/users/domchen/following{/other_user}","gists_url":"https://api.github.com/users/domchen/gists{/gist_id}","starred_url":"https://api.github.com/users/domchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domchen/subscriptions","organizations_url":"https://api.github.com/users/domchen/orgs","repos_url":"https://api.github.com/users/domchen/repos","events_url":"https://api.github.com/users/domchen/events{/privacy}","received_events_url":"https://api.github.com/users/domchen/received_events","type":"User","site_admin":false},"repo":{"id":71202345,"name":"TypeScript","full_name":"domchen/TypeScript","owner":{"login":"domchen","id":6849001,"avatar_url":"https://avatars.githubusercontent.com/u/6849001?v=3","gravatar_id":"","url":"https://api.github.com/users/domchen","html_url":"https://github.com/domchen","followers_url":"https://api.github.com/users/domchen/followers","following_url":"https://api.github.com/users/domchen/following{/other_user}","gists_url":"https://api.github.com/users/domchen/gists{/gist_id}","starred_url":"https://api.github.com/users/domchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domchen/subscriptions","organizations_url":"https://api.github.com/users/domchen/orgs","repos_url":"https://api.github.com/users/domchen/repos","events_url":"https://api.github.com/users/domchen/events{/privacy}","received_events_url":"https://api.github.com/users/domchen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/domchen/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":true,"url":"https://api.github.com/repos/domchen/TypeScript","forks_url":"https://api.github.com/repos/domchen/TypeScript/forks","keys_url":"https://api.github.com/repos/domchen/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/domchen/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/domchen/TypeScript/teams","hooks_url":"https://api.github.com/repos/domchen/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/domchen/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/domchen/TypeScript/events","assignees_url":"https://api.github.com/repos/domchen/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/domchen/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/domchen/TypeScript/tags","blobs_url":"https://api.github.com/repos/domchen/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/domchen/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/domchen/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/domchen/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/domchen/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/domchen/TypeScript/languages","stargazers_url":"https://api.github.com/repos/domchen/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/domchen/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/domchen/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/domchen/TypeScript/subscription","commits_url":"https://api.github.com/repos/domchen/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/domchen/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/domchen/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/domchen/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/domchen/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/domchen/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/domchen/TypeScript/merges","archive_url":"https://api.github.com/repos/domchen/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/domchen/TypeScript/downloads","issues_url":"https://api.github.com/repos/domchen/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/domchen/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/domchen/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/domchen/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/domchen/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/domchen/TypeScript/releases{/id}","deployments_url":"https://api.github.com/repos/domchen/TypeScript/deployments","created_at":"2016-10-18T02:46:15Z","updated_at":"2016-10-18T02:47:06Z","pushed_at":"2016-10-18T03:25:35Z","git_url":"git://github.com/domchen/TypeScript.git","ssh_url":"git@github.com:domchen/TypeScript.git","clone_url":"https://github.com/domchen/TypeScript.git","svn_url":"https://github.com/domchen/TypeScript","homepage":"http://www.typescriptlang.org","size":592755,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"Microsoft:master","ref":"master","sha":"9cedb6a90f2a876fdbfcdce7037812a0ba5925e6","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":20929025,"name":"TypeScript","full_name":"Microsoft/TypeScript","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":false,"url":"https://api.github.com/repos/Microsoft/TypeScript","forks_url":"https://api.github.com/repos/Microsoft/TypeScript/forks","keys_url":"https://api.github.com/repos/Microsoft/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/TypeScript/teams","hooks_url":"https://api.github.com/repos/Microsoft/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/TypeScript/events","assignees_url":"https://api.github.com/repos/Microsoft/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/TypeScript/tags","blobs_url":"https://api.github.com/repos/Microsoft/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/TypeScript/languages","stargazers_url":"https://api.github.com/repos/Microsoft/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/TypeScript/subscription","commits_url":"https://api.github.com/repos/Microsoft/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/TypeScript/merges","archive_url":"https://api.github.com/repos/Microsoft/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/TypeScript/downloads","issues_url":"https://api.github.com/repos/Microsoft/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/TypeScript/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/TypeScript/deployments","created_at":"2014-06-17T15:28:39Z","updated_at":"2016-10-18T03:14:14Z","pushed_at":"2016-10-18T03:38:08Z","git_url":"git://github.com/Microsoft/TypeScript.git","ssh_url":"git@github.com:Microsoft/TypeScript.git","clone_url":"https://github.com/Microsoft/TypeScript.git","svn_url":"https://github.com/Microsoft/TypeScript","homepage":"http://www.typescriptlang.org","size":592755,"stargazers_count":15918,"watchers_count":15918,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2154,"mirror_url":null,"open_issues_count":1439,"forks":2154,"open_issues":1439,"watchers":15918,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11692"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/11692"},"issue":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/11692"},"comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/11692/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11692/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/11692/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/TypeScript/statuses/96ecfabfdc10cdff56f689e562861b79a2ea0c03"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"domchen"}}