aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ast.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ast.js b/lib/ast.js
index 5e1fbbb9..b1704915 100644
--- a/lib/ast.js
+++ b/lib/ast.js
@@ -985,6 +985,7 @@ TreeWalker.prototype = {
fn = this.parent(++i);
if (!fn) return false;
} while (!(fn instanceof AST_Lambda));
+ if (fn.name) return false;
self = this.parent(++i);
if (!self || self.TYPE != "Call" || self.expression !== fn) return false;
} else {