Thicket thicket
ocaml
REPOS 27

W09.2025 · 24 Feb – 2 MarAll

OCaml PR #13820 adds a -print-variance compiler flag and Asttypes.Bivariant for bivariant parameter rendering. Merged ocaml-lsp PR #1487 extends documentSymbol to include classes and methods in the editor outline, and merged Merlin PR #1885 corrects file-path alignment for reliable stale-occurrence detection.

Features

OCaml (PR #13820): Adds -print-variance compiler flag and Asttypes.Bivariant; bivariant parameters render as +-. Parser accepts the new syntax. Link

ocaml-lsp (PR #1487): documentSymbol now includes classes, class types, and methods in the editor outline. Merged 2025-02-28. Link

OCaml RFC 52: Open proposal for a [%call_pos] annotation that auto-fills a Lexing.position parameter with the call-site location. Syntax and semantics under active discussion. Link

Fixes

Merlin (PR #1885): Corrects file-path alignment so stale occurrences are detected reliably across repository layouts. Merged 2025-02-28. Link

odoc (PR #1306): odoc html-fragment now emits correct <h1> headings for {0:...} blocks. Merged 2025-02-25. Link

odoc (PR #1310): Fixes broken documentation generation when multiple archives share module names. Merged 2025-02-25. Link

odoc (PR #1319): Suppresses warnings emitted during implementation linking that cannot be resolved by the user. Merged 2025-02-28. Link

js_of_ocaml (issue #1847): .. for a direct child of / resolved to itself instead of /. Closed within the interval. Link

reactiveData (PR #35): Reactive thead elements stopped updating after DOM inspection; fixed. An opam update is open. Link

ocaml-lsp (issue #1489): codeActions enters an infinite loop on Petrol Query/Expr buffers, pinning CPU at 100%. Disabling the VS Code lightbulb is a workaround. Link

Eio (issue #798): Eio.Path.load returns an empty string for /proc files reporting zero size in stat. A fallback-to-EOF fix is proposed but not merged. Link

Merlin / Dune (issue #1900): Module -open flags in Dune-generated Merlin config were emitted in the wrong order, causing false editor errors. Fix proposed in #11503. Link