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

Externs should use var instead of let #5466

Merged
merged 1 commit into from
Jan 15, 2019
Merged

Externs should use var instead of let #5466

merged 1 commit into from
Jan 15, 2019

Conversation

rictic
Copy link
Contributor

@rictic rictic commented Jan 15, 2019

Multiple externs may declare the same symbol and that's ok. That doesn't work if an extern is declared with let instead of var, you get errors like: Duplicate let / const / class / function declaration in the same scope is not allowed.

Multiple externs may declare the same symbol and that's ok. That doesn't work if an extern is declared with `let` instead of `var`, you get errors like: Duplicate let / const / class / function declaration in the same scope is not allowed.
@rictic rictic merged commit d619dc1 into master Jan 15, 2019
@rictic rictic deleted the externs-let branch January 15, 2019 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants