This commit is contained in:
Justin Ridgewell
2017-08-02 19:47:14 -04:00
parent 9d7c82d869
commit 6bb1486405
2 changed files with 3 additions and 3 deletions

View File

@@ -459,8 +459,8 @@ class BlockScoping {
this.hoistVarDeclarations();
// turn outsideLetReferences into an array
const params = values(outsideRefs);
const args = values(outsideRefs);
const params = args.map(id => t.clone(id));
const isSwitch = this.blockPath.isSwitchStatement();

View File

@@ -12,9 +12,9 @@ var _iteratorError = undefined;
try {
for (var _iterator = c[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
var path = _step.value;
var _path = _step.value;
_loop(path);
_loop(_path);
}
} catch (err) {
_didIteratorError = true;