| Summary: | @callback on function assignment expression does not suppress missing param warnings | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | Carolyn_MacLeod |
| Version: | 10.0 | ||
| Target Milestone: | 10.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Consider the following case: /** * @param {Element} parent the parent dom where the commit info is rendered * @param {Object} commitInfo the commit info */ NavigatorRenderer.prototype.getCommitRenderer = function(parent, commitInfo) { return null; }; if you add @callback to the existing doc node the unused param warnings don't go away. Even more annoying is that if you use the quickfix it adds '/* @callback */' in front of the function keyword, rather than in the existing doc block.