You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. configure js2-language-version to 180.
2. edit a function like this:
function letscope() {
let k = 0;
for (let i = 0; i < 10; i++) {
k++;
}
for (let i = 0; i < 10; i++) {
k++;
}
}
3. check it for errors.
What is the expected output? What do you see instead?
expected: no errors (see link in subject line).
actual: at second "let i": TypeError: redeclaration of variable i.
What version of the product are you using? On what operating system?
js2-mode: 20090723b
emacs: 22
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 26 Feb 2010 at 8:09
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 26 Feb 2010 at 8:09The text was updated successfully, but these errors were encountered: