cursive 2026-04-07

FYI, auto-importing symbols in cljs sometimes causes two :refer forms, seeing this a lot lately.

I'll check that out, thanks - if you have a simple repro that would be helpful, otherwise I'll comb through the code and see if I can see why that might happen.

🙏 1

I think it happens in cljs when auto-importing a symbol from a cljc file. I’ll try to make a simple repro tomorrow

@cfleming simple repro to reproduce this bug: 1. create a cljc namespace test.foo, with blank functions bar and baz 2. in a cljs namespace, add [test.foo :refer [bar baz]] to requires, and add (comment (bar) (baz)) somewhere in the file 3. in another cljs namespace, type bar then auto-import from test.foo. 4. do the same with baz, and auto-import. 5. observe the require has two refers: [test.foo :refer [baz] :refer [bar]]