public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7adbca
)
Don't pretend to evaluate lambdas
author
Mihai Bazon
<mihai@bazon.net>
Sun, 4 Aug 2013 18:44:17 +0000
(21:44 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Sun, 4 Aug 2013 18:44:17 +0000
(21:44 +0300)
Fix #255
lib/compress.js
patch
|
blob
|
history
diff --git
a/lib/compress.js
b/lib/compress.js
index
9eed828
..
fcc3f31
100644
(file)
--- 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();