ignore hoisted kind when checking for block scoped collisions
This commit is contained in:
@@ -195,7 +195,7 @@ Scope.prototype.register = function (node, reference, kind) {
|
||||
for (var key in ids) {
|
||||
var id = ids[key];
|
||||
|
||||
this.checkBlockScopedCollisions(key, id);
|
||||
if (kind !== "hoisted") this.checkBlockScopedCollisions(key, id);
|
||||
|
||||
this.registerType(key, id, node);
|
||||
this.bindings[key] = id;
|
||||
|
||||
Reference in New Issue
Block a user