Age | Commit message (Collapse) | Author |
|
fixes #2989
|
|
fixes #2976
|
|
fixes #2974
|
|
- always replace with existing parameter
- only introduce new parameter if `keep_fargs` is disabled
|
|
fixes #2968
|
|
- `x ? (y, w) : (z, w)` => `x ? y : z, w`
|
|
fixes #2959
|
|
|
|
- `a = b, b` => `a = b`
- `a.b = c, c()` => `(a.b = c)()`
|
|
fixes #2961
|
|
|
|
fixes #2954
|
|
|
|
|
|
|
|
fixes #2938
|
|
Miscellaneous
- simplify `run_code()` hack
|
|
fixes #2931
|
|
fixes #2929
|
|
fixes #2926
|
|
fixes #805
|
|
|
|
fixes #2919
|
|
fixes #2916
|
|
fixes #2914
|
|
|
|
fixes #2908
|
|
fixes #2904
|
|
fixes #2898
|
|
fixes #2893
|
|
fixes #2891
|
|
|
|
fixes #2871
|
|
|
|
(#2879)
fixes #2878
|
|
fixes #2873
|
|
|
|
fixes #2869
|
|
|
|
|
|
|
|
fixes #2857
|
|
fixes #2860
|
|
fixes #2858
|
|
First introduced in #1862 to stop assignments to migrate beyond `return` or `throw`. Since then `collapse_vars` has been improved to handle various side-effect-related corner cases.
|
|
|
|
|
|
Missing reference to `AST_SymbolRef` created by `unused` causes `collapse_vars` to misbehave.
fixes #2846
|
|
|
|
fixes #2838
|