| Summary: | /** @callback */ is no longer making unused parameter warnings go away | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Grant Gayed <grant_gayed> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Michael_Rennie |
| Version: | 8.0 | ||
| Target Milestone: | 9.0 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Grant Gayed
This is probably some fall out from the parser update. They broke some of the support for attaching comments in the parser: https://github.com/jquery/esprima/issues/1071 I guess comments are no longer attached to the FunctionExpression node anymore Fix: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=a9d3c1c328aaced8ebcbf60e5f921ca57cffb646 The comments for FunctionExpressions are all over the place now. In one case they are attached to the key of the property (of the object expression) and in another case they are attached to the first parameter of the function expression when it is not assigned to anything (a function expression passed in as a param). |