From 12d650e19529b634c6e89e7673c591b75ccab630 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 4 May 2015 22:22:39 +0100 Subject: [PATCH] checkSelf() for destructuring catch clauses --- src/babel/transformation/transformers/es6/destructuring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/babel/transformation/transformers/es6/destructuring.js b/src/babel/transformation/transformers/es6/destructuring.js index 67d1513e65..666f5382ae 100644 --- a/src/babel/transformation/transformers/es6/destructuring.js +++ b/src/babel/transformation/transformers/es6/destructuring.js @@ -104,7 +104,7 @@ export function CatchClause(node, parent, scope, file) { node.body.body = nodes.concat(node.body.body); - return node; + this.checkSelf(); } export function ExpressionStatement(node, parent, scope, file) {