Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341823 - [search] JSDT ignores JSDoc in merged variable declaration
Summary: [search] JSDT ignores JSDoc in merged variable declaration
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-04 12:53 EDT by Sergey CLA
Modified: 2013-06-19 11:09 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 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