Fork me on GitHub
#cljs-dev
<
2022-01-10
>
dnolen14:01:59

@vemv not currently, and likely more Closure stuff will appear there

vemv14:01:47

Alright! Would appreciate being eventually able to distinguish them :) any other prefix I should watch out for other than goog.*?

dnolen15:01:23

@vemv there is no such thing as prefix

dnolen15:01:40

because any Closure namespace could appear

dnolen15:01:08

the thing to detect would be some property in the namespace entry

dnolen15:01:26

i.e. :cljs or :closure or something like that, to be determined

👍 1
🙏 1
vemv15:01:18

I mean an heuristic would be fine for the time being, this is what we're doing right now for cider stuff https://github.com/clojure-emacs/orchard/blob/2afa411dda7b55ff63cb94b96dc9c76c0dd7380b/src/orchard/cljs/analysis.cljc#L12-L14

dnolen15:01:12

ok, but just saying this heuristic is guaranteed to fail in the future, but if we expand the Closure analysis - it will get called out in the changes

👀 1