| Summary: | Function assigned to field of global object is not resolved | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Chris Jaun <cmjaun> | ||||
| Component: | General | Assignee: | Chris Jaun <cmjaun> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | jzhang | ||||
| Version: | 3.2.1 | Flags: | thatnitind:
review+
|
||||
| Target Milestone: | 3.2.3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 178647 [details]
patch
Need to add some junits. *** Bug 325112 has been marked as a duplicate of this bug. *** InferEngine#getAssignemnt(IExpression) needs its spelling fixed. Checked into 3.2.3 and HEAD. |
org = {}; org.eclipse = {}; org.eclipse.fun = function(){}; org.eclipse.fun(); eclipse and fun() are not found in content assist. If validation is turned on the call to fun() is flagged as an error. If I change "org = {};" to "var org = {};" then everything works.