Skip to content

Downlevel emit for let\const #2161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Feb 28, 2015
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a0bcd7e
initial revision of downlevel compilation for let/const bindings
vladima Feb 14, 2015
b28d72a
Merge branch 'master' into letConstES5Minus
vladima Feb 14, 2015
ba52d60
try only names generated in current scope with testing if name is unique
vladima Feb 14, 2015
7f5fb8b
drop locals in block-scope container nodes during binding
vladima Feb 15, 2015
5f2588f
show error if block scoped variable declared in the loop is captured …
vladima Feb 16, 2015
4aff9c3
explicitly initialize let binding in generated code to default value
vladima Feb 16, 2015
40bcad9
accepted baselines
vladima Feb 17, 2015
83b0ddc
merge with master
vladima Feb 18, 2015
393b95e
accepted baselines
vladima Feb 18, 2015
e6cfc10
added missing files
vladima Feb 18, 2015
b4c82c9
added tests, accepted baselines
vladima Feb 18, 2015
def6812
merge with master
vladima Feb 25, 2015
8891128
moved name generation logic to utilities
vladima Feb 25, 2015
33dfe50
do not emit default initializer for let\const in for-in\for-of statem…
vladima Feb 26, 2015
32aef1a
do not report error on non-initialized const bindings in for-in\for-o…
vladima Feb 26, 2015
b183f8d
added 'nodeIsSynthesized' function, use createSynthesizedNode in emit…
vladima Feb 26, 2015
4ff22a0
added SyntaxKind.ModuleDeclaration to list of block scope containers
vladima Feb 26, 2015
16378e3
do not treat property names in binding elements as block scoped varia…
vladima Feb 27, 2015
904d116
added tests
vladima Feb 27, 2015
4bf0bb6
added comments
vladima Feb 27, 2015
7be2e50
merge with master
vladima Feb 27, 2015
626b6d4
merge with master
vladima Feb 27, 2015
09d5582
merge with master
vladima Feb 27, 2015
3b3a94c
addressed PR feedback
vladima Feb 28, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into letConstES5Minus
  • Loading branch information
vladima committed Feb 14, 2015
commit b28d72abf76a39dec194bb4fb9066e79b33a6714

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.