change TCO BlockStatement visitor back to enter

This commit is contained in:
Sebastian McKenzie 2015-06-01 00:17:44 +01:00
parent 6f5d16f397
commit 5c27234d19

View File

@ -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();