ClojureCLR 1.11.0-flybot4 (net462)
Pre-release
Pre-release
·
6 commits
to maint-1.11.x
since this release
Fixes
- #32
file-modeopens a
plain write withFileMode/Createand:appendwithFileMode/Append
instead ofFileMode/OpenOrCreatefor every write, sospitandwriter
truncate the file they overwrite and:appendappends, like JVM Clojure,
instead of writing at position 0 and dropping the option - #37
fp-strformats
Double and Single with"R"and the invariant culture instead ofstr, 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 matchedulonglocal instead of unboxing theUInt64box as
Int64, which the CLR rejects, so(long x)and(int x)on a boxed
UInt64convert instead of throwingInvalidCastException
Backports
Stack frame printing (#40)
- CLJCLR-162
(fffa5e35)
print-methodandStackTraceElement->vecread the declaring type of the
frame's method, through a newstack-frame-info, instead of(.GetType o),
which is alwaysSystem.Diagnostics.StackFrame, so a printed frame and every
Throwable->map:atand:traceentry name the code that ran - CLJCLR-183
(30047284) A frame
whose method reports no declaring type prints<Unknown type>instead of
throwingNullReferenceException