swc/ecmascript
kdy1 0ebda3c33e hygiene / block scoping improvement (#608)
`hygiene` pass had a bug related to globally defined variables like `Object` or `undefined`. This pr make hygiene to utilize use-bind conflict to resolve global objects correctly.
Closes #605.

block_scoping pass had a bug with closure in for statement with let or const. This pr fixes it by extracting a loop body as a variable.
Closes #604.
2020-01-24 05:54:52 +00:00
..
ast Improve hygiene and use JSXAttrValue (#592) 2020-01-17 05:45:33 +00:00
codegen Improve hygiene and use JSXAttrValue (#592) 2020-01-17 05:45:33 +00:00
parser Ensure semi-colon is eaten for dynamic imports and import meta found at the start of expression statements (#595) 2020-01-18 04:51:20 +00:00
preset_env hygiene: handle use-use conflict (#599) 2020-01-22 10:43:59 +09:00
src preset-env (#537) 2019-12-28 11:25:54 +09:00
transforms hygiene / block scoping improvement (#608) 2020-01-24 05:54:52 +00:00
utils fix as_bool treating bitor like bitand (#596) 2020-01-20 08:22:52 +09:00
Cargo.toml Extract utils from swc_ecma_transforms (#575) 2020-01-08 10:55:22 +09:00