Merge branch 'development'

This commit is contained in:
Sebastian McKenzie 2015-08-03 02:53:24 +01:00
commit 3b3ac1f290

View File

@ -209,7 +209,8 @@ var letReferenceFunctionVisitor = {
// this scope has a variable with the same name so it couldn't belong
// to our let scope
if (scope.getBindingIdentifier(node.name) !== ref) return;
var localBinding = scope.getBindingIdentifier(node.name);
if (localBinding && localBinding !== ref) return;
state.closurify = true;
}