change TCO BlockStatement visitor back to enter
This commit is contained in:
parent
6f5d16f397
commit
5c27234d19
@ -20,7 +20,7 @@ function returnBlock(expr) {
|
||||
}
|
||||
|
||||
var visitor = {
|
||||
BlockStatement(node, parent) {
|
||||
enter(node, parent) {
|
||||
if (t.isTryStatement(parent)) {
|
||||
if (node === parent.block) {
|
||||
this.skip();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user