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

Bug 425036

Summary: Function declarations missed being marked
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: unspecified   
Target Milestone: 5.0 M2   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2014-01-07 11:44:16 EST
Consider the following snippet:

var foo = function() {
	function c2() {};	
	c2.prototype.constructor = c2;
	function c() {};
	c.prototype.constructor = c;
	return {c: c}
};

Selecting 'C' will not mark anything, but selecting 'c2' will correctly mark its occurrences.