{"action":"created","issue":{"url":"https://api.github.com/repos/google/closure-compiler/issues/759","labels_url":"https://api.github.com/repos/google/closure-compiler/issues/759/labels{/name}","comments_url":"https://api.github.com/repos/google/closure-compiler/issues/759/comments","events_url":"https://api.github.com/repos/google/closure-compiler/issues/759/events","html_url":"https://github.com/google/closure-compiler/issues/759","id":52700151,"number":759,"title":"Bogus 'Invalid redeclaration of property' warnings","user":{"login":"nicks","id":278641,"avatar_url":"https://avatars.githubusercontent.com/u/278641?v=3","gravatar_id":"","url":"https://api.github.com/users/nicks","html_url":"https://github.com/nicks","followers_url":"https://api.github.com/users/nicks/followers","following_url":"https://api.github.com/users/nicks/following{/other_user}","gists_url":"https://api.github.com/users/nicks/gists{/gist_id}","starred_url":"https://api.github.com/users/nicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicks/subscriptions","organizations_url":"https://api.github.com/users/nicks/orgs","repos_url":"https://api.github.com/users/nicks/repos","events_url":"https://api.github.com/users/nicks/events{/privacy}","received_events_url":"https://api.github.com/users/nicks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/closure-compiler/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/google/closure-compiler/labels/NTI","name":"NTI","color":"006b75"}],"state":"closed","locked":false,"assignee":{"login":"dimvar","id":286890,"avatar_url":"https://avatars.githubusercontent.com/u/286890?v=3","gravatar_id":"","url":"https://api.github.com/users/dimvar","html_url":"https://github.com/dimvar","followers_url":"https://api.github.com/users/dimvar/followers","following_url":"https://api.github.com/users/dimvar/following{/other_user}","gists_url":"https://api.github.com/users/dimvar/gists{/gist_id}","starred_url":"https://api.github.com/users/dimvar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimvar/subscriptions","organizations_url":"https://api.github.com/users/dimvar/orgs","repos_url":"https://api.github.com/users/dimvar/repos","events_url":"https://api.github.com/users/dimvar/events{/privacy}","received_events_url":"https://api.github.com/users/dimvar/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2014-12-22T23:33:20Z","updated_at":"2015-05-06T18:45:36Z","closed_at":"2015-05-06T18:45:36Z","body":"With compiler release 20141215, add the following code to test.js:\r\n\r\n```js\r\n/** @constructor */\r\nfunction F() {}\r\n\r\n/**\r\n * @param {string} x\r\n * @param {...*} var_args\r\n * @return {*}\r\n */\r\nF.prototype.method;\r\n\r\n/**\r\n * @constructor\r\n * @extends {F}\r\n */\r\nfunction G() {}\r\n\r\n/** @override */\r\nG.prototype.method = function (x, opt_index) {}\r\n```\r\n\r\nand run\r\n\r\n```\r\njava -jar build/compiler.jar --js=test.js --warning_level=VERBOSE --new_type_inf\r\n```\r\n\r\nI expect no warnings. Instead I get:\r\n\r\n```\r\ntest.js:19: WARNING - Invalid redeclaration of property method.\r\ninherited type  : function(this:F,string,...*):*\r\noverriding type : function(this:G,?,?):?\r\n\r\nG.prototype.method = function (x, opt_index) {}\r\n^\r\n```\r\n\r\nwhich seems wrong? I can't repro this on the online debugger, so this might be a recent or recently-fixed regression"},"comment":{"url":"https://api.github.com/repos/google/closure-compiler/issues/comments/99570540","html_url":"https://github.com/google/closure-compiler/issues/759#issuecomment-99570540","issue_url":"https://api.github.com/repos/google/closure-compiler/issues/759","id":99570540,"user":{"login":"dimvar","id":286890,"avatar_url":"https://avatars.githubusercontent.com/u/286890?v=3","gravatar_id":"","url":"https://api.github.com/users/dimvar","html_url":"https://github.com/dimvar","followers_url":"https://api.github.com/users/dimvar/followers","following_url":"https://api.github.com/users/dimvar/following{/other_user}","gists_url":"https://api.github.com/users/dimvar/gists{/gist_id}","starred_url":"https://api.github.com/users/dimvar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimvar/subscriptions","organizations_url":"https://api.github.com/users/dimvar/orgs","repos_url":"https://api.github.com/users/dimvar/repos","events_url":"https://api.github.com/users/dimvar/events{/privacy}","received_events_url":"https://api.github.com/users/dimvar/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T18:45:36Z","updated_at":"2015-05-06T18:45:36Z","body":"fixed: https://github.com/google/closure-compiler/commit/c81d876573970b3b6d38a612490d50b2100772e3"}}