Repository activity
40458 results across all weeks
feat(server): offer whole-call completions
Offer secondary whole-call completions for OCaml functions with at least two labelled or optional arguments. Positional arguments do not count toward that threshold, but all arguments receive independent placeholders in declaration order.
Rudi Grinberg (@rgrinberg)feat(server): support go to implementation for interface types
Support textDocument/implementation on type-declaration names in interfaces. Resolve nested modules and named, generative, or curried functor results, following includes and aliases through Merlin's typed environment and shape-backed locator.
Rudi Grinberg (@rgrinberg)fix(code-actions): skip inapplicable inline edit construction
Check inline applicability before constructing replacement edits. Return no action for bindings without recognized inline uses, or a disabled action when all recognized uses are blocked by shadowing.
Rudi Grinberg (@rgrinberg)fix(inline): reduce partial applications of unlabelled functions
Reduce partial applications in Inline into uses, keeping a function for the remaining parameters instead of a redundant application such as (fun x y -> x + y) x.
Rudi Grinberg (@rgrinberg)fix(lsp): normalize encoded URI components
Normalize common equivalent URI spellings at construction, so comparison, equality, hashing, and serialization use the same normalized components—not an original wire string or a separate comparison key.
Rudi Grinberg (@rgrinberg)fix(semantic-highlighting): avoid overlapping with-type tokens
Fix the overlapping semantic tokens reproduced in #2205 for with type equations and destructive substitutions, including qualified names.
Rudi Grinberg (@rgrinberg)flake.lock: Update
Automated changes by the update-flake-lock GitHub Action.
github-actionsflake.lock: Update
Automated changes by the update-flake-lock GitHub Action.
github-actionstest(completion): reproduce missing record-field deprecation
Add a test-only reproduction of missing deprecation flags on record-field completions, covering field access, record construction, and construction inside a function application with both legacy deprecatedSupport and modern tagSupport.
Rudi Grinberg (@rgrinberg)test(diagnostics): expect cleared errors after Dune builds
Update the Dune diagnostics regression to expect no stale errors after a successful build. Merlin 5.8.1 fixed per-typer load-path invalidation in ocaml/merlin#2109, but the snapshot from #1854 still recorded the bug.
Rudi Grinberg (@rgrinberg)test(implementation): cover interface lookup contracts
Add cursor-marked textDocument/implementation fixtures ahead of #2074, snapshotting the unsupported response on master.
Rudi Grinberg (@rgrinberg)test(inline): cover annotated mutable arguments and object self
Complements #2213 with two focused Inline into uses cases:
Rudi Grinberg (@rgrinberg)test(inline): cover partial application of mutable instance variables
Extends #2209 with a partial application whose argument is a mutable instance variable. The callback must retain the value read at creation, even if the instance variable changes before invocation.
Rudi Grinberg (@rgrinberg)test(inline): cover partial-application scope and evaluation
Extends #2208 with coverage for partially applied functions through eager and resolved Inline into uses actions. The snapshots deliberately retain today's redundant applications so this coverage can land before any reduction change.
Rudi Grinberg (@rgrinberg)test(inline): reproduce redundant parameter in partial applications
Inlining function_case self in a callback position retains a redundant parameter and application:
Rudi Grinberg (@rgrinberg)test(semantic-highlighting): reproduce overlapping with-type tokens
Reproduce overlapping semantic tokens in with type equations and destructive substitutions, covering parameterized types and qualified names such as M.t.
Rudi Grinberg (@rgrinberg)test: cover URI escaping and operator documentation
Add baseline coverage on master for URI query separators, escaped query values, position fragments, and operator cross-reference labels, independently of #2139.
Rudi Grinberg (@rgrinberg)Doc-page render downloads full odoc search index for a digest → OOM (awso 371 MB index)
Summary
Cuihtlauac Alvarado (@cuihtlauac)Optional dependencies for packages
For example, the bytesrw package has plenty of optional dependencies: https://opam.ocaml.org/packages/bytesrw/bytesrw.0.4.0/.
Simmo Saan (@sim642)[scrape] New OCaml Planet posts
New blog posts:
github-actions