Community
Participate
Working Groups
Build Identifier: 20110916-0149 When using a variable that was globally defined in another file (on the project's source path), its (inferred) type is lost when is was initialized by a function call. File 1 (snippet, cf. attached bug-1.js): var obj1 = new Class(); var obj2 = returnsClass(); // just returns a new Class() instance File 2 (snippet, cf. attached bug-2.js): obj1.op(); // <== Content assist works, help works obj2.op(); // <== NO CONTENT ASSIST, NO HELP Reproducible: Always Steps to Reproduce: 1.Open attached files in Eclipse 2.Hover mouse over line "obj2.op()" 3.Additionally, enter "obj2." and hit Ctrl-Space
Created attachment 204167 [details] bug-1.js: Where the class and method are defined
Created attachment 204168 [details] bug-2.js: Where the variables are used