Incorrect warnings on type hinted maths

Description

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

Environment

None

Activity

Show:

David Nolen July 14, 2015 at 12:07 PM

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

Details

Assignee

Reporter

Affects versions

Priority

Created May 9, 2015 at 9:18 AM
Updated July 14, 2015 at 12:07 PM