diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-04-07 03:42:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-07 03:42:17 +0800 |
commit | cc6aa3e5ac13c0da9f2481181f5b4f11275ca8c8 (patch) | |
tree | b0876f76806180f7d14a824312944cee61482718 /test/compress/issue-892.js | |
parent | e869779a988b519487da0d6e2bd8e4849cd6d9f1 (diff) | |
download | tracifyjs-cc6aa3e5ac13c0da9f2481181f5b4f11275ca8c8.tar.gz tracifyjs-cc6aa3e5ac13c0da9f2481181f5b4f11275ca8c8.zip |
fix incorrect context in variable substitution (#1791)
`AST_Node.optimize()` is context-aware, so don't cache its results to be used elsewhere.
Also fixed a few cases of AST corruption and beef up safety of `pure_getters`.
Diffstat (limited to 'test/compress/issue-892.js')
0 files changed, 0 insertions, 0 deletions