JavaScript: Teach API graphs to recognise arguments supplied in partial function applications.

This commit is contained in:
Max Schaefer
2020-09-28 15:34:47 +01:00
parent 18bdc054cd
commit dfc4436012
5 changed files with 45 additions and 12 deletions

View File

@@ -0,0 +1 @@
import ApiGraphs.VerifyAssertions

View File

@@ -0,0 +1,8 @@
const cp = require('child_process');
module.exports = function () {
return cp.spawn.bind(
cp, // def (parameter -1 (member spawn (member exports (module child_process))))
"cat" // def (parameter 0 (member spawn (member exports (module child_process))))
);
};

View File

@@ -0,0 +1,3 @@
{
"name": "partial-invoke"
}