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

Add support for new `:checked-arrays` compiler option and `:invalid-array-access` warning #574

Closed mfikes closed 7 years ago

mfikes commented 7 years ago

The next version of the ClojureScript compiler will include a :checked-arrays compiler option that can contain either some false-y value, or :warn or :error, and a new :invalid-array-access warnings.

This hasn't been released yet, but just logging this ticket as a reminder. Here is the draft PR that updates the ClojureScript site documentation about the feature: https://github.com/clojure/clojurescript-site/pull/100

mfikes commented 7 years ago

News post about the new feature: https://clojurescript.org/news/2017-07-14-checked-array-access

bhauman commented 7 years ago

Can you let me know when this get documented on the Compiler Options page? So that I can add docs in?

mfikes commented 7 years ago

@bhauman This is now in ClojureScript 1.9.854 https://clojurescript.org/reference/compiler-options#checked-arrays