clr 2023-04-23

ClojureCLR 1.12.0-alpha6 released. Dependencies on libs updated -- should get rid of one annoying "redefining function" warning. Fixes/enhancements: https://clojure.atlassian.net/jira/software/c/projects/CLJCLR/issues/CLJCLR-133 -- semantics of as-file differs from ClojureJVM (split into as-file-info and as-dir-info depending on whether you want to get back a System.IO.FileInfo or a System.IO.DirectoryInfo) https://clojure.atlassian.net/jira/software/c/projects/CLJCLR/issues/CLJCLR-144 - incorrect application of type-args on reflected generic method call https://clojure.atlassian.net/jira/software/c/projects/CLJCLR/issues/CLJCLR-145 -- (symbol :key) failing https://clojure.atlassian.net/jira/software/c/projects/CLJCLR/issues/CLJCLR-147 -- :file metadata has complete path, does not match JVM https://clojure.atlassian.net/jira/software/c/projects/CLJCLR/issues/CLJCLR-148 -- return tags on functions have incomplete symbols names (e.g., Stringhttps://clojure.atlassian.net/jira/software/c/projects/CLJCLR/issues/CLJCLR-149`System.String`) https://clojure.atlassian.net/jira/software/c/projects/CLJCLR/issues/CLJCLR-149 -- clojure.string/split and clojure.string/split-lines should not return trailing empty strings https://clojure.atlassian.net/jira/software/c/projects/CLJCLR/issues/CLJCLR-150 -- the format function prints True/False for booleans instead of true/false https://clojure.atlassian.net/jira/software/c/projects/CLJCLR/issues/CLJCLR-152 -- fix reflection warnings in clojure/repl.clj

👍 4
🚀 3
😃 3

ClojureCLR 1.12.0-alpha7 released into the wild. THis update has just the io fixes detailed above.

1

in the Coercions protocol, as-dir is tagged as http://System.IO.DirInfo, rather than http://System.IO.DirectoryInfo

also, concatenate-path-segments uses Path/Join, which doesn't exist in .NETFramework

I noted I used Path/Join in another library and caught it in time. Needs to be Path/Combine. Sigh. Why they had to introduce yet another variation on the theme when I can't keep track of what there is. I also got warned about DirInfo, again in other libraries. Why no warning? I cannot say. I have to go back through all the libs on the chain. I'll crank it out as soon as I can. (At the Conj, so my day is a little busy tomorrow. Also, just so love doing all the work on my laptop.) Thanks for catching it.

No worries! Sorry I just got around to upgrading. Thanks as always for your work!

I was thinking of the wrong library. Just ClojureCLR 1.12.0-alpha6, yes?

Thank you, and thanks for the list, I have a couple of workarounds to remove. 🙂