Bug 269055 - Object Literal definition is not treated as an Object
Summary: Object Literal definition is not treated as an Object
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0.5   Edit
Assignee: Chris Jaun CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks: 275232
  Show dependency tree
 
Reported: 2009-03-17 15:11 EDT by Chris Jaun CLA
Modified: 2010-03-03 11:13 EST (History)
0 users

See Also:
thatnitind: review+


Attachments
Updates to the InferEngine, ObjectLit resolving, and junit tests (9.64 KB, patch)
2009-05-05 17:49 EDT, Chris Jaun CLA
thatnitind: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Jaun CLA 2009-03-17 15:11:36 EDT
Build ID: WTP 3.1 m6

Steps To Reproduce:
Enter the following in the JS editor:

var s = {x:1, y:1}.

Attempt content assist at the end of the line.

Nothing shows up in content assist. We should display all the standard object methods such as toString, valueOf, etc.


More information:
Comment 1 Chris Jaun CLA 2009-05-05 17:49:09 EDT
Created attachment 134531 [details]
Updates to the InferEngine, ObjectLit resolving, and junit tests
Comment 2 Chris Jaun CLA 2009-05-05 17:50:05 EDT
This can go in 3.0.5 and 3.1m7.
Comment 3 Nitin Dahyabhai CLA 2009-05-06 18:54:46 EDT
Applied, thanks, Chris.