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