Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W36.2026 · 31 Aug – 6 Sepocsigen/js_of_ocaml

Fixes

  • The JS printer emits a non-breaking space after static in all four class-element positions (method, field, accessor, static block) instead of a breakable space. Previously every static class element was split across two lines in compact output, causing JavaScriptCore 17 (Safari 17) to misparse the class body and leave MlInt64.UNSIGNED_MAX undefined. #2421 (opened 2026-09-06; merged 2026-09-08, after this interval).

  • The fix affects any generated bundle that links runtime/js/int64.js and is consumed by Safari 13.4–17.x, the range listed in ECMASCRIPT.md. Safari 18.5 and Node parse the old output correctly; the issue is a JavaScriptCore 17 bug, not a spec violation. #2420 (opened 2026-09-06, closed 2026-09-08).

Compatibility and Releases

  • In pretty-print mode a static method that previously wrapped to a second line now stays on one line; the parser-printer round-trip test was updated to match. No other pretty-mode output changes. #2421.