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

Bug 501447

Summary: Occurrences not working on ThisExpression
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: 12.0   
Target Milestone: 13.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2016-09-14 14:16:23 EDT
Consider the following snippet:

Object.keys(this._ipc).forEach(function(key) { 
  if(typeof this._ipc[key] === 'function') {
    this[key] = _ipcCall(key, this._ipc);				
  }
}, this);

if you select 'key' anywhere but the 'this[key]' expression, occurrences are correctly marked. If you select the 'key' in 'this[key]' nothing is marked.