(def invoke-arg-type-validators
(let [aget-validator {:valid? #(and (array-type? (first %))
(every? numeric-type? (rest %)))
:warning-type :invalid-array-access}
aset-validator {:valid? #(and (array-type? (first %))
(every? numeric-type? (butlast (rest %))))
:warning-type :invalid-array-access}]
{'cljs.core/checked-aget aget-validator
'cljs.core/checked-aset aset-validator
'cljs.core/checked-aget' aget-validator
'cljs.core/checked-aset' aset-validator}))