aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-05-10 00:16:09 +0100
committerGitHub <noreply@github.com>2020-05-10 07:16:09 +0800
commitabb8ae02a55b3e3585685362cbae99c6b7a9a380 (patch)
tree00ce03a98027af4248cf0dbd763186584b398e6b /lib
parent97728c4f0bb3a9fe3f135371deaa94afaad7921c (diff)
downloadtracifyjs-abb8ae02a55b3e3585685362cbae99c6b7a9a380.tar.gz
tracifyjs-abb8ae02a55b3e3585685362cbae99c6b7a9a380.zip
improve `inline` of `/*@__PURE__*/` calls (#3865)
Diffstat (limited to 'lib')
-rw-r--r--lib/ast.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ast.js b/lib/ast.js
index 240ef160..31072a08 100644
--- a/lib/ast.js
+++ b/lib/ast.js
@@ -745,7 +745,7 @@ function must_be_expressions(node, prop) {
});
}
-var AST_Call = DEFNODE("Call", "expression args", {
+var AST_Call = DEFNODE("Call", "expression args pure", {
$documentation: "A function call expression",
$propdoc: {
expression: "[AST_Node] expression to invoke as function",