From b5feaf7c2fbea2ef8504dec289795d061aa9fe97 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Thu, 20 Nov 2014 21:17:57 +1100 Subject: [PATCH] remove dead code --- lib/6to5/traverse/scope.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/6to5/traverse/scope.js b/lib/6to5/traverse/scope.js index 3945900182..fa6e5b52e4 100644 --- a/lib/6to5/traverse/scope.js +++ b/lib/6to5/traverse/scope.js @@ -15,10 +15,6 @@ var FOR_KEYS = ["left", "init"]; */ function Scope(block, parent) { - if (!parent && block._parent) { - parent = block._parent._scope; - } - this.parent = parent; this.block = block;