Repository activity
40458 results across all weeks
contributing: mention possibility to RFC; flatter alt contrib list
The contributing guidelines do not mention the RFCs. It should.
Raphaël Proust (@raphael-proust)deprecate Weak.get_copy
Weak.get_copy would perform a shallow copy of the weak key (when alive) to avoid extending its lifetime. This is both a performance footgun and something that plays badly with other language features (mutation, single-use assumptions on continuations (#14988), etc.).
Gabriel Scherer (@gasche)link-time linking
EDIT: changed the description to better reflect the current state of the PR. I will also post the new description as a comment for anyone following via emails (afaict, editsdon't trigger email notifications).
Raphaël Proust (@raphael-proust)merge `flexdll` within the compiler repository
At the maintainer meeting yesterday, @dra27 proposed merging flexdll within the compiler repository, rather than having it as a submodule. (Personal note: the usability of submodules is horrible, I have never been happy when using them in a project.) There is the hope that this can allow a gradual simplification of the flexdll logic, de-emphasizing its role …
Gabriel Scherer (@gasche)ocamldebug: send full headers when requested.
Fixes #15012 by implementing (my interpretation of) @xavierleroy's suggestion.
Vincent Laviron (@lthls)ocamllex: remove generated output on fatal missing-case warning
When ocamllex is run with -w @missing-case, a non-exhaustive rule causes the command to exit with status 3.
cui fliter (@cuishuang)remove instructions for `opam custom-install`
opam custom-install doesn't work on recent opam. the issue has been reported 2 years ago: https://github.com/OCamlPro/opam-custom-install/issues/1, maybe it's time to stop advertising in HACKING doc.
Raphaël Proust (@raphael-proust)runtime: drop redundant memory-model fences around atomic RMWs on AArch64
caml_atomic_exchange/_cas/_fetch_add wrap a sequentially-consistent atomic
Sebastian Pop (@sebpop)runtime_events: write_to_ring loops forever when an event is longer than half the ring
(This issue was inadvertently created by Claude trying to be helpful, apologies. It might be a real issue, I am investigating)
Sadiq Jaffer (@sadiqj)testsuite/tests/afl-instrumentation always fails if AFL is installed but OCaml is not configured with --with-afl
Xavier Leroy (@xavierleroy)testsuite: skip AFL fuzz test without instrumentation
afl-fuzz-test.ml should run only for a compiler configured with AFL instrumentation.
akashchamptype propagation for chained higher-order function applications (pipelines)
I had a conversation with @gasche and here is the following simple example that very unfortunately doesn't work and is annoying (for seasoned ocamlers) / puzzling (for beginners) :
rr0giFeature request: support Go to Implementation on `mli` files
#233 added a nice toggle between ml and mli files. It would be even nicer to support "Go to Implementation" (LSP spec) on types defined in mli files and jump to their counterparts in ml files.
Tianyi Song (@tysg)Make odoc references in documentation comments navigable
Fixes #436.
opale (@N1ark)Wrong documentation for operators in completions (`completionItem/resolve`)
When bringing up the documentation on completions, I get the module documentation instead of the documentation for operators. In this screenshot, we get the docs for the stdlib module instead of the expected docs for the ( * ) operator.
arvidjfeat(semantic-highlighting): classify built-in types
Predeclared OCaml types are currently indistinguishable from user-defined types in semantic highlighting.
Rudi Grinberg (@rgrinberg)feat(semantic-highlighting): classify function parameters
Function parameters are currently highlighted as ordinary variables, and labeled and optional arguments lose their syntactic distinction.
Rudi Grinberg (@rgrinberg)feat(server): link extracted names with placeholders
Let users choose the generated name interactively after Extract local or Extract function. The new declaration and replacement reference share a snippet placeholder, so editing either updates both; the default names remain var_name and fun_name.
Rudi Grinberg (@rgrinberg)feat(server): make destruct bodies interactive
Make the generated branch bodies from destruct and destruct-line independently editable snippet placeholders, so users can navigate between them without moving through pattern wildcards.
Rudi Grinberg (@rgrinberg)feat(server): offer constructor application completions
Adds optional Ctor (call) completions for OCaml constructors with payloads. Ordinary name-only entries remain available and appear before the application variants, with complete lists and name-based filtering.
Rudi Grinberg (@rgrinberg)