Fork me on GitHub
#clojurescript
<
2019-04-01
>
bajrachar15:04:17

I am getting this error when starting figwheel --> Attempting to call unbound fn: #'cljs.analyzer/source-path

bajrachar15:04:35

Any idea where to start to debug this? It is a Reagent/Re-frame app.

borkdude17:04:16

can you, in theory define a cljs function fn1 in foo.cljs and another cljs function fn2 in foo.cljc and get them both when writing (:require [foo :refer [fn1 fn2]]) in another .cljs namespace? I’m manually analyzing some CLJS code and want to be sure that this can never be the case

lilactown17:04:28

I thought one was picked over the other

dnolen17:04:09

that's right

dpsutton17:04:35

cljs-files-in looks to be the function?

dnolen17:04:46

first .cljs, then .cljc files are considered

borkdude17:04:06

so if you do require and cljs exists, the cljc file is ignored, unless you want macros from it, right?

dnolen17:04:44

that's how it should work, yes

idiomancy22:04:19

xposting this core.async question here because this quest is wild and exciting! is there a way to make mix only copy a value to out when all of the inputs to the mix have been put to?