File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 762
762
(println (str " WARNING: Unknown option '" unknown-opt " '. Did you mean '" suggested-opt " '?" ))))
763
763
(let [repl-opts (-repl-options repl-env)
764
764
repl-requires (into repl-requires (:repl-requires repl-opts))
765
- {:keys [analyze-path repl-verbose warn-on-undeclared special-fns static-fns] :as opts
765
+ {:keys [analyze-path repl-verbose warn-on-undeclared special-fns
766
+ static-fns fn-invoke-direct]
767
+ :as opts
766
768
:or {warn-on-undeclared true }}
767
769
(merge
768
770
{:cache-analysis true :source-map true :def-emits-var true }
806
808
warn-on-undeclared)))
807
809
{:infer-warning false }))
808
810
ana/*cljs-static-fns* static-fns
811
+ ana/*fn-invoke-direct* (and static-fns fn-invoke-direct)
809
812
*repl-opts* opts]
810
813
(let [env {:context :expr :locals {}}
811
814
special-fns (merge default-special-fns special-fns)
You can’t perform that action at this time.
0 commit comments