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

Compiler error with Closure Compiler and gwtquery 1.4.3 #360

Open
RockyMM opened this issue Sep 8, 2015 · 0 comments
Open

Compiler error with Closure Compiler and gwtquery 1.4.3 #360

RockyMM opened this issue Sep 8, 2015 · 0 comments
Labels

Comments

@RockyMM
Copy link

RockyMM commented Sep 8, 2015

Hi!

I'm not sure if this is main branch of gwtquery. Today I updating my projects from GWT 2.5.1 to 2.6.1 and gwtquery 1.2.0 to 1.4.3 I have encountered following issue while packaging:

[ERROR] error optimizing:JSC_VAR_ARGUMENTS_SHADOWED_ERROR. Shadowing "arguments" is not allowed at com/google/gwt/query/client/Function.java line 120 : 0

Googling similar issues tells me that this should be easily fixed by renaming "arguments" to "params" or something similar in this class;

public Function setArguments(Object... arguments) {

I could do a PR but I'm not sure if this is the only class affected by this issue.

Compiling with closureCompiler=off succeeded.

@olafleur olafleur added the bug label Sep 14, 2015
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