Fix rename not establishing binding.
This commit is contained in:
@@ -155,7 +155,7 @@ Scope.prototype.rename = function (oldName, newName) {
|
||||
var scope = info.scope;
|
||||
|
||||
this.clearOwnBinding(oldName);
|
||||
scope.bindings[newName] = binding;
|
||||
scope.bindings[newName] = info;
|
||||
|
||||
binding.name = newName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user