Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 426039

Summary: [content assist] parsed types of Array.<Object> never appear in proposal list
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: JS ToolsAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2014-01-17 19:55:27 EST
See bug 425821 comment 1 for details.

The Tern index parser currently outputs "Array" rather than the type application "Array.<Object>" when a Tern file provides a type "[?]" or "[Object]". This was done to work around a bug in the content assist engine, which seems to ignore these type applications.

So for example, in the nodeIndex there's this:
> "module": {
>   "children": "[Object]"
> }
When the generated signature is Array.<Object>, module.children never appears in the completion list.

The parser should be changed to output the type application, and the engine bug should be fixed.
Comment 1 John Arthorne CLA 2015-05-05 14:49:06 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html