We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab8b65 commit 84d8ed7Copy full SHA for 84d8ed7
src/BabelPlugin.js
@@ -1,11 +1,5 @@
1
function Plugin(babel) {
2
const t = babel.types;
3
- const tcoTypes = [
4
- "SequenceExpression",
5
- "LogicalExpression",
6
- "ConditionalExpression",
7
- "CallExpression"
8
- ];
9
function markTailCall(expr) {
10
if (expr.type === "CallExpression") {
11
expr.isTailCall = true;
0 commit comments