| 1 |
= Bugs20051202 |
| 2 |
|
| 3 |
Here are the known bugs in <<Release20051202#,MLton 20051202>>, listed |
| 4 |
in reverse chronological order of date reported. |
| 5 |
|
| 6 |
* [[bug16]] |
| 7 |
Bug in the https://smlfamily.github.io/Basis/real.html#SIG:REAL.fmt:VAL[``Real__<N>__.fmt``], https://smlfamily.github.io/Basis/real.html#SIG:REAL.fromString:VAL[``Real__<N>__.fromString``], https://smlfamily.github.io/Basis/real.html#SIG:REAL.scan:VAL[``Real__<N>__.scan``], and https://smlfamily.github.io/Basis/real.html#SIG:REAL.toString:VAL[``Real__<N>__.toString``] functions of the <<BasisLibrary#,Basis Library>> implementation. These functions were using `TO_NEAREST` semantics, but should obey the current rounding mode. (Only ``Real__<N>__.fmt StringCvt.EXACT``, ``Real__<N>__.fromDecimal``, and ``Real__<N>__.toDecimal`` are specified to override the current rounding mode with `TO_NEAREST` semantics.) |
| 8 |
+ |
| 9 |
Thanks to Sean McLaughlin for the bug report. |
| 10 |
+ |
| 11 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r5827&type=commits[`r5827`]. |
| 12 |
|
| 13 |
* [[bug15]] |
| 14 |
Bug in the treatment of floating-point operations. Floating-point operations depend on the current rounding mode, but were being treated as pure. |
| 15 |
+ |
| 16 |
Thanks to Sean McLaughlin for the bug report. |
| 17 |
+ |
| 18 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r5794&type=commits[`r5794`]. |
| 19 |
|
| 20 |
* [[bug14]] |
| 21 |
Bug in the https://smlfamily.github.io/Basis/real.html#SIG:REAL.toInt:VAL[``Real32.toInt``] function of the <<BasisLibrary#,Basis Library>> implementation could lead incorrect results when applied to a `Real32.real` value numerically close to `valOf(Int.maxInt)`. |
| 22 |
+ |
| 23 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r5764&type=commits[`r5764`]. |
| 24 |
|
| 25 |
* [[bug13]] |
| 26 |
The https://smlfamily.github.io/Basis/socket.html[``Socket``] structure of the <<BasisLibrary#,Basis Library>> implementation used `andb` rather than `orb` to unmarshal socket options (for ``Socket.Ctl.get__<OPT>__`` functions). |
| 27 |
+ |
| 28 |
Thanks to Anders Petersson for the bug report and patch. |
| 29 |
+ |
| 30 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r5735&type=commits[`r5735`]. |
| 31 |
|
| 32 |
* [[bug12]] |
| 33 |
Bug in the https://smlfamily.github.io/Basis/date.html[``Date``] structure of the <<BasisLibrary#,Basis Library>> implementation yielded some functions that would erroneously raise `Date` when applied to a year before 1900. |
| 34 |
+ |
| 35 |
Thanks to Joe Hurd for the bug report. |
| 36 |
+ |
| 37 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r5732&type=commits[`r5732`]. |
| 38 |
|
| 39 |
* [[bug11]] |
| 40 |
Bug in monomorphisation pass could exhibit the error `Type error: type mismatch`. |
| 41 |
+ |
| 42 |
Thanks to Vesa Karvonen for the bug report. |
| 43 |
+ |
| 44 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r5731&type=commits[`r5731`]. |
| 45 |
|
| 46 |
* [[bug10]] |
| 47 |
The https://smlfamily.github.io/Basis/pack-float.html#SIG:PACK_REAL.toBytes:VAL[``PackReal__<N>__.toBytes``] function in the <<BasisLibrary#,Basis Library>> implementation incorrectly shared (and mutated) the result vector. |
| 48 |
+ |
| 49 |
Thanks to Eric McCorkle for the bug report and patch. |
| 50 |
+ |
| 51 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r5281&type=commits[`r5281`]. |
| 52 |
|
| 53 |
* [[bug09]] |
| 54 |
Bug in elaboration of FFI forms. Using a unary FFI types (e.g., `array`, `ref`, `vector`) in places where `MLton.Pointer.t` was required would lead to an internal error `TypeError`. |
| 55 |
+ |
| 56 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r4890&type=commits[`r4890`]. |
| 57 |
|
| 58 |
* [[bug08]] |
| 59 |
The https://smlfamily.github.io/Basis/mono-vector.html[``MONO_VECTOR``] signature of the <<BasisLibrary#,Basis Library>> implementation incorrectly omits the specification of `find`. |
| 60 |
+ |
| 61 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r4707&type=commits[`r4707`]. |
| 62 |
|
| 63 |
* [[bug07]] |
| 64 |
The optimizer reports an internal error (`TypeError`) when an imported C function is called but not used. |
| 65 |
+ |
| 66 |
Thanks to "jq" for the bug report. |
| 67 |
+ |
| 68 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r4690&type=commits[`r4690`]. |
| 69 |
|
| 70 |
* [[bug06]] |
| 71 |
Bug in pass to flatten data structures. |
| 72 |
+ |
| 73 |
Thanks to Joe Hurd for the bug report. |
| 74 |
+ |
| 75 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r4662&type=commits[`r4662`]. |
| 76 |
|
| 77 |
* [[bug05]] |
| 78 |
The native codegen's implementation of the C-calling convention failed to widen 16-bit arguments to 32-bits. |
| 79 |
+ |
| 80 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r4631&type=commits[`r4631`]. |
| 81 |
|
| 82 |
* [[bug04]] |
| 83 |
The https://smlfamily.github.io/Basis/pack-float.html[``PACK_REAL``] structures of the <<BasisLibrary#,Basis Library>> implementation used byte, rather than element, indexing. |
| 84 |
+ |
| 85 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r4411&type=commits[`r4411`]. |
| 86 |
|
| 87 |
* [[bug03]] |
| 88 |
`MLton.share` could cause a segmentation fault. |
| 89 |
+ |
| 90 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r4400&type=commits[`r4400`]. |
| 91 |
|
| 92 |
* [[bug02]] |
| 93 |
The SSA simplifier could eliminate an irredundant test. |
| 94 |
+ |
| 95 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r4370&type=commits[`r4370`]. |
| 96 |
|
| 97 |
* [[bug01]] |
| 98 |
A program with a very large number of functors could exhibit the error `ElaborateEnv.functorClosure: firstTycons`. |
| 99 |
+ |
| 100 |
Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r4344&type=commits[`r4344`]. |