File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 497497(defn lite-mode? []
498498 (get-in @env/*compiler* [:options :lite-mode ]))
499499
500+ (defn elide-to-string? []
501+ (get-in @env/*compiler* [:options :elide-to-string ]))
502+
500503#?(:clj
501504 (defmacro with-warning-handlers [handlers & body]
502505 `(binding [*cljs-warning-handlers* ~handlers]
Original file line number Diff line number Diff line change 211211 :watch :watch-error-fn :watch-fn :install-deps :process-shim :rename-prefix :rename-prefix-namespace
212212 :closure-variable-map-in :closure-property-map-in :closure-variable-map-out :closure-property-map-out
213213 :stable-names :ignore-js-module-exts :opts-cache :aot-cache :elide-strict :fingerprint :spec-skip-macros
214- :nodejs-rt :target-fn :deps-cmd :bundle-cmd :global-goog-object&array :node-modules-dirs :lite-mode })
214+ :nodejs-rt :target-fn :deps-cmd :bundle-cmd :global-goog-object&array :node-modules-dirs :lite-mode
215+ :elide-to-string })
215216
216217(def string->charset
217218 {" iso-8859-1" StandardCharsets/ISO_8859_1
Original file line number Diff line number Diff line change 15111511 ; ; Elide all toString methods in :lite-mode
15121512 (remove
15131513 (core/fn [[f]]
1514- (core/and (ana/lite-mode ? ) (core/= 'toString f))))
1514+ (core/and (ana/elide-to-string ? ) (core/= 'toString f))))
15151515 (map
15161516 (core/fn [[f & meths :as form]]
15171517 (core/let [[f meths] (if (vector? (first meths))
You can’t perform that action at this time.
0 commit comments