From 6c686ce59342c42b7fdcf54296e28c6c6517e6ab Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 16 Dec 2017 02:16:35 +0800 Subject: fix nested `inline` (#2602) fixes #2601 --- lib/compress.js | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/compress.js b/lib/compress.js index 0fac3259..8c17422d 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -3942,6 +3942,7 @@ merge(Compressor.prototype, { expressions.unshift(value || make_node(AST_Undefined, self)); } } else { + scope.var_names()[name.name] = true; decls.unshift(make_node(AST_VarDef, name, { name: name, value: null -- cgit v1.2.3