Clojurians
#cljs-dev
<
2017-03-17
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

thheller08:03:28

ExceptionInfo Call to cljs.core/let did not conform to spec:
In: [0 0] val: :x fails spec: :clojure.core.specs/local-name at: [:args :bindings :binding :sym] predicate: simple-symbol?
In: [0 0] val: :x fails spec: :clojure.core.specs/seq-binding-form at: [:args :bindings :binding :seq] predicate: (cat :elems (* :clojure.core.specs/binding-form) :rest (? (cat :amp #{(quote &)} :form :clojure.core.specs/binding-form)) :as (? (cat :as #{:as} :sym :clojure.core.specs/local-name)))
In: [0 0] val: :x fails spec: :clojure.core.specs/map-bindings at: [:args :bindings :binding :map] predicate: coll?
In: [0 0] val: :x fails spec: :clojure.core.specs/map-special-binding at: [:args :bindings :binding :map] predicate: map?
:clojure.spec/args  ([:x "foo"])
 at line 12 demo/warnings.cljs {:file "demo/warnings.cljs", :line 12, :column 1, :tag :cljs/analysis-error}

thheller08:03:51

I think that error message would be easier to understand if it started with

thheller08:03:12

At line 12 in demo/warnings.cljs: Call to cljs.core/let did not conform to spec:

thheller08:03:08

spec error add a bunch of text so the location somehow gets lost in the noise

thheller08:03:34

but so far using clojure.core.specs just works :wink:

jetzajac10:03:01

Hello everyone! Does this http://dev.clojure.org/jira/browse/CLJS-1954 affect current 1.9.494 release?

thheller10:03:46

yes, waiting for the new Closure release

thheller10:03:49

closure does a release once a month usually

jetzajac10:03:19

do we really have to wait for release or maybe we can build something up by ourselves out of this commit? :smiley:

thheller10:03:30

you can, but it isn't easy :stuck_out_tongue:

jetzajac10:03:54

oh.. we kinda stuck between broken cljs releases. there are 3 things that are broken in different versions and there is no one out there that works for us. are there any tricks I need to know on how to build cljs against custom closure compiler?

thheller10:03:53

don't need to build custom CLJS, just build and include the updated closure compiler in your dependencies

thheller10:03:23

someone in #clojurescript did that the other day, forgot who though

thheller10:03:57

oh no wait it was here @martinklepsch

jetzajac10:03:04

doesn’t sound too hard. will try to do so, thanx a lot!

martinklepsch10:03:13

@jetzajac I linked a repo here that has instructions for building Closure Compiler locally

martinklepsch10:03:25

Oh and also Closure Compiler readme has good instructions now

dnolen19:03:12

@anmonteiro is 1973 ready?

anmonteiro19:03:20

@dnolen yes!

anmonteiro19:03:14

quick fix that I think I missed in the spec port

favila19:03:29

@dnolen I think you closed the wrong ticket http://dev.clojure.org/jira/browse/CLJS-1977. That commit is from http://dev.clojure.org/jira/browse/CLJS-1976 which is still open

dnolen19:03:06

@favila oops thanks fixed

favila19:03:42

No problem, thanks

dnolen19:03:07

alright applied a bunch of things, let me know if there’s something specific you’d like for me to also look at

anmonteiro19:03:38

@dnolen CLJS-1956 and CLJS-1964 for my side

dnolen19:03:30

@anmonteiro k applied those too