temporarily disable own binding identification in nameMethod helper - fixes #871

This commit is contained in:
Sebastian McKenzie
2015-02-25 11:07:51 +11:00
parent 00651e671e
commit 2bab285970
2 changed files with 2 additions and 12 deletions

View File

@@ -47,7 +47,7 @@ var visit = function (node, name, scope) {
// check to see if we have a local binding of the id we're setting inside of
// the function, this is important as there are caveats associated
var bindingInfo = scope.getOwnBindingInfo(name);
var bindingInfo = null; // todo: proper scope not being passed in es6/classes // scope.getOwnBindingInfo(name);
if (bindingInfo) {
if (bindingInfo.kind === "param") {