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