Community
Participate
Working Groups
Now that we store simple names in the index as well as qualified names (bug 305694), I'm getting proposals for the simple name. The problem is that the associated signature is for the simple name only, and we can't find a source reference and nearby doc for it since it's not the proper qualified name.
Created attachment 179078 [details] proposed patch
What scenario triggers this? I'm not sure how to test this one out, though the fix itself looks fine.
If we have a type named "foo.bar" and we attempt to do content assist for allocation, the proposal for "bar" can't find its doc because we don't have an a type in the model simply named "bar". Since the proposal includes the full name, "foo.bar", it tries to use that as a fallback type name should the name in the signature not be found.
Applied to HEAD.
Checked into 3.2.3 and HEAD.