Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

Variables type hinted as int or double are not recognized as numbers, e.g.

(def ^int i 1) (+ i i) WARNING: cljs.core/+, all arguments must be numbers, got [int int] instead. at line 1 <cljs repl> 2

2 Answers

0 votes
by

Comment made by: dnolen

The real issue is that there is no support for numeric type hints.

0 votes
by
...