| Summary: | [quickfix] 'rename in scope' should also apply to function parameters | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 11.0 | ||
| Target Milestone: | 11.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed in: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=f4aa3964740ad69c191ad02fe5a75cdb4307f17f the commit also has a change to move the fix code (the delegate call to the rename command) into the fix computer, so now anything using the fix computer can also have access to the no-shadow-* fixes. I also removed linting warnings. |
consider the following snippet: /* eslint-env browser*/ function f(location) { var myloc = location; } the 'location' param will be flagged as shadowing, but there is no fix available.