rename ScopeManager.requestFunctionHint to ScopeManager.requestParameterHint.

add unittests for HintUtils.formatParameterHint
This commit is contained in:
dloverin committed 2013-08-01 21:05:08 -04:00
1 parent 8ae1abe419
commit d837cd19e2
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);