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

Bug 341823

Summary: [search] JSDT ignores JSDoc in merged variable declaration
Product: [WebTools] JSDT Reporter: Sergey <serge.che>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: NEW --- QA Contact: Chris Jaun <cmjaun>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sergey CLA 2011-04-04 12:53:41 EDT
Build Identifier: 

If I'll write this:

/** @type Object */
var obj = null;

/** @type Element */
var elem = null;

...everything works fine. But if I merge variable declaration like this:

/** @type Object */
var obj = null,

	/** @type Element */
	elem = null;

...the "elem" variable type is recognized as "any" (i.e. JSDoc doesn't work here)


Reproducible: Always