Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354902 - Assignments causing a function to be made a type ignore their JSDoc
Summary: Assignments causing a function to be made a type ignore their JSDoc
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.1.1   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-16 22:59 EDT by Nitin Dahyabhai CLA
Modified: 2011-08-16 23:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.