Hi, I am trying to get the clr version of clojure.core.async to load. But for some reason it fails on importing the clr analyzer. It fails with "Syntax error macroexpanding at (clojure.tools.analyzer.clr.clj:460:4)."
And as explaination of the failure that: "Unable to cast object of type 'clojure.lang.PersistentVector' to type 'clojure.lang.ISeq'."
I am using clojure 1.11 and the analyzer version 1.2.4
Any ideas?
More or less clean environment (I start prepl and interact through prepl) and then a (require 'clojure....analyzer.clr).
(First tries where to require core aync, but the error happens also by only requiring the analyzer and nothing else...)
this is done in the scope of a C# console project?
No windows app. I am trying now with separat econsole app, but I am stuck on errors xxx.clj.dll not found. While nuget installs xxx.dll. So I am not even getting so far with the console app.
Btw, other nuget clojure pacakages do load fine (like core.alpha.spec and priority-map)
And .net is framework 4.7.2
Hi! Where did you get your copy of tools analyzer? Are you working with a git checkout or from packaged clj files (nuget / maven / clojars) ?
I tried to make it reproducable. And was able to do so with: (a) download Clojure-1.11 zip for .net 4.62 (b) download the analyzer and it's dependencies as jar files from maven (c) unpack the jars and copy by hand the clojure directory to the unzip of (a). Start Main and do require of ananlyzer.clr. Get the error
I got it from nuget (it is an embedded clojure, so just using visual studio to add the prerequisite)
I'll be able to take a look later today.
Can you tell me what invocation caused the error?