<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="AsciiDoc 9.0.0rc1">
<title>Bugs20180207</title>
<link rel="stylesheet" href="./asciidoc.css" type="text/css">
<link rel="stylesheet" href="./pygments.css" type="text/css">


<script type="text/javascript" src="./asciidoc.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
asciidoc.install();
/*]]>*/
</script>
<link rel="stylesheet" href="./mlton.css" type="text/css">
</head>
<body class="article">
<div id="banner">
<div id="banner-home">
<a href="./Home">MLton 20210117</a>
</div>
</div>
<div id="header">
<h1>Bugs20180207</h1>
</div>
<div id="content">
<div id="preamble">
<div class="sectionbody">
<div class="paragraph"><p>Here are the known bugs in <a href="Release20180207">MLton 20180207</a>, listed
in reverse chronological order of date reported.</p></div>
<div class="ulist"><ul>
<li>
<p>
<a id="bug04"></a>
Bug in <span class="monospaced">CML.sync</span> with multiple enabled events.
</p>
<div class="paragraph"><p>Thanks to James Cooper for the bug report.</p></div>
<div class="paragraph"><p>Fixed by commit <a href="https://github.com/MLton/mlton/commit/0de07d039"><span class="monospaced">0de07d039</span></a>.</p></div>
</li>
<li>
<p>
<a id="bug03"></a>
Bug in <a href="SimplifyTypes">SimplifyTypes</a> <a href="SSA">SSA</a> optimization pass.
</p>
<div class="paragraph"><p>Fixed by commit <a href="https://github.com/MLton/mlton/commit/ef0f05961"><span class="monospaced">ef0f05961</span></a>.</p></div>
</li>
<li>
<p>
<a id="bug02"></a>
Bugs in <span class="monospaced">MLton.size</span> and <span class="monospaced">MLton.share</span>; calling <span class="monospaced">MLton.size</span> or <span class="monospaced">MLton.share</span>
with a non-pointer variant of an object type that could be represented by either
a pointer or a non-pointer (e.g., the <span class="monospaced">NONE</span> variant of an <span class="monospaced">int list option</span>)
would segfault.
</p>
<div class="paragraph"><p>Fixed by commit <a href="https://github.com/MLton/mlton/commit/31689bc27"><span class="monospaced">31689bc27</span></a>.</p></div>
</li>
<li>
<p>
<a id="bug01"></a>
Latent bug in <span class="monospaced">MLton.GC.collect</span>; an explicit <span class="monospaced">MLton.GC.collect</span> call was passed
<span class="monospaced">0</span> bytes requested rather than the bytes required by the return block(s).
</p>
<div class="paragraph"><p>Fixed by commit <a href="https://github.com/MLton/mlton/commit/1f4daa14d"><span class="monospaced">1f4daa14d</span></a>.</p></div>
</li>
</ul></div>
</div>
</div>
</div>
<div id="footnotes"><hr></div>
<div id="footer">
<div id="footer-text">
</div>
<div id="footer-badges">
</div>
</div>
</body>
</html>
