Fork me on GitHub
#cursive
<
2022-10-11
>
simongray07:10:58

Having a #?(...) in a let form inside a CLJC file seems to break Cursive’s ability to resolve the remaining symbols in the let form:

1
serioga12:10:00

The workaround is

?#@(:clj [state' {}] :cljs [state' (rum/react state)])

🙏 1
hlship20:10:16

Does cursive care about a pom.clj file somehow? I have a project I've inherited that generates a pom.xml from a pom.clj and Cursive appears to be stumbling on it with a parse error. Once I delete the file, Cursive is able to load pom.xml successfully.

hlship21:10:14

Renaming pom.clj to pom-template.edn appears to fix this; now I just have to make the rest of the team accept the change.

cfleming00:10:57

I can’t find or remember anything in Cursive that treats that file specially.

cfleming00:10:05

Looking at the stacktrace, it actually looks like the Maven support is picking it up for some reason.