Skip to content

ClojureCLR 1.11.0-flybot4 (net462)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Sep 02:38
· 6 commits to maint-1.11.x since this release
clojure-1.11.0-flybot4

Fixes

  • #32 file-mode opens a
    plain write with FileMode/Create and :append with FileMode/Append
    instead of FileMode/OpenOrCreate for every write, so spit and writer
    truncate the file they overwrite and :append appends, like JVM Clojure,
    instead of writing at position 0 and dropping the option
  • #37 fp-str formats
    Double and Single with "R" and the invariant culture instead of str, so
    on .NET Framework and Mono, where the default format emits 15 significant
    digits, a printed double reads back equal instead of losing its last digits
  • #33 RT.longCast(object)
    converts the matched ulong local instead of unboxing the UInt64 box as
    Int64, which the CLR rejects, so (long x) and (int x) on a boxed
    UInt64 convert instead of throwing InvalidCastException

Backports

Stack frame printing (#40)

  • CLJCLR-162
    (fffa5e35)
    print-method and StackTraceElement->vec read the declaring type of the
    frame's method, through a new stack-frame-info, instead of (.GetType o),
    which is always System.Diagnostics.StackFrame, so a printed frame and every
    Throwable->map :at and :trace entry name the code that ran
  • CLJCLR-183
    (30047284) A frame
    whose method reports no declaring type prints <Unknown type> instead of
    throwing NullReferenceException