Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
- `x ? (y, w) : (z, w)` => `x ? y : z, w`
|
|
|
|
|
|
`compress()` may modify input ASTs
add tests for #1627 & #1640
|
|
That particular version of Node.js has messed up error messages, so provide a version-specific workaround.
Also fixed an formatting issue which would cause `expect_stdout` to fail if error message contains excerpts of input.
Apply `expect_stdout` to more applicable tests.
|
|
Liberal use of `Compressor.transform()` and `AST_Node.optimize()` presents an issue for look-up operations like `TreeWalker.in_boolean_context()` and `TreeWalker.parent()`.
This is an incremental fix such that `AST_Node.optimize()` would now contain the correct stack information when called correctly.
|