Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

Note that the last form in the repro below does not emit a diagnostic, while the previous does:

`
$ clj -Srepro -m cljs.main
cljs.user=> (defn- foo [])

'cljs.user/foo

cljs.user=> (ns bar.core)

bar.core=> (defn baz ([] (cljs.user/foo)))
WARNING: var: cljs.user/foo is not public at line 1

'bar.core/baz

bar.core=> (defn quux ([] (cljs.user/foo)) ([x] (cljs.user/foo)))

'bar.core/quux

bar.core=>
`

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-2823 (reported by mfikes)
...