From d2d3a6e065a23867023f9970be707478786336f0 Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Mon, 27 Feb 2017 06:06:09 +0800 Subject: [PATCH] fix double-`descend()` for `AST_Export` in `AST_Toplevel.figure_out_scope()` --- lib/scope.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/scope.js b/lib/scope.js index 9b1a9daf..1aef38a6 100644 --- a/lib/scope.js +++ b/lib/scope.js @@ -144,6 +144,7 @@ AST_Toplevel.DEFMETHOD("figure_out_scope", function(options){ in_export = true; descend(); in_export = false; + return true; } if (node instanceof AST_LabeledStatement) { var l = node.label;