Skip to content
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

question about let #2042

Open
handoing opened this issue Dec 14, 2015 · 2 comments
Open

question about let #2042

handoing opened this issue Dec 14, 2015 · 2 comments
Assignees
Labels

Comments

@handoing
Copy link

for (let i = 0; i < 10; i++) {}
console.log(i);

should show: //ReferenceError: i is not defined

but traceur output 10

@arv arv added the bug label Dec 14, 2015
@arv arv self-assigned this Dec 14, 2015
@arv
Copy link
Collaborator

arv commented Dec 14, 2015

Not sure when this stopped working. I thought we even had tests for this.

@arv
Copy link
Collaborator

arv commented Dec 14, 2015

There is also the --free-variable-checker option which does catch this but we should have renamed one of the is in the test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants