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

Bug 426933

Summary: Literal not marked in LogicalExpression
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: 5.0   
Target Milestone: 5.0 M2   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2014-01-29 13:29:57 EST
Consider the following snippet:

function f(arg) {
	var arg1 = (arg && arg.foo);
}

if you select 'arg' in the function declaration, the first 'arg' in '(arg && arg.foo)' is not marked (but should be). The reason for this is that we do not check the LHHS of the logic expression (or logic expressions at all)