{"action":"created","comment":{"url":"https://api.github.com/repos/angular/clutz/pulls/comments/53532512","id":53532512,"diff_hunk":"@@ -446,6 +450,12 @@ public int compare(TypedVar o1, TypedVar o2) {\n     return treeWalker.valueSymbolsWalked;\n   }\n \n+  private boolean isValidJSProperty(String other) {","path":"src/main/java/com/google/javascript/clutz/DeclarationGenerator.java","position":15,"original_position":15,"commit_id":"df0ef0a2d4455e0e23cb843fcfeb7f3b712d9677","original_commit_id":"df0ef0a2d4455e0e23cb843fcfeb7f3b712d9677","user":{"login":"rkirov","id":95713,"avatar_url":"https://avatars.githubusercontent.com/u/95713?v=3","gravatar_id":"","url":"https://api.github.com/users/rkirov","html_url":"https://github.com/rkirov","followers_url":"https://api.github.com/users/rkirov/followers","following_url":"https://api.github.com/users/rkirov/following{/other_user}","gists_url":"https://api.github.com/users/rkirov/gists{/gist_id}","starred_url":"https://api.github.com/users/rkirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkirov/subscriptions","organizations_url":"https://api.github.com/users/rkirov/orgs","repos_url":"https://api.github.com/users/rkirov/repos","events_url":"https://api.github.com/users/rkirov/events{/privacy}","received_events_url":"https://api.github.com/users/rkirov/received_events","type":"User","site_admin":false},"body":"duh, already spoiled by \"extract method\", it kept the name of the local var. done","created_at":"2016-02-19T23:16:41Z","updated_at":"2016-02-19T23:16:41Z","html_url":"https://github.com/angular/clutz/pull/248#discussion_r53532512","pull_request_url":"https://api.github.com/repos/angular/clutz/pulls/248","_links":{"self":{"href":"https://api.github.com/repos/angular/clutz/pulls/comments/53532512"},"html":{"href":"https://github.com/angular/clutz/pull/248#discussion_r53532512"},"pull_request":{"href":"https://api.github.com/repos/angular/clutz/pulls/248"}}},"pull_request":{"url":"https://api.github.com/repos/angular/clutz/pulls/248","id":60014238,"html_url":"https://github.com/angular/clutz/pull/248","diff_url":"https://github.com/angular/clutz/pull/248.diff","patch_url":"https://github.com/angular/clutz/pull/248.patch","issue_url":"https://api.github.com/repos/angular/clutz/issues/248","number":248,"state":"open","locked":false,"title":"do not emit invalid property names.","user":{"login":"rkirov","id":95713,"avatar_url":"https://avatars.githubusercontent.com/u/95713?v=3","gravatar_id":"","url":"https://api.github.com/users/rkirov","html_url":"https://github.com/rkirov","followers_url":"https://api.github.com/users/rkirov/followers","following_url":"https://api.github.com/users/rkirov/following{/other_user}","gists_url":"https://api.github.com/users/rkirov/gists{/gist_id}","starred_url":"https://api.github.com/users/rkirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkirov/subscriptions","organizations_url":"https://api.github.com/users/rkirov/orgs","repos_url":"https://api.github.com/users/rkirov/repos","events_url":"https://api.github.com/users/rkirov/events{/privacy}","received_events_url":"https://api.github.com/users/rkirov/received_events","type":"User","site_admin":false},"body":"Invalid prop names can only be accessed with index operator, i.e.\r\nfoo['0'], which cannot be typed differently for each prop.","created_at":"2016-02-19T22:04:12Z","updated_at":"2016-02-19T23:16:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ac193e54ac9f17f393af71234159bec9d3f70b4","assignee":{"login":"martine","id":3847,"avatar_url":"https://avatars.githubusercontent.com/u/3847?v=3","gravatar_id":"","url":"https://api.github.com/users/martine","html_url":"https://github.com/martine","followers_url":"https://api.github.com/users/martine/followers","following_url":"https://api.github.com/users/martine/following{/other_user}","gists_url":"https://api.github.com/users/martine/gists{/gist_id}","starred_url":"https://api.github.com/users/martine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martine/subscriptions","organizations_url":"https://api.github.com/users/martine/orgs","repos_url":"https://api.github.com/users/martine/repos","events_url":"https://api.github.com/users/martine/events{/privacy}","received_events_url":"https://api.github.com/users/martine/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/angular/clutz/pulls/248/commits","review_comments_url":"https://api.github.com/repos/angular/clutz/pulls/248/comments","review_comment_url":"https://api.github.com/repos/angular/clutz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/clutz/issues/248/comments","statuses_url":"https://api.github.com/repos/angular/clutz/statuses/df0ef0a2d4455e0e23cb843fcfeb7f3b712d9677","head":{"label":"angular:invalid_names","ref":"invalid_names","sha":"df0ef0a2d4455e0e23cb843fcfeb7f3b712d9677","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":31076984,"name":"clutz","full_name":"angular/clutz","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/clutz","description":"Closure to TypeScript `.d.ts` generator","fork":false,"url":"https://api.github.com/repos/angular/clutz","forks_url":"https://api.github.com/repos/angular/clutz/forks","keys_url":"https://api.github.com/repos/angular/clutz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/clutz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/clutz/teams","hooks_url":"https://api.github.com/repos/angular/clutz/hooks","issue_events_url":"https://api.github.com/repos/angular/clutz/issues/events{/number}","events_url":"https://api.github.com/repos/angular/clutz/events","assignees_url":"https://api.github.com/repos/angular/clutz/assignees{/user}","branches_url":"https://api.github.com/repos/angular/clutz/branches{/branch}","tags_url":"https://api.github.com/repos/angular/clutz/tags","blobs_url":"https://api.github.com/repos/angular/clutz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/clutz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/clutz/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/clutz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/clutz/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/clutz/languages","stargazers_url":"https://api.github.com/repos/angular/clutz/stargazers","contributors_url":"https://api.github.com/repos/angular/clutz/contributors","subscribers_url":"https://api.github.com/repos/angular/clutz/subscribers","subscription_url":"https://api.github.com/repos/angular/clutz/subscription","commits_url":"https://api.github.com/repos/angular/clutz/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/clutz/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/clutz/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/clutz/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/clutz/contents/{+path}","compare_url":"https://api.github.com/repos/angular/clutz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/clutz/merges","archive_url":"https://api.github.com/repos/angular/clutz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/clutz/downloads","issues_url":"https://api.github.com/repos/angular/clutz/issues{/number}","pulls_url":"https://api.github.com/repos/angular/clutz/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/clutz/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/clutz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/clutz/labels{/name}","releases_url":"https://api.github.com/repos/angular/clutz/releases{/id}","deployments_url":"https://api.github.com/repos/angular/clutz/deployments","created_at":"2015-02-20T17:52:24Z","updated_at":"2016-02-15T04:05:25Z","pushed_at":"2016-02-19T22:10:13Z","git_url":"git://github.com/angular/clutz.git","ssh_url":"git@github.com:angular/clutz.git","clone_url":"https://github.com/angular/clutz.git","svn_url":"https://github.com/angular/clutz","homepage":"","size":442,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":27,"forks":1,"open_issues":27,"watchers":9,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"a922ee88cf9a30b613901142deca7511adc995f5","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":31076984,"name":"clutz","full_name":"angular/clutz","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/clutz","description":"Closure to TypeScript `.d.ts` generator","fork":false,"url":"https://api.github.com/repos/angular/clutz","forks_url":"https://api.github.com/repos/angular/clutz/forks","keys_url":"https://api.github.com/repos/angular/clutz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/clutz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/clutz/teams","hooks_url":"https://api.github.com/repos/angular/clutz/hooks","issue_events_url":"https://api.github.com/repos/angular/clutz/issues/events{/number}","events_url":"https://api.github.com/repos/angular/clutz/events","assignees_url":"https://api.github.com/repos/angular/clutz/assignees{/user}","branches_url":"https://api.github.com/repos/angular/clutz/branches{/branch}","tags_url":"https://api.github.com/repos/angular/clutz/tags","blobs_url":"https://api.github.com/repos/angular/clutz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/clutz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/clutz/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/clutz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/clutz/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/clutz/languages","stargazers_url":"https://api.github.com/repos/angular/clutz/stargazers","contributors_url":"https://api.github.com/repos/angular/clutz/contributors","subscribers_url":"https://api.github.com/repos/angular/clutz/subscribers","subscription_url":"https://api.github.com/repos/angular/clutz/subscription","commits_url":"https://api.github.com/repos/angular/clutz/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/clutz/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/clutz/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/clutz/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/clutz/contents/{+path}","compare_url":"https://api.github.com/repos/angular/clutz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/clutz/merges","archive_url":"https://api.github.com/repos/angular/clutz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/clutz/downloads","issues_url":"https://api.github.com/repos/angular/clutz/issues{/number}","pulls_url":"https://api.github.com/repos/angular/clutz/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/clutz/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/clutz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/clutz/labels{/name}","releases_url":"https://api.github.com/repos/angular/clutz/releases{/id}","deployments_url":"https://api.github.com/repos/angular/clutz/deployments","created_at":"2015-02-20T17:52:24Z","updated_at":"2016-02-15T04:05:25Z","pushed_at":"2016-02-19T22:10:13Z","git_url":"git://github.com/angular/clutz.git","ssh_url":"git@github.com:angular/clutz.git","clone_url":"https://github.com/angular/clutz.git","svn_url":"https://github.com/angular/clutz","homepage":"","size":442,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":27,"forks":1,"open_issues":27,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/clutz/pulls/248"},"html":{"href":"https://github.com/angular/clutz/pull/248"},"issue":{"href":"https://api.github.com/repos/angular/clutz/issues/248"},"comments":{"href":"https://api.github.com/repos/angular/clutz/issues/248/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/clutz/pulls/248/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/clutz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/clutz/pulls/248/commits"},"statuses":{"href":"https://api.github.com/repos/angular/clutz/statuses/df0ef0a2d4455e0e23cb843fcfeb7f3b712d9677"}}}}