diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-11-16 10:04:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 10:04:30 +0800 |
commit | ae28a24c7f7919d8de1c3044f28571ebe2036850 (patch) | |
tree | ddcc46bb6e6acd01685507b1b735b7bb7c082f33 /lib/ast.js | |
parent | ebe761cad09343e514a7a02b591dbb93f651c888 (diff) | |
download | tracifyjs-ae28a24c7f7919d8de1c3044f28571ebe2036850.tar.gz tracifyjs-ae28a24c7f7919d8de1c3044f28571ebe2036850.zip |
fix cross-scope inlining of `AST_Function`s (#2486)
fixes #2485
Diffstat (limited to 'lib/ast.js')
-rw-r--r-- | lib/ast.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -352,11 +352,11 @@ var AST_Accessor = DEFNODE("Accessor", null, { $documentation: "A setter/getter function. The `name` property is always null." }, AST_Lambda); -var AST_Function = DEFNODE("Function", null, { +var AST_Function = DEFNODE("Function", "inlined", { $documentation: "A function expression" }, AST_Lambda); -var AST_Defun = DEFNODE("Defun", null, { +var AST_Defun = DEFNODE("Defun", "inlined", { $documentation: "A function definition" }, AST_Lambda); |