Don't pretend to evaluate lambdas

Fix #255
This commit is contained in:
Mihai Bazon
2013-08-04 21:44:17 +03:00
parent b7adbcab1f
commit 964d5b9aa4

View File

@@ -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();