rename ScopeManager.requestFunctionHint to ScopeManager.requestParameterHint.

add unittests for HintUtils.formatParameterHint
This commit is contained in:
dloverin committed 2013-07-30 11:40:58 -04:00
1 parent 088c6c9c42
commit e4d8d66742
5 files changed
+88 -18

No files matched your search

@@ -382,11 +382,7 @@ importScripts("thirdparty/requirejs/require.js");
var result = "function(",
params = processInferFnTypeParameters(inferType);
function appendValue(value) {
result += value;
}
HintUtils2.formatParameterHint(params, appendValue, appendValue, true);
result += HintUtils2.formatParameterHint(params, null, null, true);
if (inferType.retval) {
result += "):";
result += inferTypeToString(inferType.retval);