You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Check both attached files (fooNoGoogScope.js and fooWithGoogScope.js)
What is the expected output? What do you see instead?
Expected output is two errors:
----- FILE : /Users/me/fooNoGoogScope.js -----
Line 19, E:0221: Member "this.complain_" must have @private JsDoc.
----- FILE : /Users/me/fooWithGoogScope.js -----
Line 25, E:0221: Member "this.complain_" must have @private JsDoc.
Found 2 errors, including 0 new errors, in 2 files (0 files OK).
Actual output:
----- FILE : /Users/me/fooNoGoogScope.js -----
Line 19, E:0221: Member "this.complain_" must have @private JsDoc.
I would expect that goog.scope not to change the behavior of requiring @private
on member variables that end with an underscore.
What version of the product are you using? On what operating system?
2.3.11, OS X 10.6
Please provide any additional information below.
The same error does not occur with declarations in the immediate scope of the
goog.scope function.
Original issue reported on code.google.com by [email protected] on 3 Sep 2013 at 11:26
Original issue reported on code.google.com by
[email protected]
on 3 Sep 2013 at 11:26Attachments:
The text was updated successfully, but these errors were encountered: