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
Illegal redeclared variable: global #3
Comments
There's no restriction in JavaScript against declaring a variable named |
Yes, we renamed the variable to |
This is a problem with google/closure-compiler (discovered via google/closure-compiler#2471). |
Right. Closing this, since I don't plan to accommodate it on this side. |
@marijnh so.. this gives an error and make the package unusable, what can we do? PS: im not using clojure, just js + vite |
Figure out what's going wrong, possibly open a new bug if you think this package is to blame. Declaring a variable named |
i changed |
I really don't want to adjust code to work around bugs, especially untriaged bugs, in other software. |
what other software? typescript/vite you mean? there is already a lot of variables that start with I can help you debug the issue if you guide me or tell me what you need, but I'm using node, not a weird broken runtime. I don't understand why you don't want to fix this. It's easy and doesn't cause any trouble.
I don't know where the problem really is, but all the things I'm using are so popular, so i'm not the last one encountering this issue. If you don't want to fix the grammar, it's ok. |
I'm getting an error when trying to compile this in a ClojureScript project that looks like this:
Here's a branch of a repo that replicates the error. I don't have time to check if this happens in a JS project too.
The text was updated successfully, but these errors were encountered: