Status: New Owner: ---- Labels: Type-Defect Priority-Low
New issue 1157 by ihab.awad: Linter warns on use of Boolean expressions as conditionals
http://code.google.com/p/google-caja/issues/detail?id=1157 If I add to some of the files we now lint, like say cajita.js, the code: (function() { function foo(x) { !!x && x(); } })(); I get the messages: [genrule] WARNING : cajita.js:35+5 - 15: Operation has no effect [genrule] cajita.js:35: !!x && x(); [genrule] ^^^^^^^^^^ [genrule] 1 NO_SIDE_EFFECT -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
