| Summary: | [validation] Incorrect Validation error with JSDoc and && operator | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Paul Beusterien <paul.beusterien> |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cmjaun |
| Version: | 3.3 | ||
| Target Milestone: | Future | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
This error message is no longer displayed in 3.5. |
/** * @param {Function} callback */ function foo (callback) { if (callback) { // no validation error bar(); } if (callback && true) { // validation error on above line // The operator && is undefined for the argument type(s) // Function, boolean andandvalidation.js /semibug line 10 JavaScript Problem bar(); } };