Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 435941

Summary: Occurrences are not marked in for / do-while loops
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 6.0   
Target Milestone: 6.0 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2014-05-27 11:19:54 EDT
Consider the following snippet:

var foo = 3;
if(foo < 6 {
for(foo; foo < 10; foo++ {
while(foo < 2 {
do{

} while(foo ;

Steps:
1. select 'foo' in the var decl

2. notice all occurrences are marked except for the ones in the for loop init and the do-while condition