Alex Lam S.L
8d30902ba9
fix corner case in mangle ( #4311 )
2020-11-21 08:05:40 +08:00
Alex Lam S.L
641406d491
fix corner cases in reduce_vars & unused ( #4306 )
2020-11-19 11:25:36 +08:00
Alex Lam S.L
134ef0b1eb
fix corner case in dead_code ( #4304 )
2020-11-19 08:34:55 +08:00
Alex Lam S.L
0bedd031da
fix corner cases in collapse_vars, unused & varify ( #4292 )
...
fixes #4290
2020-11-18 08:22:54 +08:00
Alex Lam S.L
6fd5b5b371
fix corner case in loops ( #4275 )
...
fixes #4274
2020-11-14 02:08:05 +08:00
Alex Lam S.L
4bbeb09f7c
fix corner case in reduce_vars ( #4262 )
...
fixes #4261
2020-11-07 10:00:04 +08:00
Alex Lam S.L
5d12abc41b
fix corner cases in collapse_vars ( #4249 )
...
fixes #4248
2020-10-30 10:04:23 +08:00
Alex Lam S.L
607f87c5cd
fix corner case in booleans ( #4246 )
...
fixes #4245
2020-10-26 18:53:58 +08:00
Alex Lam S.L
fd8c0212b8
fix corner case in ie8 ( #4232 )
...
fixes #4231
2020-10-20 14:02:39 +08:00
Alex Lam S.L
256950c2c0
fix corner case in ie8 ( #4230 )
...
fixes #4229
2020-10-20 06:13:23 +08:00
Alex Lam S.L
96bf7fceab
support let ( #4227 )
2020-10-19 08:32:39 +08:00
Alex Lam S.L
dc575919e2
fix corner case in side_effects ( #4226 )
...
fixes #4225
2020-10-18 22:13:10 +08:00
Alex Lam S.L
4f833937fe
fix corner case in inline ( #4223 )
...
fixes #4222
2020-10-15 21:52:40 +08:00
Alex Lam S.L
3d71e97dd1
fix corner cases in braces & sequences ( #4221 )
...
fixes #4220
2020-10-14 23:39:35 +08:00
Alex Lam S.L
7f35d9cee0
fix corner case in reduce_vars ( #4219 )
...
fixes #4218
2020-10-14 07:58:04 +08:00
Alex Lam S.L
9f8106e1d8
fix corner case in collapse_vars ( #4217 )
...
fixes #4216
2020-10-14 07:18:26 +08:00
Alex Lam S.L
c0c04c33bb
fix corner cases in dead_code & reduce_vars ( #4213 )
...
fixes #4212
2020-10-14 00:09:17 +08:00
Alex Lam S.L
0e234a25c5
fix corner case in reduce_vars ( #4211 )
...
fixes #4210
2020-10-13 15:52:03 +08:00
Alex Lam S.L
176c09c6a5
fix corner case in reduce_vars & unused ( #4208 )
...
fixes #4207
2020-10-13 07:32:17 +08:00
Alex Lam S.L
9272f662c0
fix corner case in collapse_vars ( #4206 )
...
fixes #4205
2020-10-13 01:30:21 +08:00
Alex Lam S.L
4d33cb2f94
fix corner case in inilne ( #4204 )
...
fixes #4202
2020-10-12 23:10:32 +08:00
Alex Lam S.L
1cdf810f0b
fix corner case in reduce_vars ( #4203 )
...
fixes #4198
2020-10-12 19:02:44 +08:00
Alex Lam S.L
b512726cf3
fix corner case in collapse_vars ( #4199 )
...
fixes #4197
2020-10-12 14:13:17 +08:00
Alex Lam S.L
9b7a13c8c7
fix corner case in ie8 & mangle ( #4196 )
...
fixes #4195
2020-10-12 12:43:26 +08:00
Alex Lam S.L
74ff6ce261
fix corner case in dead_code ( #4194 )
...
fixes #4193
2020-10-12 11:09:26 +08:00
Alex Lam S.L
b1b8898e7c
fix corner case in functions ( #4192 )
...
fixes #4191
2020-10-12 09:26:56 +08:00
Alex Lam S.L
55451e7b78
support const ( #4190 )
2020-10-12 01:18:57 +08:00
Alex Lam S.L
c391576d52
remove support for const ( #1910 )
...
As this is not part of ES5.
2017-05-12 14:57:41 +08:00
Alex Lam S.L
a3cc3a9b87
make expect_stdout work on Node.js 0.12 ( #1623 )
...
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.
2017-03-19 12:00:32 +08:00
alexlamsl
4e49302916
enable collapse_vars & reduce_vars by default
...
- fix corner cases in `const` optimisation
- deprecate `/*@const*/`
fixes #1497
closes #1498
2017-02-24 01:46:57 +08:00
kzc
6ffbecb72b
smarter const replacement taking name length into account
...
closes #1459
2017-02-21 13:29:58 +08:00