## MLton 20241230

# Bugs20180207

Here are the known bugs in MLton 20180207, listed in reverse chronological order of date reported.

- Bug in `CML.sync` with multiple enabled events.

  Thanks to James Cooper for the bug report.

  Fixed by commit `0de07d039`.

- Bug in SimplifyTypes SSA optimization pass.

  Fixed by commit `ef0f05961`.

- Bugs in `MLton.size` and `MLton.share`; calling `MLton.size` or `MLton.share` with a non-pointer variant of an object type that could be represented by either a pointer or a non-pointer (e.g., the `NONE` variant of an `int list option`) would segfault.

  Fixed by commit `31689bc27`.

- Latent bug in `MLton.GC.collect`; an explicit `MLton.GC.collect` call was passed `0` bytes requested rather than the bytes required by the return block(s).

  Fixed by commit `1f4daa14d`.