This repository was archived by the owner on Feb 24, 2022. It is now read-only.

Description
Consider the following code snippet:
var MyObj1 = function() { };
MyObj1.prototype.myFunction1 = function() { };
/**
* @return {MyObj1}
**/
function obj1() {
return
}
/**
* @return {MyObj2}
**/
function obj2() {
return
}
var MyObj2 = function() { };
MyObj2.prototype.myFunction2 = function() { };
Below this code, I enter obj1(). and hit Ctrl+Space and Content-Assist to complete the statement with myFunction1(), which is correct.
When I enter obj2(). and hit Ctrl+Space, Content-Assist does not suggest myFunction2(),
which it should do.