@babel/traverse 8.0.0-alpha.10 → 8.0.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1150,7 +1150,7 @@ class Scope {
1150
1150
  this.checkBlockScopedCollisions(local, kind, name, id);
1151
1151
  }
1152
1152
  if (local) {
1153
- this.registerConstantViolation(bindingPath);
1153
+ local.reassign(bindingPath);
1154
1154
  } else {
1155
1155
  this.bindings[name] = new Binding({
1156
1156
  identifier: id,