| Summary: | Literal not marked in LogicalExpression | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | 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: | |||
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)