Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322412 - [parser] JSDoc not attached to object literal fields that are object literals
Summary: [parser] JSDoc not attached to object literal fields that are object literals
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.2   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 13:37 EDT by Nitin Dahyabhai CLA
Modified: 2010-08-17 15:50 EDT (History)
0 users

See Also:
thatnitind: review? (cmjaun)


Attachments
proposed patch (12.67 KB, patch)
2010-08-16 14:51 EDT, Nitin Dahyabhai CLA
no flags Details | Diff

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