Permalink
Browse files

Also descend arg AST nodes in ast_squeeze function-call handler

  • Loading branch information...
1 parent 8ddc3db commit e5206581501272c4727441280f4f0e25abe031be Paul Baumgart committed May 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/process.js
View
@@ -1400,7 +1400,7 @@ function ast_squeeze(ast, options) {
if (options.unsafe && expr[0] == "dot" && expr[1][0] == "string" && expr[2] == "toString") {
return expr[1];
}
- return [ this[0], expr, args ];
+ return [ this[0], expr, MAP(args, walk) ];
}
}, function() {
for (var i = 0; i < 2; ++i) {

0 comments on commit e520658

Please sign in to comment.