bhauman / lein-figwheel

Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
Eclipse Public License 1.0
2.88k stars 209 forks source link

Update uses of `aget` on objects #572

Closed mfikes closed 7 years ago

mfikes commented 7 years ago

There are a few places in the code where aget is used on objects. The upcoming ClojureScript compiler has an option that can detect these places, and here are the ones it sees via type inference:

WARNING: cljs.core/aget, arguments must be an array followed by numeric indices, got [js string] instead (consider goog.object/get for object access) at line 51 target/ios/figwheel/client/utils.cljs
WARNING: cljs.core/aget, arguments must be an array followed by numeric indices, got [js string] instead (consider goog.object/get for object access) at line 8 target/ios/figwheel/client/socket.cljs
WARNING: cljs.core/aget, arguments must be an array followed by numeric indices, got [js string] instead (consider goog.object/get for object access) at line 12 target/ios/figwheel/client/socket.cljs