diff --git a/lib/6to5/traversal/scope.js b/lib/6to5/traversal/scope.js index f6d9c4eab2..1b3ae55158 100644 --- a/lib/6to5/traversal/scope.js +++ b/lib/6to5/traversal/scope.js @@ -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;