Community
Participate
Working Groups
Build Identifier: M20110909-1335 As soon as you add the property to a function the type inferencer does no longer seem to consider it a function but an object. See the attached JS file. - First we define a type ("jQueryObject") - Then we add a property to the type ("add") - then we define a function that returns this type ("jQuery") At this point we get content assist on the return value. For example jQuery("a"). proposes "add" However once we add a property ("boxModel") to the function we no longer get content assist on jQuery("a"). Reproducible: Always Steps to Reproduce: 1. Define a function that returns a type 2. You should get autocompletion on the return value of the function 3. Add a property to the function 4. You no longer get autocompletion on the return value of the function
Created attachment 206166 [details] test case