clr

dmiller 2023-04-23T17:46:16.325489Z

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
dmiller 2023-04-28T12:12:14.352139Z

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

1
elena.poot 2023-04-28T01:42:23.682449Z

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

elena.poot 2023-04-28T01:43:06.777039Z

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

dmiller 2023-04-28T02:09:36.612409Z

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.

elena.poot 2023-04-28T02:11:01.355639Z

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

dmiller 2023-04-28T02:22:42.487669Z

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

elena.poot 2023-04-28T02:23:00.827159Z

yes

elena.poot 2023-04-23T21:13:42.798539Z

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