From 90ce4e93ed938a24d4c8416816ab408233a22e2b Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 5 Jan 2015 10:21:50 +1100 Subject: [PATCH] don't break let reference checking on loops in let scoping --- lib/6to5/transformation/transformers/es6-let-scoping.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/6to5/transformation/transformers/es6-let-scoping.js b/lib/6to5/transformation/transformers/es6-let-scoping.js index 3da1800688..75e17812e8 100644 --- a/lib/6to5/transformation/transformers/es6-let-scoping.js +++ b/lib/6to5/transformation/transformers/es6-let-scoping.js @@ -388,8 +388,6 @@ LetScoping.prototype.getLetReferences = function () { } }); - return this.skip(); - } else if (t.isLoop(node)) { return this.skip(); } }