diff options
-rw-r--r-- | lib/scope.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scope.js b/lib/scope.js index 833a96ef..3165186b 100644 --- a/lib/scope.js +++ b/lib/scope.js @@ -291,7 +291,7 @@ AST_Scope.DEFMETHOD("next_mangled", function(){ // inner scopes. for (var i = n; --i >= 0;) { var sym = ext[i]; - var name = sym.mangled_name || sym.name; + var name = sym.mangled_name || (sym.unmangleable() && sym.name); if (m == name) continue out; } return m; |