MCPcopy Create free account
hub / github.com/nodejs/node / associateRelatedInfo

Function associateRelatedInfo

test/fixtures/snapshot/typescript.js:64867–64875  ·  view source on GitHub ↗
(info)

Source from the content-addressed store, hash-verified

64865 errorInfo = ts.chainDiagnosticMessages(errorInfo, message, arg0, arg1, arg2, arg3);
64866 }
64867 function associateRelatedInfo(info) {
64868 ts.Debug.assert(!!errorInfo);
64869 if (!relatedInfo) {
64870 relatedInfo = [info];
64871 }
64872 else {
64873 relatedInfo.push(info);
64874 }
64875 }
64876 function reportRelationError(message, source, target) {
64877 if (incompatibleStack)
64878 reportIncompatibleStack();

Callers 1

reportUnmatchedPropertyFunction · 0.85

Calls 2

assertMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected