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 723e0a8 commit 86e4f4eCopy full SHA for 86e4f4e
src/BabelPlugin.js
@@ -406,7 +406,9 @@ function Plugin(babel) {
406
));
407
}
408
409
+ // Add Tail Call Optimization marker boolean to the HzToken
410
if (isTailCall) {
411
+ // Check for TCO validity if the call is within a TryStatement
412
if (tryStack.length > 0) {
413
const tryData = tryStack[tryStack.length - 1];
414
if (path.getFunctionParent().node === tryData.functionParent) {
0 commit comments