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

Bug 521320

Summary: Function parameter JSDoc assist does not work when type is {?}
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 15.0   
Target Milestone: 16.0   
Hardware: PC   
OS: Mac OS X   
See Also: https://github.com/eclipse/orion.client/pull/158
Whiteboard:

Description Michael Rennie CLA 2017-08-23 12:48:30 EDT
Consider the following snippet:

/**
 * @param {?} a //<- assist here
 */
function F(aparameter) {}

if you try to activate assist where noted, you get no proposal. If you chnage the snippet slightly to:

/**
 * @param {someType} a //<- assist here
 */
function F(aparameter) {}

you get the parameter name as a proposal (as expected)
Comment 1 Eclipse Genie CLA 2017-08-29 15:18:12 EDT
GitHub Pull Request 158 created by [mrennie]
https://github.com/eclipse/orion.client/pull/158