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

Bug 322412

Summary: [parser] JSDoc not attached to object literal fields that are object literals
Product: [WebTools] JSDT Reporter: Nitin Dahyabhai <thatnitind>
Component: GeneralAssignee: Nitin Dahyabhai <thatnitind>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 Flags: thatnitind: review? (cmjaun)
Version: 3.2   
Target Milestone: 3.2.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
proposed patch none

Description Nitin Dahyabhai CLA 2010-08-11 13:37:20 EDT
Normally, JSDoc preceding a field in an object literal is attached to the field in the AST, but this does not happen if the initializer is itself an object literal.
Comment 1 Nitin Dahyabhai CLA 2010-08-16 14:51:16 EDT
Created attachment 176713 [details]
proposed patch
Comment 2 Nitin Dahyabhai CLA 2010-08-17 15:50:11 EDT
Tagged v201008171850 pre-change and v201008171949 after.