We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
let types; [x, ...types] = [1,2,3];
Compiling this piece of code yields the following error in the Compiler but executes fine in Chrome.
JSC_REDECLARED_VARIABLE_ERROR: Illegal redeclared variable: types at line 3 character 7 [x, ...types] = [1,2,3];
Reproduced with the closure-compiler.appspot.com web compiler and the v20180422 release.
v20180422
Seen in the jsonld npm package.
npm
The text was updated successfully, but these errors were encountered:
For some reason REST is included in the list of DECLARATION_PARENTS in Reference.java
REST
DECLARATION_PARENTS
Reference.java
Sorry, something went wrong.
I'm sending a fix for internal review. Thanks for the report @thheller .
673326e
REST nodes do not count as declarations.
fbd3167
Fixes google#2909 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=195425689
brad4d
No branches or pull requests
Compiling this piece of code yields the following error in the Compiler but executes fine in Chrome.
Reproduced with the closure-compiler.appspot.com web compiler and the
v20180422
release.Seen in the jsonld
npm
package.The text was updated successfully, but these errors were encountered: