Skip to content
Permalink
Browse files

do not remove .call for ^js inferred fns

  • Loading branch information...
swannodette committed Aug 12, 2019
1 parent 3f5a60a commit b38ded99dc0967a48824d55ea644bee86b4eae5b
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/main/clojure/cljs/compiler.cljc
@@ -1143,8 +1143,7 @@
(boolean ('#{string array} first-arg-tag)))
ns (:ns info)
ftag (ana/infer-tag env f)
js? (or (= ns 'js) (= ns 'Math)
(ana/js-tag? ftag) (:foreign info)) ;; foreign - i.e. global / Node.js library
js? (or (= ns 'js) (= ns 'Math) (:foreign info)) ;; foreign - i.e. global / Node.js library
goog? (when ns
(or (= ns 'goog)
(when-let [ns-str (str ns)]

0 comments on commit b38ded9

Please sign in to comment.
You can’t perform that action at this time.