Oh that’s brilliant!

Though I’m still wondering if there a way to turn off specific warnings (for 
future reference)

Chris

> On 5 Feb 2015, at 5:47 am, Francis Avila <[email protected]> wrote:
> 
> You may be hitting CLJS-907 (cf CLJS-917), fixed in 0.0-2629 and later.
> 
> On Tuesday, February 3, 2015 at 8:05:04 PM UTC-6, Chris Zheng wrote:
>> I'm trying to figure out how to best deal with an issue on the newer 
>> versions of the class compiler:
>> 
>> https://github.com/purnam/purnam/issues/8
>> 
>> I've reproduced the issue causing the warning in this particular piece of 
>> code
>> 
>> (ns compiler.issue-1
>>  (:require [purnam.test])
>>  (:use-macros [purnam.core :only [? !]]))
>> 
>> (set! js/aa #js {})
>> (def a js/aa)
>> (! a.b.c 5555)
>> (+ 2 (? a.b.c) 3)
>> 
>> 
>> -----
>> 
>> Running the compiler with clojurescript "0.0-2411" yields a particular 
>> warning:
>> 
>> WARNING: cljs.core/+, all arguments must be numbers, got [number #{nil 
>> clj-nil}] instead. at line 9 test/cljs/compiler/issue_1.cljs
>> 
>> the previous versions of clojurescript do not give this warning. I'm hoping 
>> to get a bit of help/advice on how to deal with this.
>> 
>> -----
>> 
>> you can get the warnings by:
>> 
>> git clone https://github.com/purnam/purnam.git
>> cd purnam
>> git checkout compilation-error
>> lein cljsbuild once
>> 
>> -----
> 
> -- 
> 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/2ue-RvKXCSM/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.

-- 
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.

Reply via email to