Generalize CLJS-1324, check invokes of all IFn implementors

Description

We currently track all IFn implementors but in order to do arity checking of statically analyzeable invokes of keywords, vector, etc. we need to do a bit more. extend-type should update the type in the compiler state with :method-params :max-fixed-arity and :variadic. Then we can just reuse the existing checks in cljs.analyzer/parse-invoke.

Environment

None

Activity

Show:

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created July 28, 2015 at 3:13 PM
Updated June 27, 2017 at 4:15 PM