Fork me on GitHub
#shadow-cljs
<
2019-01-27
>
thheller20:01:45

so I'm personally finding this warning very annoying since the last CLJS release and close to disabling it by default

thheller20:01:52

anyone else annoyed by this?

thheller20:01:54

------ WARNING #1 --------------------------------------------------------------
 File: loom/alg_generic.cljc:494:19
--------------------------------------------------------------------------------
 491 |         offset (mod idx bits-per-long)
 492 |         mask (bit-set 0 offset)
 493 |         value (aget new-bitmap chunk)
 494 |         new-value (bit-or value ^Long mask)]
-------------------------^------------------------------------------------------
 cljs.core/bit-or, all arguments must be numbers, got [any Long] instead
--------------------------------------------------------------------------------
 495 |     (aset new-bitmap chunk new-value)
 496 |     new-bitmap))
 497 |
 498 | (defn bm-get
--------------------------------------------------------------------------------

thheller20:01:45

the :invalid-arithmetic warning in general I mean. not that particular source.

thheller20:01:10

so all <...>, all arguments must be numbers, ....

thheller20:01:30

imho all I have seen to far were "wrong"