30bb38c4bb0ee6c14b2f8d78850b349377402f22
When convert a const, let or any other block-bound binding to a var we forget to update the scope info. This confuses other transforms that may come after this as to which scope does the binding belongs to. This also uncovered an issue where duplicate block-scoped bindings were allowed to co-exist.
The compiler for writing next generation JavaScript.
Looking for support?
For questions and support please visit the discussion forum, Slack community, or StackOverflow.
Want to report a bug or request a feature?
Bugs and feature requests should be posted at phabricator.babeljs.io.
Want to report an issue with babeljs.io?
For documentation and website issues please visit the babel.github.io repo.
Description
Languages
JavaScript
99.5%
Makefile
0.3%
HTML
0.1%