-
Notifications
You must be signed in to change notification settings - Fork 89
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 warnings in new cljs versions #144
Comments
@thedavidmeister I saw the same warning today when updating ClojureScript from 1.9.292 to 1.9.908. To fix the issue, set ;; project.clj
:cljsbuild
{:builds
[{:id "dev"
;; ...
:compiler {
;; ...
:language-in :ecmascript5
:language-out :ecmascript5
;; ...
}} The default for |
@rap1ds @thedavidmeister Is this specifically a Garden issue? and, if so, can either of you provide a patch? @rap1ds it sounds like you might have some knowledge in this area. I'm very busy with work and family these days and I simply don't have the time to invest in researching this issue. Thanks! |
@noprompt garden is the only thing throwing this warning for me. i don't exactly know, but i'm assuming it's the use of the name |
@thedavidmeister ugh, there's an old Jira ticket out there for this problem. It would appear the solution, for now, would be to rename that parameter to something else ( |
Would you consider the However, changing the |
@rap1ds Apologies for my delayed response. I think it's admissible to change the name here. It's a breaking change for sure. To the extent it happens to break someone upon upgrade, they can share their grievances here. Feel free to submit a patch in response to this. I'm busy at the moment and can't get to it now. |
Newer version of the Closure compiler warn about naming a property `function`. The CSSFunction defrecord has a field called `function`. This commit renames it to `f` to avoid these compiler warnings. This is a breaking change if anyone was relying on that field. Fixes noprompt#144
I've opened a PR to fix this in #158. |
The text was updated successfully, but these errors were encountered: