Those are just warnings they shouldn't prevent you from generating the
code. ClojureScript exposes Closure Compiler warning suppression. If
you find these particular warnings annoying you can toggle them:
:closure-warnings {:check-useless-code :off}
should do the trick in your build settings.
David
On Sun, Jul 6, 2014 at 11:18 PM, Yehonathan Sharvit <[email protected]> wrote:
> David,
> This compiltaion issue is still not solved. It prevents from me to upgrade
> to the latest clojurescript “0.0-2268”
>
> What is the proper channel to report this issue?
>
>
> On Tue, Jun 10, 2014 at 8:40 AM, David Nolen <[email protected]> wrote:
>>
>> Looks like new warnings from the Closure Compiler - something for
>> core.async to address. Thanks for the report!
>>
>> David
>>
>> On Tue, Jun 10, 2014 at 12:55 AM, Yehonathan Sharvit <[email protected]>
>> wrote:
>> >
>> >
>> > I have compilation warnings related to core.async. Here is the log:
>> >
>> > Compiling "resources/public/js/main.js" from ["src/cljs"]...
>> > Jun 10, 2014 7:49:49 AM com.google.javascript.jscomp.LoggerErrorManager
>> > println
>> > WARNING:
>> > /Users/viebel/libs/klozzer/target/cljsbuild-compiler-0/cljs/core/async.js:127:
>> > WARNING - unreachable code
>> > {return null;
>> > ^
>> >
>> > Jun 10, 2014 7:49:49 AM com.google.javascript.jscomp.LoggerErrorManager
>> > println
>> > WARNING:
>> > /Users/viebel/libs/klozzer/target/cljsbuild-compiler-0/cljs/core/async.js:178:
>> > WARNING - unreachable code
>> > {return null;
>> > ^
>> >
>> > Jun 10, 2014 7:49:49 AM com.google.javascript.jscomp.LoggerErrorManager
>> > println
>> > WARNING:
>> > /Users/viebel/libs/klozzer/target/cljsbuild-compiler-0/cljs/core/async.js:420:
>> > WARNING - unreachable code
>> > {return null;
>> > ^
>> >
>> > Jun 10, 2014 7:49:49 AM com.google.javascript.jscomp.LoggerErrorManager
>> > println
>> > WARNING:
>> > /Users/viebel/libs/klozzer/target/cljsbuild-compiler-0/cljs/core/async/impl/ioc_helpers.js:353:
>> > WARNING - unreachable code
>> > {return null;
>> > ^
>> >
>> > Jun 10, 2014 7:49:49 AM com.google.javascript.jscomp.LoggerErrorManager
>> > printSummary
>> > WARNING: 0 error(s), 4 warning(s)
>> >
>> > On Monday, 9 June 2014 20:07:48 UTC+3, David Nolen wrote:
>> >> That's great to hear, the feedback is much appreciated.
>> >>
>> >>
>> >>
>> >> David
>> >>
>> >>
>> >>
>> >> On Mon, Jun 9, 2014 at 1:06 PM, Karsten Schmidt <[email protected]>
>> >> wrote:
>> >>
>> >> > Hi David, this is great! I've switched to this branch, updated all
>> >> > hashing
>> >>
>> >> > impls of deftypes in my library and it works without a hitch and see
>> >> > much
>> >>
>> >> > less hash collisions in large 3d meshes as a result. Awesome!
>> >>
>> >> >
>> >>
>> >> > K.
>> >>
>> >> >
>> >>
>> >> > On 8 Jun 2014 18:07, "David Nolen" <[email protected]> wrote:
>> >>
>> >> >>
>> >>
>> >> >> 1.6.0 branch is ready to be tested
>> >>
>> >> >> http://github.com/clojure/clojurescript/tree/1.6.0, please give it a
>> >> >> try in
>> >>
>> >> >> your projects. You can install this version of ClojureScript by
>> >>
>> >> >>
>> >>
>> >> >> * checking out the repo
>> >>
>> >> >> * git checkout 1.6.0
>> >>
>> >> >> * ./script/install
>> >>
>> >> >>
>> >>
>> >> >> Take note of the version number that gets installed into your local
>> >> >> Maven.
>> >>
>> >> >> Use this in version number in your project.
>> >>
>> >> >>
>> >>
>> >> >> David
>> >>
>> >> >>
>> >>
>> >> >>
>> >>
>> >> >> On Fri, Jun 6, 2014 at 10:43 AM, David Nolen
>> >> >> <[email protected]>
>> >>
>> >> >> wrote:
>> >>
>> >> >>>
>> >>
>> >> >>> Future releases of ClojureScript will have a hard dependency on
>> >> >>> Clojure
>> >>
>> >> >>> 1.6.0. If you have any objections, speak up now :)
>> >>
>> >> >>>
>> >>
>> >> >>> David
>> >>
>> >> >>
>> >>
>> >> >>
>> >>
>> >> >> --
>> >>
>> >> >> You received this message because you are subscribed to the Google
>> >> >> Groups
>> >>
>> >> >> "Clojure Dev" group.
>> >>
>> >> >> To unsubscribe from this group and stop receiving emails from it,
>> >> >> send an
>> >>
>> >> >> email to [email protected].
>> >>
>> >> >> To post to this group, send email to [email protected].
>> >>
>> >> >> Visit this group at http://groups.google.com/group/clojure-dev.
>> >>
>> >> >> For more options, visit https://groups.google.com/d/optout.
>> >>
>> >> >
>> >>
>> >> > --
>> >>
>> >> > You received this message because you are subscribed to the Google
>> >> > Groups
>> >>
>> >> > "Clojure Dev" group.
>> >>
>> >> > To unsubscribe from this group and stop receiving emails from it,
>> >> > send an
>> >>
>> >> > email to [email protected].
>> >>
>> >> > To post to this group, send email to [email protected].
>> >>
>> >> > Visit this group at http://groups.google.com/group/clojure-dev.
>> >>
>> >> > For more options, visit https://groups.google.com/d/optout.
>> >
>> > --
>> > Note that posts from new members are moderated - please be patient with
>> > your first post.
>> > ---
>> > You received this message because you are subscribed to the Google
>> > Groups "ClojureScript" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an email to [email protected].
>> > To post to this group, send email to [email protected].
>> > Visit this group at http://groups.google.com/group/clojurescript.
>>
>> --
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "ClojureScript" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/clojurescript/MEFJ5D7g8yM/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/clojurescript.
>
>
>
>
> --
> "Are we what we become or do we become what we are?" - Prof. Beno Gross
>
> --
> Note that posts from new members are moderated - please be patient with your
> first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.