diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/output.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.js b/lib/output.js index 324f96ed..801f7516 100644 --- a/lib/output.js +++ b/lib/output.js @@ -533,7 +533,7 @@ function OutputStream(options) { PARENS([ AST_Unary, AST_Undefined ], function(output){ var p = output.parent(); return p instanceof AST_PropAccess && p.expression === this - || p instanceof AST_New; + || p instanceof AST_Call && p.expression === this; }); PARENS(AST_Seq, function(output){ |