This commit is contained in:
Mihai Bazon
2013-10-29 15:53:54 +02:00
parent 7cf79c302b
commit b214d3786f

View File

@@ -258,7 +258,7 @@ AST_Scope.DEFMETHOD("next_mangled", function(options){
AST_Function.DEFMETHOD("next_mangled", function(options, def){
// #179, #326
// in Safary strict mode, something like (function x(x){...}) is a syntax error;
// in Safari strict mode, something like (function x(x){...}) is a syntax error;
// a function expression's argument cannot shadow the function expression's name
var tricky_def = def.orig[0] instanceof AST_SymbolFunarg && this.name && this.name.definition();