closure-linter icon indicating copy to clipboard operation
closure-linter copied to clipboard

linter ignores @suppress {visibility}

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

What steps will reproduce the problem?
1. Create a class that inherits from a class with a private method
2. Implement the private method in the subclass but use @suppress {visibility} 
to suppress the warning

What is the expected output? What do you see instead?

I expect the warning to be suppressed but instead I get:

Line 51, E:0224: filevision.net.XhrIo.prototype.cleanUpXhr_ should not inherit 
from a private member.

What version of the product are you using? On what operating system?

v2.3.10 Windows 8

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 16 Aug 2013 at 5:38

GoogleCodeExporter avatar Jun 17 '15 06:06 GoogleCodeExporter

Just upgraded to the latest version (v2.3.11) and it still happens.

Original comment by [email protected] on 16 Aug 2013 at 5:57

GoogleCodeExporter avatar Jun 17 '15 06:06 GoogleCodeExporter