From 86cc5875cf8c8ba5d8674e0e3dec941757b114d8 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 30 Mar 2015 21:46:01 +1100 Subject: [PATCH] re-enable shit safari test #1121 --- src/babel/transformation/helpers/name-method.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/babel/transformation/helpers/name-method.js b/src/babel/transformation/helpers/name-method.js index d7f8d3b6f1..a94e21e806 100644 --- a/src/babel/transformation/helpers/name-method.js +++ b/src/babel/transformation/helpers/name-method.js @@ -55,7 +55,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 = null; // todo: proper scope not being passed in es6/classes // scope.getOwnBindingInfo(name); + var bindingInfo = scope.getOwnBindingInfo(name); if (bindingInfo) { if (bindingInfo.kind === "param") {