You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
[fn param hints] Array type param is incorrectly shown as function type. #4747
/**
* Add an array of files to tern.
*
* @param {Array.<string>} files - each string in the array is the full
* path of a file.
*/
function handleAddFiles(files) {
files.forEach(function (file) {
ternServer.addFile(file);
});
}
Paste the above code in a js file.
Type handleAddFiles( on a new line.
Press Ctrl+Shift+Space to bring up param hint.
Result: function(Number):Object files shows up as param hint.
Expected It should show Array files.
Activity
pthiess commentedon Aug 13, 2013
@RaymondLim We don't put it into this sprint as the pull request card isn't right now.
dangoor commentedon Oct 4, 2013
This appears to be fixed. FBNC to @RaymondLim
pthiess commentedon Nov 18, 2013
HI @RaymondLim -- please regress this bug, thanks a lot -:)