Remove _blockHoist usage from param processing.

This commit is contained in:
Logan Smyth
2017-05-02 13:14:56 -07:00
committed by Brian Ng
parent 18084db7cf
commit d86ae2fb84
4 changed files with 2 additions and 11 deletions

View File

@@ -113,7 +113,6 @@ export default function({ types: t }) {
const declar = t.variableDeclaration("let", [
t.variableDeclarator(paramPath.node, uid),
]);
declar._blockHoist = i ? numParams - i : 1;
parentPath.ensureBlock();
parentPath.get("body").unshiftContainer("body", declar);