I see this too with [org.clojure/clojure "1.9.0-alpha20"] and clojurescript, leading to errors in test.js. I had to revert to [org.clojure/clojure "1.9.0-alpha19"].
On Saturday, September 9, 2017 at 2:54:47 AM UTC+3, Jeaye wrote: > > Similar to Tommi, I'm also seeing issues with the new syntax when combined > with JS on our front-end: > > [org.clojure/clojure "1.9.0-alpha20"] > [org.clojure/clojurescript "1.9.908"] > > > SEVERE: my-project/client/target/android/cljs/core.js:3579: ERROR - > Parse error. primary expression expected > > case ##Inf: > > This is in the definition of cljs.core.hash. It looks like folks using > Clojure + ClojureScript should hold off on using alpha20. > > On Fri, Sep 08, 2017 at 12:11:38PM +0100, Nicola Mometto wrote: > > That looks like a cljs issue, it shouldn't emit NaNs at all there, not > > relevant to the clojure change around how they are printed. > > > > On 8 Sep 2017 8:03 a.m., "Tommi Reiman" <[email protected] > <javascript:>> wrote: > > > > Hi. > > > > The combo: > > > > [org.clojure/clojure "1.9.0-alpha20"] > > [org.clojure/clojurescript "1.9.660"] > > > > seems to be emitting broken js: > > > > return new cljs.core.PersistentVector(null, 2, 5, > > cljs.core.PersistentVector.EMPTY_NODE, [##NaN,##NaN], null); > > > > With 1.9.0-alpha19 it gives: > > > > return new cljs.core.PersistentVector(null, 2, 5, > > cljs.core.PersistentVector.EMPTY_NODE, [NaN,NaN], null); > > > > regards, > > > > Tommi > > > > perjantai 8. syyskuuta 2017 0.48.51 UTC+3 Alex Miller kirjoitti: > > > > > > Clojure 1.9.0-alpha20 is now available. > > > > > > Try it via > > > > > > - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0- > > > alpha20 > > > - Leiningen: [org.clojure/clojure "1.9.0-alpha20"] > > > > > > 1.9.0-alpha20 includes the following changes since 1.9.0-alpha19: > > > > > > - CLJ-1074 - (new) add new ## reader macro for symbolic values, and > > > read/print support for double vals ##Inf, ##-Inf, > ##NaN > > > - CLJ-1454 - (new) add swap-vals! and reset-vals! that return both old > and > > > new values > > > - CLJ-2184 - (errors) propagate meta in doto forms to improve error > > > reporting > > > - CLJ-2210 - (perf) cache class derivation in compiler to improve > compiler > > > performance > > > - CLJ-2070 - (perf) clojure.core/delay - improve performance > > > - CLJ-1917 - (perf) reducing seq over string should call String/length > > > outside of loop > > > - CLJ-1901 - (perf) amap - should call alength only once > > > - CLJ-99 - (perf) min-key and max-key - evaluate k on each arg at > most > > > once > > > - CLJ-2188 - (perf) slurp - mark return type as String > > > - CLJ-2108 - (startup time) delay loading of spec and core specs > (still > > > more to do on this) > > > - CLJ-2204 - (security) disable serialization of proxy classes to > avoid > > > potential issue when deserializing > > > - CLJ-2048 - (fix) specify type to avoid ClassCastException when stack > > > trace is elided by JVM > > > - CLJ-1887 - (fix) IPersistentVector.length() - implement missing > method > > > - CLJ-1841 - (fix) bean - iterator was broken > > > - CLJ-1714 - (fix) using a class in a type hint shouldn't load the > class > > > - CLJ-1398 - (fix) clojure.java.javadoc/javadoc - update doc urls > > > - CLJ-1371 - (fix) Numbers.divide(Object, Object) - add checks for NaN > > > - CLJ-1358 - (fix) doc - does not expand special cases properly (try, > > > catch) > > > - CLJ-1705 - (fix) vector-of - fix NullPointerException if given > > > unrecognized type > > > - CLJ-2170 - (doc) fix improperly located docstrings > > > - CLJ-2156 - (doc) clojure.java.io/copy - doc char[] support > > > - CLJ-2051 - (doc) clojure.instant/validated docstring - fix typo > > > - CLJ-2104 - (doc) clojure.pprint docstring - fix typo > > > - CLJ-2028 - (doc) filter, filterv, remove, take-while - fix > docstrings > > > - CLJ-1873 - (doc) require, *data-readers* - add .cljc files to > docstrings > > > - CLJ-1159 - (doc) clojure.java.io/delete-file - improve docstring > > > - CLJ-2039 - (doc) deftype - fix typo in docstring > > > - CLJ-1918 - (doc) await - improve docstring re shutdown-agents > > > - CLJ-1837 - (doc) index-of, last-index-of - clarify docstrings > > > - CLJ-1826 - (doc) drop-last - fix docstring > > > - CLJ-1859 - (doc) zero?, pos?, neg? - fix docstrings > > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to [email protected] > <javascript:> > > Note that posts from new members are moderated - please be patient with > > your first post. > > To unsubscribe from this group, send email to > > [email protected] <javascript:> > > For more options, visit this group at > > http://groups.google.com/group/clojure?hl=en > > --- > > You received this message because you are subscribed to the Google > Groups > > "Clojure" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to [email protected] > <javascript:> > > Note that posts from new members are moderated - please be patient with > your first post. > > To unsubscribe from this group, send email to > > [email protected] <javascript:> > > For more options, visit this group at > > http://groups.google.com/group/clojure?hl=en > > --- > > You received this message because you are subscribed to the Google > Groups "Clojure" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
