You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: baseVisitor[type] is not a function
at c (/private/tmp/prova/node_modules/acorn/dist/walk.js:29:22)
at Object.skipThrough (/private/tmp/prova/node_modules/acorn/dist/walk.js:183:37)
at c (/private/tmp/prova/node_modules/acorn/dist/walk.js:29:22)
at Object.base.NewExpression.base.CallExpression (/private/tmp/prova/node_modules/acorn/dist/walk.js:374:3)
at c (/private/tmp/prova/node_modules/acorn/dist/walk.js:29:22)
at Object.skipThrough (/private/tmp/prova/node_modules/acorn/dist/walk.js:183:37)
at c (/private/tmp/prova/node_modules/acorn/dist/walk.js:29:22)
at Object.base.ExpressionStatement.base.ParenthesizedExpression (/private/tmp/prova/node_modules/acorn/dist/walk.js:201:35)
at c (/private/tmp/prova/node_modules/acorn/dist/walk.js:29:22)
at Object.skipThrough (/private/tmp/prova/node_modules/acorn/dist/walk.js:183:37)
>
I am trying to walk an AST parsed with the stage3 plugin, but both the injector and the decorated acorn instance throw an error.
The following code:
Will throw an error like:
Using the injector will yield equal results:
Same result.
Am I doing something wrong?
The same kind of problem also happens with "acorn-acorn-object-rest-spread"
Thank you
The text was updated successfully, but these errors were encountered: