swc/ecmascript/transforms
kdy1 480015d407 block_scoping: handle variable infection (#610)
Handle variable infection in the block scoping pass. 

i.e. In the code below, v is 'infected' by i.
```js
var functions = [];
for (let i = 0; i < 10; i++) {
   let v = i;
   functions.push(function() {
       return v;
   });
}
functions[0]() // should print 0
```

Closes #609.
2020-01-24 12:29:57 +00:00
..
benches preset-env (#537) 2019-12-28 11:25:54 +09:00
scripts Add more tests (#489) 2019-12-09 21:02:51 +09:00
src block_scoping: handle variable infection (#610) 2020-01-24 12:29:57 +00:00
tests block_scoping: handle variable infection (#610) 2020-01-24 12:29:57 +00:00
Cargo.toml Improve hygiene and use JSXAttrValue (#592) 2020-01-17 05:45:33 +00:00
package.json Regenerator (#554) 2020-01-02 20:53:06 +09:00
yarn.lock Bump js-yaml from 3.12.0 to 3.13.1 in /ecmascript/transforms (#426) 2019-10-05 14:14:38 +09:00