add block to for loop scope - fixes #538
This commit is contained in:
@@ -139,6 +139,8 @@ Scope.prototype.getInfo = function () {
|
||||
var node = block[key];
|
||||
if (t.isBlockScoped(node)) add(node);
|
||||
});
|
||||
|
||||
block = block.body;
|
||||
}
|
||||
|
||||
// Program, BlockStatement - let variables
|
||||
|
||||
Reference in New Issue
Block a user