swc/crates/swc_ecma_minifier/tests
Donny/강동윤 36d467e7d7
fix(es/minifier): Fix analysis of var declaration after usage (#6043)
**Description:**

`var_initialized` should be `true` even if the declaration of variable comes after its usage.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6039.
2022-10-06 02:09:13 +00:00
..
benches-full fix(es/minifier): Don't skip unresolved identifiers (#6050) 2022-10-05 11:44:51 +00:00
fixture fix(es/minifier): Don't skip unresolved identifiers (#6050) 2022-10-05 11:44:51 +00:00
full feat(es/minifier): Inline vars initialized before the declaration (#6027) 2022-10-03 08:58:38 +00:00
mangle fix(es/codegen): Drop the last comma in an array literal (#5877) 2022-09-16 15:48:28 +09:00
projects feat(es/minifier): Inline vars initialized before the declaration (#6027) 2022-10-03 08:58:38 +00:00
single-pass feat(es/minifier): Clone trivial literals in sequential inliner (#6005) 2022-10-03 07:20:48 +00:00
terser/compress fix(es/minifier): Fix analysis of var declaration after usage (#6043) 2022-10-06 02:09:13 +00:00
compress.rs test(es/minifier): Add tests for benchmark files (#5986) 2022-09-29 09:41:13 +09:00
eval.rs perf(es/ast): Use Atom in some places (#5271) 2022-07-22 20:09:25 +09:00
exec.rs fix(es/minifier): Fix analysis of var declaration after usage (#6043) 2022-10-06 02:09:13 +00:00
mangle.rs test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
passing.txt fix(es/minifier): Don't skip unresolved identifiers (#6050) 2022-10-05 11:44:51 +00:00
postponed.txt feat(es/minifier): Ignore more return values (#5981) 2022-09-28 14:20:37 +00:00
terser_exec_base.js refactor(es/minifier): Make rust-analyzer fast, really (#4746) 2022-05-23 16:16:05 +09:00
terser_exec.rs perf(es/minifier): Enable parallel processing (#5705) 2022-09-01 13:36:30 +09:00
TODO.txt fix(es/minifier): Don't skip unresolved identifiers (#6050) 2022-10-05 11:44:51 +00:00