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

Bug 423369

Summary: [occurrrences] Return statement not marked
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2013-12-05 14:48:46 EST
Consider the following snippet:

define([], function() {

 function MyObject() { //<- carat in MyObject
 };
 
 var o = {
 	i: function() {
 		return new MyObject().foo;
 	}
 };
 
 return MyObject;
});

if you put the carat where indicated the occurrence is not marked in the return statement
Comment 1 Michael Rennie CLA 2014-01-03 12:33:12 EST
This was fixed with the fix for bug 423835