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

Bug 354902

Summary: Assignments causing a function to be made a type ignore their JSDoc
Product: [WebTools] JSDT Reporter: Nitin Dahyabhai <thatnitind>
Component: GeneralAssignee: Nitin Dahyabhai <thatnitind>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: 3.1.1   
Hardware: All   
OS: All   
Whiteboard:

Description Nitin Dahyabhai CLA 2011-08-16 22:59:34 EDT
In this example, the JSDoc for this.string is ignored:

Test = function(input)
{
  /**
   * @type String
   */
  this.string = input;
  return this;
};
Comment 1 Nitin Dahyabhai CLA 2011-08-16 23:04:07 EDT
InferEngine updated.