From 964d5b9aa47bad28bc200de90f3acd6d899b2733 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Sun, 4 Aug 2013 21:44:17 +0300 Subject: [PATCH] Don't pretend to evaluate lambdas Fix #255 --- lib/compress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compress.js b/lib/compress.js index 9eed8280..fcc3f31e 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -611,7 +611,7 @@ merge(Compressor.prototype, { // inherits from AST_Statement; however, an AST_Function // isn't really a statement. This could byte in other // places too. :-( Wish JS had multiple inheritance. - return [ this ]; + throw def; }); function ev(node) { return node._eval(); -- 2.34.1