aboutsummaryrefslogtreecommitdiff
path: root/test/compress/pure_funcs.js
AgeCommit message (Expand)Author
2018-04-10handle `pure_funcs` under `inline` & `reduce_vars` correctly (#3066)...fixes #3065Alex Lam S.L
2018-01-03extend `__PURE__` to `AST_New` (#2706)...fixes #2705Alex Lam S.L
2017-12-24fix comments output & improve `/*@__PURE__*/`...- fix whitespace around comments - fix comment parsing around parentheses - consider parentheses when parsing `/*@__PURE__*/` - remove all `/*@__PURE__*/` on output fixes #2638Alex Lam S.L
2017-12-22make comments output more robust (#2633)...- improve handling of comments right after `return` - retain comments after `OutputStream` - preserve trailing comments - fix handling of new line before comments - handle comments around parentheses fixes #88 fixes #112 fixes #218 fixes #372 fixes #2629Alex Lam S.L
2017-02-21fix `pure_funcs` & improve `side_effects`...- only drops side-effect-free arguments - drop side-effect-free parts with discarded value from `AST_Seq` & `AST_SimpleStatement` closes #1494 alexlamsl