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

Bug 424951

Summary: Incorrect reference marked in function declaration
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: 5.0 M2   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2014-01-06 12:23:40 EST
The fix for bug 423835 introduced a regression. If you have N function declarations and all of them define a param / var with the same name, they are all marked (WRONG).
Comment 1 Michael Rennie CLA 2014-01-06 12:47:19 EST
I also found that we are marking member expression ids twice.

Consider the following example:

var foo = {};
foo.bar = 4;  <-- carat on 'foo'

We end up marking the 'foo' in foo.bar twice - once from checking the assignment expression and once from checking the member expression