| Summary: | Incorrect marking of 'this' occurrences in nested object scopes | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | curtis.windatt.public |
| Version: | 6.0 | ||
| Target Milestone: | 8.0 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Michael Rennie
Still a problem in 8.0, we are limiting the scope of the search to the selected scope and its parents, no sibling scopes. To fix we need to do something similar to our standard occurrences check where we move occurrences into the parent scope until we find the declaring scope. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=ff09ee984ca57fcec06ddc231cbc4404d7cb12a7 Fixed in master with tests We already handled moving the occurrences to the defining scope. However, we had code to explicitly skip object expressions that didn't contain the selection. |